• Resolved otlichnik73

    (@otlichnik73)


    I migrated my site to local install of WP (on LAMP) in order to play around with new themes. However, found that Woocommerce breaks the site (get white screen and “technical difficulties” message). (I discovered it by deactivating/activating all plugins)
    Anyone has an idea why Woocommerce would completely break it? Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You might look at your error logs to see if anything interesting is noted there.

    I’d also recommend asking for help over at the WooCommerce support system.

    https://www.ads-software.com/support/plugin/woocommerce/

    Thread Starter otlichnik73

    (@otlichnik73)

    Thanks! Where are the error logs exactly?

    Hi otlichnik73,

    Go to wp-config.php into the root directory of your WordPress setup and set WP_DEBUG as true like below, and see what exact errors are coming and then try to resolve them.

    
    define('WP_DEBUG', true);
    
    Thread Starter otlichnik73

    (@otlichnik73)

    Thanks! Now I get this message:

    Fatal error: Uncaught WC_Data_Exception: Invalid billing email address in /var/www/html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php:810 Stack trace: #0 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-customer.php(971): WC_Data->error('customer_invali...', 'Invalid billing...') #1 /var/www/html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-data-store-session.php(113): WC_Customer->set_billing_email('bekor@localhost') #2 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Customer_Data_Store_Session->read(Object(WC_Customer)) #3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-customer.php(116): WC_Data_Store->read(Object(WC_Customer)) #4 /var/www/html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(738): WC_Customer->__construct(4, true) #5 /var/www/html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(2267): WooCommerce->initialize_cart() #6 /var/www/html/wp-content/plugins/woocomme in /var/www/html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php on line 810
    
    The site is experiencing technical difficulties.

    debug.log:

    [28-Aug-2019 04:51:00 UTC] PHP Notice:  Undefined index: purge-lockouts in /var/www/html/wp-content/plugins/better-wp-security/core/lib/class-itsec-scheduler-cron.php on line 54
    [28-Aug-2019 04:51:00 UTC] PHP Notice:  Undefined index: clear-locks in /var/www/html/wp-content/plugins/better-wp-security/core/lib/class-itsec-scheduler-cron.php on line 54
    [28-Aug-2019 04:51:01 UTC] PHP Notice:  Undefined index: purge-log-entries in /var/www/html/wp-content/plugins/better-wp-security/core/lib/class-itsec-scheduler-cron.php on line 54
    [28-Aug-2019 04:51:04 UTC] PHP Notice:  map_meta_cap was called <strong>incorrectly</strong>. The post type scheduled-action is not registered, so it may not be reliable to check the capability "read_post" against a post of that type. Please see <a href="https://codex.www.ads-software.com/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 4.4.0.) in /var/www/html/wp-includes/functions.php on line 4773
    [28-Aug-2019 04:51:04 UTC] PHP Notice:  map_meta_cap was called <strong>incorrectly</strong>. The post type scheduled-action is not registered, so it may not be reliable to check the capability "read_post" against a post of that type. Please see <a href="https://codex.www.ads-software.com/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 4.4.0.) in /var/www/html/wp-includes/functions.php on line 4773
    [28-Aug-2019 04:51:04 UTC] PHP Notice:  map_meta_cap was called <strong>incorrectly</strong>. The post type scheduled-action is not registered, so it may not be reliable to check the capability "read_post" against a post of that type. Please see <a href="https://codex.www.ads-software.com/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 4.4.0.) in /var/www/html/wp-includes/functions.php on line 4773
    [28-Aug-2019 04:51:04 UTC] PHP Notice:  map_meta_cap was called <strong>incorrectly</strong>. The post type scheduled-action is not registered, so it may not be reliable to check the capability "read_post" against a post of that type. Please see <a href="https://codex.www.ads-software.com/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 4.4.0.) in /var/www/html/wp-includes/functions.php on line 4773
    [28-Aug-2019 04:51:04 UTC] PHP Notice:  map_meta_cap was called <strong>incorrectly</strong>. The post type scheduled-action is not registered, so it may not be reliable to check the capability "read_post" against a post of that type. Please see <a href="https://codex.www.ads-software.com/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 4.4.0.) in /var/www/html/wp-includes/functions.php on line 4773
    [28-Aug-2019 04:51:04 UTC] PHP Notice:  map_meta_cap was called <strong>incorrectly</strong>. The post type scheduled-action is not registered, so it may not be reliable to check the capability "edit_post" against a post of that type. Please see <a href="https://codex.www.ads-software.com/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 4.4.0.) in /var/www/html/wp-includes/functions.php on line 4773
    [28-Aug-2019 04:51:04 UTC] PHP Notice:  map_meta_cap was called <strong>incorrectly</strong>. The post type scheduled-action is not registered, so it may not be reliable to check the capability "edit_post" against a post of that type. Please see <a href="https://codex.www.ads-software.com/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 4.4.0.) in /var/www/html/wp-includes/functions.php on line 4773
    [28-Aug-2019 04:51:04 UTC] PHP Notice:  map_meta_cap was called <strong>incorrectly</strong>. The post type scheduled-action is not registered, so it may not be reliable to check the capability "edit_post" against a post of that type. Please see <a href="https://codex.www.ads-software.com/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 4.4.0.) in /var/www/html/wp-includes/functions.php on line 4773
    [28-Aug-2019 04:51:04 UTC] PHP Notice:  map_meta_cap was called <strong>incorrectly</strong>. The post type scheduled-action is not registered, so it may not be reliable to check the capability "edit_post" against a post of that type. Please see <a href="https://codex.www.ads-software.com/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 4.4.0.) in /var/www/html/wp-includes/functions.php on line 4773
    [28-Aug-2019 04:51:04 UTC] PHP Notice:  map_meta_cap was called <strong>incorrectly</strong>. The post type scheduled-action is not registered, so it may not be reliable to check the capability "edit_post" against a post of that type. Please see <a href="https://codex.www.ads-software.com/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 4.4.0.) in /var/www/html/wp-includes/functions.php on line 4773
    [28-Aug-2019 04:51:30 UTC] PHP Fatal error:  Uncaught WC_Data_Exception: Invalid billing email address in /var/www/html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php:810
    Stack trace:
    #0 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-customer.php(971): WC_Data->error('customer_invali...', 'Invalid billing...')
    #1 /var/www/html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-data-store-session.php(113): WC_Customer->set_billing_email('bekor@localhost')
    #2 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Customer_Data_Store_Session->read(Object(WC_Customer))
    #3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-customer.php(116): WC_Data_Store->read(Object(WC_Customer))
    #4 /var/www/html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(738): WC_Customer->__construct(4, true)
    #5 /var/www/html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(2267): WooCommerce->initialize_cart()
    #6 /var/www/html/wp-content/plugins/woocomme in /var/www/html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php on line 810
    [28-Aug-2019 04:51:31 UTC] PHP Notice:  Trying to get property 'option_name' of non-object in /var/www/html/wp-content/plugins/woocommerce/includes/abstracts/class-wc-background-process.php on line 74
    [28-Aug-2019 04:51:31 UTC] PHP Notice:  Trying to get property 'option_value' of non-object in /var/www/html/wp-content/plugins/woocommerce/includes/abstracts/class-wc-background-process.php on line 75
    [28-Aug-2019 04:51:35 UTC] PHP Fatal error:  Uncaught WC_Data_Exception: Invalid billing email address in /var/www/html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php:810
    Stack trace:
    #0 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-customer.php(971): WC_Data->error('customer_invali...', 'Invalid billing...')
    #1 /var/www/html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-data-store-session.php(113): WC_Customer->set_billing_email('bekor@localhost')
    #2 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Customer_Data_Store_Session->read(Object(WC_Customer))
    #3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-customer.php(116): WC_Data_Store->read(Object(WC_Customer))
    #4 /var/www/html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(738): WC_Customer->__construct(4, true)
    #5 /var/www/html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(2267): WooCommerce->initialize_cart()
    #6 /var/www/html/wp-content/plugins/woocomme in /var/www/html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php on line 810
    [28-Aug-2019 04:52:31 UTC] PHP Fatal error:  Uncaught WC_Data_Exception: Invalid billing email address in /var/www/html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php:810
    Stack trace:
    #0 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-customer.php(971): WC_Data->error('customer_invali...', 'Invalid billing...')
    #1 /var/www/html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-data-store-session.php(113): WC_Customer->set_billing_email('bekor@localhost')
    #2 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Customer_Data_Store_Session->read(Object(WC_Customer))
    #3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-customer.php(116): WC_Data_Store->read(Object(WC_Customer))
    #4 /var/www/html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(738): WC_Customer->__construct(4, true)
    #5 /var/www/html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(2267): WooCommerce->initialize_cart()
    #6 /var/www/html/wp-content/plugins/woocomme in /var/www/html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php on line 810
    Moderator James Huff

    (@macmanx)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Woocommerce breaks local install’ is closed to new replies.