• Resolved dounsa

    (@dounsa)


    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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Hi there ??

    I’ve run a test on my end WooCommerce site, which haves the latest WooCommerce, WordPress versions, and using Storefront theme, and I couldn’t reproduce the issue.

    [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

    It seems that for some reason, the updating process was corrupted, and that caused some files to be missing.

    I’d recommend downgrading the plugin and re-run the update one more time to see if that fixes it. If not you could reinstall the latest version of the WooCommerce plugin to solve the problem.

    Cheers ??

    Plugin Support abwaita a11n

    (@abwaita)

    Hi @dounsa,

    We’ve not heard back from you in a while and we’ll be marking the thread as resolved soon for the general health of the forums.

    Just to follow up, were you able to make some progress with the issue by following the advice above?

    Thanks.

    Thread Starter dounsa

    (@dounsa)

    Hi, the problem was related to Siteground PHP 7.3 setting. They have two setting Standard and SuperFast. When SuperFast was turned ON automatically on the server, it created the error on the site. Switching it back to STANDARD solved the problem.

    Siteground is aware of the incompatibility of SuperFast with WooCommerce plugin and now are working on fixing it.

    You may want to communicate with Siteground and help them resolve this issue.

    • This reply was modified 3 years, 6 months ago by dounsa.
    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Hi @dounsa ??

    That’s interesting, thank you for letting us know!

    I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Cheers.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Fatal Error WC 5.3’ is closed to new replies.