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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-07:00)

Tagged: 

This topic contains 13 replies, has 2 voices.

Last updated by Bobby 1 year, 8 months ago.

Assisted by: Bobby.

Author Posts
October 10, 2023 at 10:11 pm #14553973

quinta-do-rajo-ldaN

We've verified that the critical error is being caused by the WPML String Translation plugin, below are the details of the error:

[10-Oct-2023 20:05:16 UTC] PHP Fatal error: Uncaught Error: Undefined class constant 'CAP_MANAGE_TRANSLATIONS' in /home/quintadorajo/public_html/wp-content/plugins/wpml-string-translation/classes/actions/class-wpml-st-remote-string-translation-factory.php:18
Stack trace:
#0 /home/quintadorajo/public_html/wp-content/plugins/wpml-string-translation/classes/actions/class-wpml-st-remote-string-translation-factory.php(11): WPML_ST_Remote_String_Translation_Factory->on_tm_loaded()
#1 /home/quintadorajo/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(74): WPML_ST_Remote_String_Translation_Factory->add_hooks()
#2 /home/quintadorajo/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(47): WPML_Action_Filter_Loader->load_factory_or_action('WPML_ST_Remote_...', false)
#3 /home/quintadorajo/public_html/wp-content/plugins/wpml-string-translation/plugin.php(62): WPML_Action_Filter_Loader->load(Array)
#4 /home/quintadorajo/ in /home/quintadorajo/public_html/wp-content/plugins/wpml-string-translation/classes/actions/class-wpml-st-remote-string-translation-factory.php on line 18
[10-Oct-2023 20:11:00 UTC] PHP Fatal error: Uncaught Error: Undefined class constant 'CAP_MANAGE_TRANSLATIONS' in /home/quintadorajo/public_html/wp-content/plugins/wpml-string-translation/classes/actions/class-wpml-st-remote-string-translation-factory.php:18
Stack trace:
#0 /home/quintadorajo/public_html/wp-content/plugins/wpml-string-translation/classes/actions/class-wpml-st-remote-string-translation-factory.php(11): WPML_ST_Remote_String_Translation_Factory->on_tm_loaded()
#1 /home/quintadorajo/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(74): WPML_ST_Remote_String_Translation_Factory->add_hooks()
#2 /home/quintadorajo/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(47): WPML_Action_Filter_Loader->load_factory_or_action('WPML_ST_Remote_...', false)
#3 /home/quintadorajo/public_html/wp-content/plugins/wpml-string-translation/plugin.php(62): WPML_Action_Filter_Loader->load(Array)
#4 /home/quintadorajo/ in /home/quintadorajo/public_html/wp-content/plugins/wpml-string-translation/classes/actions/class-wpml-st-remote-string-translation-factory.php on line 18

October 11, 2023 at 12:26 am #14554141

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hello,

Please update WPML and its add-ons to their latest versions by going to Plugins->Add new->Commercial tab -> Check for updates or manually download them from https://wpml.org/downloads/

Let me know your results, please.

October 11, 2023 at 9:26 am #14557587

quinta-do-rajo-ldaN

I did what you said and it is worse now. Can you check the website ? hidden link

October 12, 2023 at 6:02 am #14562653

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)

**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **

I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.

NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.

Thank you,
Bobby

October 12, 2023 at 11:23 pm #14569377

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Yes, but please verify that the FTP credentials are working ok and I can also access the staging FTP from them

I will need these as the site is currently down and we will need to manually deactivate WPML.

Go to wp-content/plugins/sitepress-multilingual-cms and rename it adding ".deactivate" at the end of folder name to manually deactivate.

October 16, 2023 at 9:27 am #14582897

quinta-do-rajo-ldaN

Hello,
I already changed the name manually to the folder sitepress-multilingual-cms.

Can you confirm you have access to the FTP files and the staging folder stage.quinta-do-rajo.pt?

I am having problems in the online shop. The variable products don't show the variations... Don't know why, as it is set properly. Can you fix this problem soon? It has been all weekend like that...

October 16, 2023 at 5:45 pm #14587919

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

The FTP credentials still do not work and the staging site is not allowing me to log in.

Without access to either one of these, I cannot proceed with debugging to provide a solution.

Screen Shot 2023-10-16 at 10.44.12 AM.png
Screen Shot 2023-10-16 at 10.43.50 AM.png
October 17, 2023 at 6:20 pm #14597169

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for sharing the admin login, but I am not able to get to the admin screen.

Edit your wp-content/plugins/sitepress-multilngual-cms foler and add ".deactivate" at the end to manually deactivate on the staging site as well

Please let me know once ready. If you try to log in now the site is down.

October 18, 2023 at 9:26 am #14600805

quinta-do-rajo-ldaN

Hi Bobby,
it is done. I attached a screenshot for you to see.

I really don't know what is happening, but it is being very annoying, as the website is totally misconfigured, and is impacting on our sales.

Can you please find a solution asap, please?

Captura de ecrã 2023-10-18, às 10.21.53 1.png
October 18, 2023 at 6:30 pm #14608423

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you, the site is up now.

You are using a plugin called rename wp login , what is the wp-admin area renamed to ? /wp-admin or /login.php will not work.

The moment I have access to your site I will help you asap to find a solution for the issue you have.

October 19, 2023 at 4:34 pm #14618031

quinta-do-rajo-ldaN

hidden link

October 20, 2023 at 1:25 am #14619927

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you, I was able to access the site and create a duplicator package to test locally.

At the moment I have not been able to reproduce a fatal error.

Is there a specific page or action that is causing the error?

October 23, 2023 at 9:40 am #14635299

quinta-do-rajo-ldaN

I don´t know. If you can access the website, it is still with problems. It was since you plugin was updated that it broke the website and shop...

October 23, 2023 at 9:15 pm #14641425

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

I am able to access your live site which has WPML activated, I am not seeing any errors at the moment.

Your staging site is not accessible anymore for me but when I did access it I took a duplicator package and was able to activate WPML without any fatal errors.

Please feel free to create a screencast of the issue you are experiencing so we can better understand in case we are missing something (we typically use loom for this)

Screen Shot 2023-10-23 at 2.14.01 PM.png

The topic ‘[Closed] Critical error. the Can´t access the WP dashboard. Had to deactivate. Need Help.’ is closed to new replies.