Support » Localhost Installs » [FATAL ERROR] moving live site to local server

  • Hello,

    I am trying to move my live site to a localhost server for testing purposes, when initiating the move I encounter a 505 error which I have set WP_DEBUG to true in the wp-config.php file to see what error messages I am facing, I have deactivated all plugins on the site and when activating each plugin one by one I now get a fatal error when activation WooCommerce, the error I get on screen is pasted below.

    Fatal error: Uncaught WC_Data_Exception: Invalid billing email address in /Applications/MAMP/htdocs/wordpress/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php:745 Stack trace: #0 /Applications/MAMP/htdocs/wordpress/wp-content/plugins/woocommerce/includes/class-wc-customer.php(983): WC_Data->error(‘customer_invali…’, ‘Invalid billing…’) #1 /Applications/MAMP/htdocs/wordpress/wp-content/plugins/woocommerce/includes/data-stores/class-wc-customer-data-store-session.php(100): WC_Customer->set_billing_email(‘nfo@localhost’) #2 /Applications/MAMP/htdocs/wordpress/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(147): WC_Customer_Data_Store_Session->read(Object(WC_Customer)) #3 /Applications/MAMP/htdocs/wordpress/wp-content/plugins/woocommerce/includes/class-wc-customer.php(117): WC_Data_Store->read(Object(WC_Customer)) #4 /Applications/MAMP/htdocs/wordpress/wp-content/plugins/woocommerce/includes/class-woocommerce.php(457): WC_Customer->__construct(1, true) #5 /Applications/MAMP/htdocs/wo in /Applications/MAMP/htdocs/wordpress/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php on line 745

    Do you know what would be causing this and how I can go about fixing the issue?

    The site works perfectly fine with no problems on the live shared hosting server, it’s only appearing on the local server on my laptop.

    I look forward to your reply.

    Kind regards.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.