• Hi,

    Since updating the woocommerce plugin I’m getting fatal error in my error logs:

    2025-03-05T06:31:03+00:00 Critical require(): Failed opening required ‘/home/k96onca/public_html/wp-content/plugins/woocommerce/src/Blocks/Utils/Utils.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’) Additional context{ “error”: { “type”: 64, “file”: “/home/k96onca/public_html/wp-content/plugins/woocommerce/vendor/jetpack-autoloader/class-php-autoloader.php”, “line”: 102 }, “remote-logging”: true, “backtrace”: [ { “file”: “/home/k96onca/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php”, “line”: 414, “function”: “critical”, “class”: “WC_Logger”, “type”: “->” }, { “function”: “log_errors”, “class”: “WooCommerce”, “type”: “->” } ] }

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter blueazure000

    (@blueazure000)

    I’m also getting these error on my server logs:

    [05-Mar-2025 06:31:03 UTC] PHP Warning: include(/home/k96onca/public_html/wp-content/plugins/woocommerce/templates/single-product/photoswipe.php): failed to open stream: No such file or directory in /home/k96onca/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 346
    [05-Mar-2025 06:31:03 UTC] PHP Warning: include(): Failed opening ‘/home/k96onca/public_html/wp-content/plugins/woocommerce/templates/single-product/photoswipe.php’ for inclusion (include_path=’.:/opt/alt/php74/usr/share/pear’) in /home/k96onca/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 346

    Hi there @blueazure000

    Thank you for reaching out about this – happy to help!

    Just to clarify, did you make sure there is backup available before performing any updates, or otherwise?

    Back to what the logs report now. They all have the same timestamp, which leads me to believe there is some incompatibility with the plugins. Just to be sure, is photoswipe actively used on the site, or otherwise?

    To investigate this further, please share your site’s System Status Report with me.
    You can paste it into https://pastebin.com and share the link here.

    Thanks!

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello blueazure000,

    Thank you for contacting WooCommerce support.

    The PHP warnings you are facing might be due to a plugin conflict.
    As anastas10s suggested, please share your site’s System Status Report.
    You can paste it into https://pastebin.com and share the link here.

    Once I have more information, I will be in a better position to assist you further.

    I appreciate anastas10s for helping out here. ??

    Best regards.

    Thread Starter blueazure000

    (@blueazure000)

    Hi, thank you for your reply. Here is the link to my site’s System Status Report: https://pastebin.com/ez0ACv4h

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you for sharing the system status report. Everything appears fine in the report. However, I noticed that you are using an outdated PHP version (7.4), which may be causing this issue. For testing purposes, could you please update your PHP version to 8.x and check if you still experience the same issue?

    If the issue persists, please try deactivating all plugins except WooCommerce and see if the problem still occurs.

    For more details on how to run a conflict test, you can refer to this article:
    How to Test for Conflicts

    Let me know how it goes!

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