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.

This topic contains 22 replies, has 4 voices.

Last updated by Prosenjit Barman 1 year, 5 months ago.

Assisted by: Prosenjit Barman.

Author Posts
August 12, 2023 at 11:57 am #14191565

christosG-8

Tell us what you are trying to do?

I tried to add the WPML installer .zip file. Got this error. FTP'd the plugin .zip file, unzipped it in plugins directory and as soon as I pressed "Activate" got the same error.
I tried to activate it after deactivating my "Anywhere Elementor Pro " plugin, same result.
Installed linux, wordpress, Elementor+pro in a new virtual box, same result...
There is something worng in the Denmark kingdom I think...
As I cannot Activate the WPML plugin tI cannot send you the log in the next box.
I have the debug.log file but your system does not accept it as valid.
Please send me an email address so that I can send it over.

THanks
Dimitris

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?
hidden link

August 12, 2023 at 9:17 pm #14192211

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+02:00)

Hi there.

Before your ticket is assigned to one of my colleagues, I will try to help.

Can you please enable the WordPress debug log and recreate the issue to see if you are getting a longer error message that is more specific (not sure if this debug mode was enabled that created the debug log that you mentioned about)?

This will allow us to see if any PHP errors are being produced.

More Info: https://codex.wordpress.org/Debugging_in_WordPress

In order to do that, edit the wp-config.php file inside your WordPress directory and insert the following lines:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

Now please reproduce the issue once again.

Locate the debug log in: /wp-content/debug.log

Paste the content (if any) on a site like pastebin.com and then share the link here with us (only you and us will see the URL you are sharing).

We will be waiting for your response.

Kind regards,
Mihai Apetrei

August 12, 2023 at 10:14 pm #14192267

christosG-8

OK I already did that, here is the debug.log:

https://pastebin.com/xmZWZkNf

Thanks in advance,
Dimitris

August 14, 2023 at 8:28 am #14195867

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hi Dimitris,

Thank you for the details. This may be related to the following tickets. So please make sure you are using the latest version of plugins and theme. If not, please upgrade to the latest versions after a full site backup{mandatory} and check whether the bug is existing or not.

https://wpml.org/forums/topic/fatal-error-uncaught-error-class-wpml_elementor_module_with_items/

https://wpml.org/forums/topic/uncaught-error-class-wpml_elementor_module_with_items-not-found/

--
Thanks!

Bigul

August 18, 2023 at 9:00 am #14250881

christosG-8

Hello,
Unfortunately none of these links helped... They are irrelevant to my problem.
And yes I have installed all the plugin and WordPress updates.

Please help,
Dimitris

August 18, 2023 at 9:43 am #14251145

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hi Dimitris,

Thank you for the updates. To help you faster, 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: http://wpml.org/faq/provide-debug-information-faster-support/

Please deactivate the AnyWhere Elementor plugin after a full site backup and activate WPML after that. Then make sure the issue is existing or not.

--
Thanks!

Bigul

August 18, 2023 at 10:33 am #14251845

christosG-8

Hello Bigul,

I always have a full site backup. I cannot get to the WPML -> Support page as thw WPML plugin is not activated (I remind you that when I press Activate I get the usual serious error with my site.
As I said in my 1st mail, I already tried this: I deactivated Anywhere Elementor Pro, activated WPML and got the same error...

Thanks
Dimitris

August 18, 2023 at 11:01 am #14251969

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hi Dimitris,

Thank you for the updates. Please fill the private details fields after a full site backup{mandatory}. I would like to access the admin area of your site for further checking. Refer to the following links for more details about our private information sharing policies.

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

hidden link

Also, please allow me to make a duplicator copy of your site using the Duplicator plugin(https://wordpress.org/plugins/duplicator/) for debugging the issue on my local server. So we can troubleshoot the bug without affecting your live site.

--
Thanks!

Bigul

August 18, 2023 at 12:40 pm #14252525

christosG-8

OK you can make a full backup of my site.

Thanks,
Dimitris

August 19, 2023 at 9:36 am #14255831

christosG-8

Any news ?

Thanks,
Dimitris

August 21, 2023 at 5:22 am #14259651

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Dimitris,
I hope you're doing well. Sorry for the delay in responding due to the weekend.

As Bigul is on vacation, I've taken this ticket and will try my best to assist you on this matter.

I tried to access the backend with the credentials you've shared but unfortunately, the password is not working. Would you please check and share the correct credentials?

I also tried to access the debug log using the FTP information and found that the file can't be written due to insufficient permission. So, I kindly request you to also check if the permission for the files is set correctly on your site. You can discuss with the Hosting or server administrator regarding this matter.

I have enabled the private box for you so that you can securely share the information. Make sure to take a full backup of the site before sharing the access information.

Looking forward to your response.

Best Regards,
Prosenjit

August 22, 2023 at 11:06 am #14270297

christosG-8

Proof of connection

Screenshot 2023-08-22.png
August 22, 2023 at 8:57 pm #14273799

christosG-8

I also connected with ftp client (Filezilla) to the site and downloaded the debug.log file from /var/www/html/wp-content folder.
Hint: enable Passive ftp connection.

Thanks
Dimitris

August 23, 2023 at 5:28 am #14274621

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Dimitris,
Thanks for correcting the credentials. It works.

When I noticed that the WPML plugin was removed from your site, I attempted to reinstall it for further debugging. However, after some time, an "expired link" message popped up, which can occasionally occur due to the large size of the plugin file. Subsequently, I tried using the "OTGS Installer" plugin to install the WPML plugin, but upon activating the OTGS Installer, a Fatal error was triggered on the site.

While checking the Debug log, I found that a PHP extension, which is "SimpleXML"(hidden link) is not active on the server. In order to make the plugin work, this extension is required.

I kindly request you reach out to the hosting support and ask them to enable the SimpleXML extension for your site. The Fatal error will be resolved right after that.

Since I don't have the authority to change file names through FTP, I can't disable the plugin, which is why the fatal error persists in the backend. if you want to access the backend, please navigate to "/wp-content/plugins" using the file manager and rename the "otgs-installer-plugin" to "otgs-installer-plugin.dis". After the SimpleXML extension is installed, you can remove the ".dis" from the plugin folder's name.

Please let me know the update. I will be happy to help if you need further assistance in this matter.

Best Regards,
Prosenjit

August 23, 2023 at 1:57 pm #14278757

christosG-8

Hello Prosenjit,
Thanks for your responce!
I installed SimpleXML in my server (it is not a vps, so I manually installed it myself).
After the apache restart the backend is available, and I got the installer page!!!
I am now creating a new backup and after that I will continue thw WPML installation - it looks that you manage to resolve the problem. As soon as I finish installing I will update the ticket.

Thanks
Dimitris

Screenshot 2023-08-23 165646.png