• Resolved thenabeelkhan

    (@thenabeelkhan)


    After update to 6.8 the debug log shows following errors over 1890

    [10-Aug-2022 22:19:44 UTC] PHP Warning:  include(): Failed opening '/bitnami/wordpress/wp-content/plugins/woocommerce/templates/loop/price.php' for inclusion (include_path='.:/opt/bitnami/php/lib/php') in /bitnami/wordpress/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 345
    [10-Aug-2022 22:19:44 UTC] PHP Warning:  include(/bitnami/wordpress/wp-content/plugins/woocommerce/templates/single-product/add-to-cart/variation.php): failed to open stream: No such file or directory in /bitnami/wordpress/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 345
    [10-Aug-2022 22:19:44 UTC] PHP Warning:  include(): Failed opening '/bitnami/wordpress/wp-content/plugins/woocommerce/templates/single-product/add-to-cart/variation.php' for inclusion (include_path='.:/opt/bitnami/php/lib/php') in /bitnami/wordpress/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 345
    [10-Aug-2022 22:19:45 UTC] PHP Warning:  file_get_contents(/bitnami/wordpress/wp-content/plugins/woocommerce/packages/woocommerce-blocks/woocommerce-gutenberg-products-block.php): failed to open stream: No such file or directory in /opt/bitnami/wordpress/wp-includes/functions.php on line 6633
    [10-Aug-2022 22:34:36 UTC] PHP Warning:  include(): Failed opening '/bitnami/wordpress/wp-content/plugins/woocommerce/templates/loop/price.php' for inclusion (include_path='.:/opt/bitnami/php/lib/php') in /bitnami/wordpress/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 345
    [10-Aug-2022 22:34:36 UTC] PHP Warning:  include(/bitnami/wordpress/wp-content/plugins/woocommerce/templates/loop/price.php): failed to open stream: No such file or directory in /bitnami/wordpress/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 345

    Can someone please guide me on how to resolve this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter thenabeelkhan

    (@thenabeelkhan)

    [10-Aug-2022 22:57:47 UTC] PHP Warning: file_get_contents(/bitnami/wordpress/wp-content/plugins/woocommerce/packages/woocommerce-blocks/woocommerce-gutenberg-products-block.php): failed to open stream: No such file or directory in /opt/bitnami/wordpress/wp-includes/functions.php on line 6633
    [10-Aug-2022 22:58:05 UTC] PHP Warning: file_get_contents(/bitnami/wordpress/wp-content/plugins/woocommerce/packages/woocommerce-blocks/woocommerce-gutenberg-products-block.php): failed to open stream: No such file or directory in /opt/bitnami/wordpress/wp-includes/functions.php on line 6633
    [10-Aug-2022 22:58:47 UTC] PHP Warning: file_get_contents(/bitnami/wordpress/wp-content/plugins/woocommerce/packages/woocommerce-blocks/woocommerce-gutenberg-products-block.php): failed to open stream: No such file or directory in /opt/bitnami/wordpress/wp-includes/functions.php on line 6633
    [10-Aug-2022 22:59:05 UTC] PHP Warning: file_get_contents(/bitnami/wordpress/wp-content/plugins/woocommerce/packages/woocommerce-blocks/woocommerce-gutenberg-products-block.php): failed to open stream: No such file or directory in /opt/bitnami/wordpress/wp-includes/functions.php on line 6633
    [10-Aug-2022 22:59:09 UTC] PHP Warning: file_get_contents(/bitnami/wordpress/wp-content/plugins/woocommerce/packages/woocommerce-blocks/woocommerce-gutenberg-products-block.php): failed to open stream: No such file or directory in /opt/bitnami/wordpress/wp-includes/functions.php on line 6633
    [10-Aug-2022 22:59:10 UTC] PHP Warning: file_get_contents(/bitnami/wordpress/wp-content/plugins/woocommerce/packages/woocommerce-blocks/woocommerce-gutenberg-products-block.php): failed to open stream: No such file or directory in /opt/bitnami/wordpress/wp-includes/functions.php on line 6633
    [10-Aug-2022 22:59:47 UTC] PHP Warning: file_get_contents(/bitnami/wordpress/wp-content/plugins/woocommerce/packages/woocommerce-blocks/woocommerce-gutenberg-products-block.php): failed to open stream: No such file or directory in /opt/bitnami/wordpress/wp-includes/functions.php on line 6633

    This error is repeated over 5,000 times

    Mirko P.

    (@rainfallnixfig)

    Hi @thenabeelkhan!

    Thanks for sharing with us the logs.

    These are PHP warnings and cause no harm to the site. Can you check if they’re no longer displayed after reinstalling WooCommerce?

    You can try deleting WooCommerce completely and removing the WooCommerce directory under plugins accessing your host via FTP. And then try reinstalling a fresh copy and see if that works. Make sure to have a full backup in place.

    If you still get warnings, share a copy of your site’s System Status. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.

    Thanks.

    Thread Starter thenabeelkhan

    (@thenabeelkhan)

    Deleting and complete removal is not possible as the site is live and to there are many changes which would be redone.

    I found out the hard way that the woocommerce 6.8 update never downloaded all the files and and my entire site went down and start throwing errors.

    I replaced the woocommerce folder on the server by manually downing the plugin and uploading and deleting the old plugin folder and replacing it with a fresh copy. There are more than four folders missing which I assume never got downloaded during the auto auto update process.

    Thread Starter thenabeelkhan

    (@thenabeelkhan)

    reinstall the plugin

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Failed opening single-product.php after update’ is closed to new replies.