PHP Fatal Error WC 5.3
-
Today white updating a couple of products, I started getting PHP Fatal Error on my website. I deactivated all Plugins using PHPMYADMIN then the website started loading fine with all plugins on the site deactivated.
I activated only woocommerce 5.3.0 and the site throw a fatal error again.
I checked the php_errorlog, below is the error thrown when activating the plugin with the different themes:
[19-May-2021 10:41:11 UTC] PHP Fatal error: require(): Failed opening required ‘/home/customer/www/sadoun.com/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/Schemas/ImageAttachmentSchema.phpion.php’ (include_path=’.:/usr/local/php73/pear’) in /home/customer/www/sadoun.com/public_html/wp-content/plugins/woocommerce/vendor/jetpack-autoloader/class-php-autoloader.php on line 87
[[19-May-2021 10:37:56 UTC] PHP Fatal error: Uncaught Error: Call to undefined function wc_get_template_part() in /home/customer/www/sadoun.com/public_html/wp-content/themes/flatsome/page-cart.php:6 Stack trace: #0 /home/customer/www/sadoun.com/public_html/wp-includes/template-loader.php(106): include() #1 /home/customer/www/sadoun.com/public_html/wp-blog-header.php(19): require_once('/home/customer/...') #2 /home/customer/www/sadoun.com/public_html/index.php(17): require('/home/customer/...') #3 {main}
I tried with both Flatsome theme and Storefront Theme with same results.
I have WordPress 5.7.2 and PHP 7.3
Should I revert back to WC 5.2.2 to solve the issue or you have other suggestions?
- The topic ‘PHP Fatal Error WC 5.3’ is closed to new replies.