Back MUY lento
-
Buenos días,
Escribo en este foro porque llevo unos días notando que mi web funciona muy muy lenta en el back, sobretodo en lo que a woocommerce concierne. Si intento cargar la parte de pedidos, puede tardar incluso más de un minuto en buscar un pedido. Al cargar productos, la página llega a sobrecargarse y hay que parar la tarea.
He contactado con el soporte de mi servidor y lo único que me dicen es que puede deberse a estos registros que se repiten constantemente:
Sinceramente no sé cómo solucionar ninguno de los dos errores. El fragmento de código del segundo error es el siguiente:
<div class="cont-precio-relacionado"> <?php // Check if in stock and not only show if ( $product->is_in_stock() && ( $onlyShowProduct == 'no' || $onlyShowProduct == '' || $onlyShowProduct === 0 || $onlyShowProduct === 'off' ) ) { // Price without discount $regularPrice = apply_filters( 'formatted_woocommerce_price', number_format($product->get_regular_price(), wc_get_price_decimals(), wc_get_price_decimal_separator(), wc_get_price_thousand_separator() ), $product->get_regular_price(), wc_get_price_decimals(), wc_get_price_decimal_separator(), wc_get_price_thousand_separator() ); $regularPrice = $regularPrice . get_woocommerce_currency_symbol(); // Actual price ( could have discout ) $actualPrice = apply_filters( 'formatted_woocommerce_price', number_format($product->get_regular_price(), wc_get_price_decimals(), wc_get_price_decimal_separator(), wc_get_price_thousand_separator() ), $product->get_price(), wc_get_price_decimals(), wc_get_price_decimal_separator(), wc_get_price_thousand_separator() ); $actualPrice = $actualPrice . get_woocommerce_currency_symbol(); // Check if product is simple if ( $product->is_type( 'simple' ) ) { // Check if prices are the same if ( $product->get_regular_price() == $product->get_price() ) { ?>
He de decir que nuestro tema se trata de una plantilla personalizada y esto nos suele provocar numerosos problemas.
Si alguien puede ayudarme estaría muy agradecida.
Gracias
- El debate ‘Back MUY lento’ está cerrado a nuevas respuestas.