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 6 replies, has 2 voices.

Last updated by Mohamed Sayed 1 year ago.

Assisted by: Mohamed Sayed.

Author Posts
November 8, 2023 at 11:40 am #14755879

dennisv-7

I am trying to edit a blog post. But when I try to open Elementor I see the following errors in the console log:
POST hidden link 500 error
Uncaught SyntaxError: missing ) after argument list
Uncaught SyntaxError: expected expression, got '.'

The editor is loading, but the left editor keeps loading for ever. See screenshot: hidden link

I already tried to disable all other plugins and switching back to standard theme. But this problem only occurs when I try to edit a blog post in the Elementor editor with WPML active. I haven't contact Elementor about this issue.

November 8, 2023 at 10:43 pm #14761413

Mohamed Sayed

Hi Dennis,
Thanks for contacting WPML support.

Please provide me with the WordPress debug.log, this will allow us to see if any PHP errors are being produced. More Info: https://wordpress.org/support/article/debugging-in-wordpress/

To enable it, open your wp-config.php file and look for:

define('WP_DEBUG', false);

And change it to:

define('WP_DEBUG', true);
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
// Disable display of errors and warnings which is recommended on a live site.
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors',0);

Then try to reproduce the issue by editing the same post and check if any errors were saved to the debug.log log file inside the /wp-content/ directory.

If you can paste your debug.log to https://pastebin.com/ and provide me that link, it would be great!

Kind regards,
Mohamed

November 9, 2023 at 11:18 am #14765375

dennisv-7

Hello Mohamed,

I replaced the code and retried it again. I have the same error in the console. But the debug.log file is not generated. I also checked the error log on the server. There are no error messages there either.

Scherm­afbeelding 2023-11-09 om 12.16.13.png
November 9, 2023 at 3:57 pm #14769617

Mohamed Sayed

Please create a full backup of the database and website then update Elementor + Elementor Pro to the latest version and check if the issue is resolved.

November 10, 2023 at 8:40 am #14773391

dennisv-7

Hello Mohamed,

All plugins on the site were already fully updated to the latest version. See attachment for the plugin list. WordPress version 6.4.1 is installed and active.

November 12, 2023 at 12:21 am #14783069

Mohamed Sayed

Sorry for the late reply due to the weekend.

Kindly create a copy of your site and provide a link to download it. You can use the Duplicator plugin (https://wordpress.org/plugins/duplicator/) or the All-in-One WP Migration plugin (https://wordpress.org/plugins/all-in-one-wp-migration/).

The plugin will create a package file that you can download then upload again to Google Drive or Dropbox and share the download link in the next reply which I have marked as private. Then I'll debug the issue locally or escalate it to our developers for further investigation if needed.

Please check here for more details: https://wpml.org/faq/provide-supporters-copy-site/

Thanks for your cooperation.

November 14, 2023 at 3:02 pm #14799527

Mohamed Sayed

Thanks for providing the site copy.

I imported the copy locally but I couldn't replicate the issue, so I imported it again to our testing server on Cloudways and noticed that the issue happens randomly.

Please check this recording that shows how I can edit the posts when only WPML + Elementor plugins are enabled: hidden link

I thought it could be a conflict with another plugin, so I enabled all the other plugins to perform more tests but I couldn't see the issue. Please see here: hidden link

I suggest contacting Elementor support and sharing the issue with them, maybe it was reported already and they can provide a quick fix.

Let us know their feedback please.

November 21, 2023 at 10:34 am #14885431

dennisv-7

After some time. This issue is miraculous solved. We didn't do anything but we can make the blog posts again. I think (for now) this issue is solved, but we don't know how or why.

Thanks for your time and help. Until next time.