[ad_1]
When you install a copy of wordpress in you local server xampp and you have a critical error in your homepage i recommend first, my activate WP_DEBUG mode.
One of the errors I encountered is the absence of the file class-wc-session-handler.php.
You can find it at
…and put it into directory:
..\htdocs\[my-template-name]\wp-content\plugins\woocommerce\includes\
However, still there can be more issues. For example, I found myself in the following:
“Fatal error: Uncaught Error: Class ‘Automattic\WooCommerce\Utilities\…String’…”
I solve this, deactivating plugins of the plugin folder ..\htdocs\[my-template-name]\wp-content\plugins\
You can do this, moving folder one by one in another folder and reloading page until your website is running correctly. When website is running well, you have to clean all cache and cookies and return every files moved previously of plugins folder to her.
Regards
