Here you have the critical error logs. Someone are old, maybe solved already. I did not overwrited WOOCOMMERCE plugin on the living site yet, waiting for your instruction
https://gist.github.com/pievedepitti/28f12f1df8b94fb3f2fe108c186d4cdf
Hey, @pievedepitti!
Thanks for the report and error logs.
On the error logs you shared there are 3 errors:
1 – This error is related to WooCommerce and missing files.
2 – This error is related with WP Social Reviews plugin
3 – This error is related to WPML
You mentioned before there were 19 errors, were they duplicates of this one? Or were they the old ones you mentioned?
For the ones you shared, since issues 2 and 3 are related to third-party plugins, please reach out to their support as they will be better suited to assist you further with them.
For the WooCommercer error, as my colleague suggested, overwriting it on the live site would be the next step here to see if it solved the missing file issue.
Be sure you have a good backup in place of your full site and database before proceeding. You can ask your host for backup functionality or you can consider using a service like Jetpack. If something goes wrong, you will be able to restore it.
Please let us know how it goes.
Looking forward to your reply.
Have a wonderful day!
Hi, have uploaded and overwrited woocommerce plugin on living site
Still see all 21 fatal error but 1 dated may 21 (all the others are old. can I delete them?)
please note I have no jetpack installed (I noted jetpack somehwere in the log)
here you have the link to check
https://gist.github.com/pievedepitti/28f12f1df8b94fb3f2fe108c186d4cdf
-
This reply was modified 1 year, 11 months ago by
pievedepitti.
hi, a new critical error on the living site after overwriting WooCommerce plugin
Un errore di E_ERROR è stato causato nella linea 90 del file /web/htdocs/www.pievedepitti.it/home/wp-content/plugins/woocommerce/vendor/jetpack-autoloader/class-php-autoloader.php. Messaggio di errore: Uncaught Error: Failed opening required ‘/web/htdocs/www.pievedepitti.it/home/wp-content/plugins/woocommerce/src/Internal/ProductDownloads/ApprovedDirectories/Admin/SyncUI.php’ (include_path=’.:/php8.1/lib/php’) in /web/htdocs/www.pievedepitti.it/home/wp-content/plugins/woocommerce/vendor/jetpack-autoloader/class-php-autoloader.php:90 Stack trace: #0 [internal function]: Automattic\Jetpack\Autoloader\jp12ea33bcea6a641c43d24712adc9f0b6\PHP_Autoloader::load_class() #1 /web/htdocs/www.pievedepitti.it/home/wp-content/plugins/woocommerce/lib/packages/League/Container/Definition/Definition.php(211): class_exists() #2 /web/htdocs/www.pievedepitti.it/home/wp-content/plugins/woocommerce/lib/packages/League/Container/Definition/DefinitionAggregate.php(94): Automattic\WooCommerce\Vendor\League\Container\Definition\Definition->resolve() #3 /web/htdocs/www.pievedepitti.it/home/wp-content/plugins/woocommerce/lib/packages/League/Container/Container.php(157): Automattic\WooCommerce\Vendor\League\Container\Definition\DefinitionAggregate->resolve() #4 /web/htdocs/www.pievedepitti.it/home/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/ExtendedContainer.php(176): Automattic\WooCommerce\Vendor\League\Container\Container->get() #5 /web/htdocs/www.pievedepitti.it/home/wp-content/plugins/woocommerce/src/Container.php(118): Automattic\WooCommerce\Internal\DependencyManagement\ExtendedContainer->get() #6 /web/htdocs/www.pievedepitti.it/home/wp-content/plugins/woocommerce/src/Internal/ProductDownloads/ApprovedDirectories/Register.php(43): Automattic\WooCommerce\Container->get() #7 /web/htdocs/www.pievedepitti.it/home/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories\Register->Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories\{closure}() #8 /web/htdocs/www.pievedepitti.it/home/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #9 /web/htdocs/www.pievedepitti.it/home/wp-includes/plugin.php(517): WP_Hook->do_action() #10 /web/htdocs/www.pievedepitti.it/home/wp-admin/admin-ajax.php(45): do_action() #11 {main} thrown
please note JETPACK IS NOT INSTALLED
-
This reply was modified 1 year, 11 months ago by
pievedepitti.
Zee
(@doublezed2)
Hello pievedepitti
Thank you for your reply.
The error you have listed is not related to Jetpack plugin.
The error indicates that the file SyncUI.php is missing from the specified directory.
This could happen due to an incomplete plugin update or accidental deletion.
You mentioned, “have uploaded and overwrited woocommerce plugin on living site“.
May I ask which method you used to upload and overwrite the WooCommerce plugin?
If you have access to server files, could you go to this path and check whether the file SyncUI.php exists or not?
web/htdocs/www.pievedepitti.it/home/wp-content/plugins/woocommerce/src/Internal/ProductDownloads/ApprovedDirectories/Admin/SyncUI.php
I look forward to your response. 🙂
Best regards.
Hi there 👋 ,
We haven’t heard from you in a while; this is to check if you’ve been able to proceed with the troubleshooting steps provided before and if you still need help.
Thanks!
-OP
Hi Omar sorry I was out of office.
I overwrited the woocommerce folder via FTP.
Yes file is there.
that’s the last fatal error in the log, dated June 03
https://gist.github.com/pievedepitti/71d92a9b24716f9ef6c48ba12a8e1709
Hi again,
Thanks for sharing the error message with us. I understand you did replace the WooCommerce file folders through FTP.
However, the error still indicates a missing file from your installation. As a next step, I recommend making a full site back up then heading over via FTP and deleting the files you added and downloading WooCommerce plugin via your WordPress dashboard. Install the plugin as you would install any other WordPress plugin.
Let us know if this makes any difference.
hi, this is not a good option. If I delete the woocommerce folder, the site crashes because there are several plugin related to it. Please check previous messages where this issue was noted also by the supporter who was replying me (omarfpg)
I just tested this on my test site and deactivated a whopping 7 plugins that depend on WooCommerce and I saw the notice that they must be deleted too for deleting WooCommerce. I hadn’t had the chance to test this new feature until today, so I just learned something new!
-
This reply was modified 1 year, 11 months ago by
pievedepitti.
Hi again @pievedepitti,
I can see the thread is already marked as resolved. Do you still need further assistance with the issue?
You’re absolutely correct in your assessment. Deleting the WooCommerce folder can indeed lead to the crashing of your site, especially if there are numerous plugins related to it.
However, we strongly recommend to creating a full site backup then deactivating all other plugins dependent on WooCommerce and going ahead with removing the old WooCommerce folder.
You can make these changes on a test/staging site to avoid messing around with your live site. The backup should be able to help restore the site to the last functional point should anything go wrong with the process.
Hope this helps.
Even if I deactivate all related plugin, once i cancel the woocommerce folder via FTP I cannot reinstall the woocommerce plugin via standard wordpress procedure because the site crashes. So the sole option is to upload the fresh woocommerce folder via FTP, as I did
and yes, issue is still there so i still need assistance
Hi @pievedepitti,
Thanks for getting back with more details on the issue.
Let’s try a different approach to troubleshoot this. I understand you’ve already installed fresh WooCommerce files via FTP, but the issue persists. Could you please confirm of the version installed.
Next, I would recommend changing your PHP version to a higher version, like 8.2.19. Then check if the issue persists.