Soporte » Plugins y Hacks » WooCommerce » PHP Fatal error

  • Hola!

    Hoy tuve un error en la página, un 500 Internal Sever error.
    Fui al error.log y veo que es un problema de Woocomerce. ¿Qué puedo hacer?
    Les dejo el error y el strack:

    [08-Jul-2021 15:30:24 UTC] PHP Warning:  include(): Failed opening '/home/perfume1/public_html/perfumeslujosos.com/wp-content/plugins/wordpress-seo/vendor/composer/../../inc/class-wpseo-replace-vars.php' for inclusion (include_path='.:/opt/alt/php74/usr/share/pear') in /home/perfume1/public_html/perfumeslujosos.com/wp-content/plugins/wordpress-seo-premium/vendor/composer/ClassLoader.php on line 478
    [08-Jul-2021 15:30:25 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, class 'WPSEO_Replace_Vars' not found in /home/perfume1/public_html/perfumeslujosos.com/wp-includes/class-wp-hook.php on line 292
    [08-Jul-2021 15:30:37 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function get_the_terms() in /home/perfume1/public_html/perfumeslujosos.com/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php:1740
    Stack trace:
    #0 /home/perfume1/public_html/perfumeslujosos.com/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(207): WC_Product_Data_Store_CPT->get_product_type(4965)
    #1 /home/perfume1/public_html/perfumeslujosos.com/wp-content/plugins/woocommerce/includes/class-wc-product-factory.php(81): WC_Data_Store->__call('get_product_typ...', Array)
    #2 /home/perfume1/public_html/perfumeslujosos.com/wp-content/plugins/woocommerce/includes/class-wc-product-factory.php(32): WC_Product_Factory::get_product_type(4965)
    #3 /home/perfume1/public_html/perfumeslujosos.com/wp-content/plugins/woocommerce/includes/wc-product-functions.php(70): WC_Product_Factory->get_product(4965, Array)
    #4 /home/perfume1/public_html/perfumeslujosos.com/wp-content/plugins/woocommerce/includes/class-wc-cart-session.php(112): wc_get_pro in /home/perfume1/public_html/perfumeslujosos.com/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php on line 1740

    La página con la que necesito ayuda: [accede para ver el enlace]

Viendo 1 respuesta (de un total de 1)
  • Iniciador del debate Sol Aveiro

    (@soarveca)

    Uppss, ahí arriba hay dos advertencias que se me fueron al copiar, dejo de nuevo:

    [08-Jul-2021 15:30:37 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function get_the_terms() in /home/perfume1/public_html/perfumeslujosos.com/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php:1740
    Stack trace:
    #0 /home/perfume1/public_html/perfumeslujosos.com/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(207): WC_Product_Data_Store_CPT->get_product_type(4965)
    #1 /home/perfume1/public_html/perfumeslujosos.com/wp-content/plugins/woocommerce/includes/class-wc-product-factory.php(81): WC_Data_Store->__call('get_product_typ...', Array)
    #2 /home/perfume1/public_html/perfumeslujosos.com/wp-content/plugins/woocommerce/includes/class-wc-product-factory.php(32): WC_Product_Factory::get_product_type(4965)
    #3 /home/perfume1/public_html/perfumeslujosos.com/wp-content/plugins/woocommerce/includes/wc-product-functions.php(70): WC_Product_Factory->get_product(4965, Array)
    #4 /home/perfume1/public_html/perfumeslujosos.com/wp-content/plugins/woocommerce/includes/class-wc-cart-session.php(112): wc_get_pro in /home/perfume1/public_html/perfumeslujosos.com/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php on line 1740

    Muchas gracias dé antemano!

Viendo 1 respuesta (de un total de 1)
  • Debes estar registrado para responder a este debate.