• Resolved fdomingo

    (@fdomingo)


    Dear all,

    I am getting an error 500 on the staging site. I already debug and it shows me the following information:

    Warning: Declaration of WC_Product_Bundle::get_price() should be compatible with WC_Product::get_price($context = ‘view’) in /mnt/web302/d1/45/58603545/htdocs/WordPress_SecureMode_04/novotesting/wp-content/plugins/woocommerce-product-bundles/includes/class-wc-product-bundle.php on line 0 Warning: Declaration of WC_Product_Bundle::get_regular_price() should be compatible with WC_Product::get_regular_price($context = ‘view’) in /mnt/web302/d1/45/58603545/htdocs/WordPress_SecureMode_04/novotesting/wp-content/plugins/woocommerce-product-bundles/includes/class-wc-product-bundle.php on line 0 Warning: Declaration of WC_Product_Bundle::get_sale_price() should be compatible with WC_Product::get_sale_price($context = ‘view’) in /mnt/web302/d1/45/58603545/htdocs/WordPress_SecureMode_04/novotesting/wp-content/plugins/woocommerce-product-bundles/includes/class-wc-product-bundle.php on line 0 Warning: Declaration of WC_Product_Bundle::is_on_sale() should be compatible with WC_Product::is_on_sale($context = ‘view’) in /mnt/web302/d1/45/58603545/htdocs/WordPress_SecureMode_04/novotesting/wp-content/plugins/woocommerce-product-bundles/includes/class-wc-product-bundle.php on line 0 Notice: Undefined index: wp_db_temp_dir in /mnt/web302/d1/45/58603545/htdocs/WordPress_SecureMode_04/novotesting/wp-content/plugins/wp-db-backup/wp-db-backup.php on line 112 Fatal error: Uncaught WC_Data_Exception: Ungültige Rechnungs E-Mail-Adresse in /mnt/web302/d1/45/58603545/htdocs/WordPress_SecureMode_04/novotesting/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php:762 Stack trace: #0 /mnt/web302/d1/45/58603545/htdocs/WordPress_SecureMode_04/novotesting/wp-content/plugins/woocommerce/includes/class-wc-customer.php(962): WC_Data->error(‘customer_invali…’, ‘Ung\xC3\xBCltige Rech…’) #1 /mnt/web302/d1/45/58603545/htdocs/WordPress_SecureMode_04/novotesting/wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-data-store-session.php(113): WC_Customer->set_billing_email(‘kundenservice@n…’) #2 /mnt/web302/d1/45/58603545/htdocs/WordPress_SecureMode_04/novotesting/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(156): WC_Customer_Data_Store_Session->read(Object(WC_Customer)) #3 /mnt/web302/d1/45/58603545/htdocs/WordPress_SecureMode_04/novotesting/wp-content/plugins/woocommerce/includes/class-wc-customer.php(116): WC_Data_Store->read(Object in /mnt/web302/d1/45/58603545/htdocs/WordPress_SecureMode_04/novotesting/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php on line 762

    I really appreciate if you could help me to find the bug.

    Thank you in advance.
    Best regards
    Federico

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Rene Hermenau

    (@renehermi)

    Is that happening right after creating the staging site or after doing some changes on the staging site?

    These errors are located in woocommerce and woocommerce-product-bundles and are not thrown by wp staging.

    Is deactivating the plugins removing the error 500?

    Thread Starter fdomingo

    (@fdomingo)

    When trying to push the live site to staging I get that error.

    Yes, by deactivating woocommerce solves the error but I cannot find where the error comes from on the staging site. However, the live site works perfect.

    Plugin Author Rene Hermenau

    (@renehermi)

    That’s indeed strange. The staging site should be a 1:1 clone of the live site.
    Please send me details about your staging site to support [at] wp-staging.com and I debug that. There is a system log under wp staging > tools. That would be helpful

    Plugin Author Rene Hermenau

    (@renehermi)

    Hi,

    I’ve already wrote you via mail and resolved the issue for you. I am going to repeat my answer here to help other people with the same issue:

    The public facing error is created because you have enabled wordpress debug mode on the staging site. See: http://take.ms/cbtL6

    ​The same thing will happen with your live site if you enable debug mode there as well.

    ​When you fix the errors from the mentioned woocommerce plugins in the error description the overall error messages will be gone.

    ​I’ve disabled the wordpress debug mode on your staging site and you can access it now.

    ​Please change the debug mode to the following settings:
    https://wp-staging.com/docs/enable-wordpress-debug-log-mode/

    ​Doing it that way will not show the error publically, instead it will write the debug.log which helps you to fix the errors while you are still able to access the staging site.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘ERROR 500’ is closed to new replies.