This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Tagged: Exception
This topic contains 8 replies, has 2 voices.
Last updated by Andrey 1 year, 1 month ago.
Assisted by: Andrey.
Author | Posts |
---|---|
October 31, 2023 at 3:31 pm #14701849 | |
caterinag-2 |
hi, I have a lot of trouble and critical error on my website due to a jetpack autoloader. Unfortunatelly Jetpack is not installed and I don'tk now how to solve it. I found some orphan files in FTP folder related to Jetpack and WPML. Can i delete them safetly? hidden link |
October 31, 2023 at 7:29 pm #14703437 | |
Andrey Supporter Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+02:00) |
Could you please provide more details about the issue you are facing? Additionally, could you share any specific error message that you encountered? If you haven't installed Jetpack, then there is no need to delete any files inside the WPML plugin. Doing so may cause fatal errors due to missing files. I've enabled debug information for this support ticket. Please see this link for how to get this information from your site and give it to us: |
November 1, 2023 at 4:37 pm #14709223 | |
caterinag-2 |
I Andrey, jetpack was installed months ago, and i suppose some orphane files are creating these issues. I tried installing and unstalling it once again but no improvement in performances. Looking for jetpack-related files in FTP, I found some in WPML folders, that's why I asked before removing them. Uncaught Error: Failed opening required '/web/htdocs/www.pievedepitti.it/home/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/ReviewsByProduct.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 /web/htdocs/www.pievedepitti.it/home/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypesController.php(65): Automattic\Jetpack\Autoloader\jp865e0ff1636ff8bf9d922e869851562a\PHP_Autoloader::load_class() #1 /web/htdocs/www.pievedepitti.it/home/wp-includes/class-wp-hook.php(310): Automattic\WooCommerce\Blocks\BlockTypesController->register_blocks() #2 /web/htdocs/www.pievedepitti.it/home/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #3 /web/htdocs/www.pievedepitti.it/home/wp-includes/plugin.php(517): WP_Hook->do_action() #4 /web/htdocs/www.pievedepitti.it/home/wp-settings.php(632): do_action() #5 /web/htdocs/www.pievedepitti.it/home/wp-config.php(95): require_once('...') #6 /web/htdocs/www.pievedepitti.it/home/wp-load.php(50): require_once('...') #7 /web/htdocs/www.pievedepitti.it/home/wp-admin/admin-ajax.php(22): require_once('...') #8 {main} thrown |
November 1, 2023 at 4:46 pm #14709267 | |
caterinag-2 |
a second critical error |
November 1, 2023 at 8:34 pm #14711159 | |
Andrey Supporter Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+02:00) |
The Jetpack files you found in WPML folders do not mean that they are leftovers and were created once Jetpack was installed, but files that, by default, are there. Those files are files that provide compatibility with Jetpack. They are not in use if Jetpack is not installed on your site. The first fatal error is related to Woocommerce, and I cannot suggest anything here. The second fatal error says that some files are missing. You must ensure that WPML and Woocommerce Multilingual contain all the files. To ensure all files are in place, you can download fresh copies of plugins from your wpml.org account. |
November 2, 2023 at 10:56 am #14715513 | |
caterinag-2 |
ok. What do you suggest? Download and replace or download, delete and reload? |
November 2, 2023 at 2:19 pm #14717649 | |
Andrey Supporter Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+02:00) |
If you are still experiencing the second critical error, I suggest the following: – to backup – download fresh WPML plugins – deactivate existing ones and delete - upload and activate freshly downloaded plugins https://wpml.org/account/downloads/ |
November 2, 2023 at 2:54 pm #14718075 | |
caterinag-2 |
Ok. but please not that I reoladed (full procedure) all WPML files just one month ago due to other critical errors. So there is something that has corrupted WPML files once again in a while..... |
November 2, 2023 at 3:39 pm #14718831 | |
Andrey Supporter Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+02:00) |
If you think something is affecting or corrupting the WPML files, I would suggest deactivating non-WPML plugins one by one till you find a culprit. |