Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
13:00 – 17:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: Asia/Jerusalem (GMT+02:00)

This topic contains 3 replies, has 2 voices.

Last updated by Eran Helzer 1 year, 6 months ago.

Assisted by: Eran Helzer.

Author Posts
July 11, 2023 at 8:49 am #14011669

danielR-146

When I accessed the WP Rocket settings page the error below happened.
Since it was caused by an add-on to WPML, I hope you're able to shed light on what happened.
Thanks,
Lukas, deputy of Daniel

WordPress version 6.2.2
Active theme: Beaver Builder Child Theme (version 1.0)
Current plugin: Advanced Custom Fields Multilingual (version 2.0.5)
PHP version 8.0.27

Error Details
=============
An error of type E_ERROR was caused in line 15 of the file /home/clients/c5f0ab5eace616f72c623ed507b51e81/sites/solar21.ch/wp-content/plugins/acfml/classes/class-wpml-acf.php. Error message: Uncaught Error: Class "ACFML\Upgrade\Upgrade" not found in /home/clients/c5f0ab5eace616f72c623ed507b51e81/sites/solar21.ch/wp-content/plugins/acfml/classes/class-wpml-acf.php:15
Stack trace:
#0 /home/clients/c5f0ab5eace616f72c623ed507b51e81/sites/solar21.ch/wp-includes/class-wp-hook.php(308): WPML_ACF->init_worker(6)
#1 /home/clients/c5f0ab5eace616f72c623ed507b51e81/sites/solar21.ch/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#2 /home/clients/c5f0ab5eace616f72c623ed507b51e81/sites/solar21.ch/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home/clients/c5f0ab5eace616f72c623ed507b51e81/sites/solar21.ch/wp-content/plugins/advanced-custom-fields-pro/acf.php(389): do_action('acf/init', 6)
#4 /home/clients/c5f0ab5eace616f72c623ed507b51e81/sites/solar21.ch/wp-includes/class-wp-hook.php(308): ACF->init('')
#5 /home/clients/c5f0ab5eace616f72c623ed507b51e81/sites/solar21.ch/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#6 /home/clients/c5f0ab5eace616f72c623ed507b51e81/sites/solar21.ch/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#7 /home/clients/c5f0ab5eace616f72c623ed507b51e81/sites/solar21.ch/wp-settings.php(623): do_action('init')
#8 /home/clients/c5f0ab5eace616f72c623ed507b51e81/sites/solar21.ch/wp-config.php(104): require_once('/home/clients/c...')
#9 /home/clients/c5f0ab5eace616f72c623ed507b51e81/sites/solar21.ch/wp-load.php(50): require_once('/home/clients/c...')
#10 /home/clients/c5f0ab5eace616f72c623ed507b51e81/sites/solar21.ch/wp-admin/admin.php(34): require_once('/home/clients/c...')
#11 /home/clients/c5f0ab5eace616f72c623ed507b51e81/sites/solar21.ch/wp-admin/options-general.php(10): require_once('/home/clients/c...')
#12 {main}
thrown

July 11, 2023 at 12:06 pm #14014389

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

First, let's make sure you are using the latest versions of all WPML plugins.
Make sure to update:
- WPML Multilingual CMS to 4.6.4
- WPML String Translation to 3.2.6
- WPML Media to 2.7.3
https://wpml.org/faq/install-wpml/#automated-updates
https://wpml.org/account/downloads/

Then, if the issue persists, let's make sure this is not a compatibility/custom code issue.
Please try disabling all other plugins and switching to a WordPress default theme, temporarily, in order to isolate WPML as the problematic plugin.

Please make sure to have a working backup of your site before proceeding.

Please update me on if any of these resolve your issue, and if not we will continue troubleshooting.

July 11, 2023 at 1:48 pm #14015883

danielR-146

Hi Eran,
thanks for your reply and for pointing me to the missing updates. I don't allow automatic updates at all because I want to test them first on a staging site.
Since this was a first time and not reproducible error and I didn't change anything on the site before, deactivating plugins would be quite unawarding imho.
I would like to leave the ticket open for a while; if it doesn't happen again, I'll judge the error as a hiccup and close the ticket.
Kind regards,
Lukas

July 11, 2023 at 2:02 pm #14015977

Eran Helzer
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Of course.

I will set the status so that it will close by itself in two weeks, and you will be notified before that. If you want, after two weeks you can add a message and extend it another two weeks.

The topic ‘[Closed] an error message that I would like to avoid in the future’ is closed to new replies.