Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was trying to scan themes and plugins for new strings but the scan got stuck and never completed.

On the browser debug console the following JS error entry was fault:

"Cannot read properties of undefined (reading 'files_processed')"

Solution:
In this case the hopsting support was blocking:

sitename.com/wp-admin/admin.php?page=sitepress-multilingual-cms%2Fmenu%2Ftheme-localization.php

Ask the hosting support to whitelist any block on this behalf and further make sure that the minimum requirements for running WPML are met in the server.

Relevant Documentation:
https://wpml.org/home/minimum-requirements/

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

Last updated by tudorG-2 3 years, 6 months ago.

Assisted by: Andreas W..

Author Posts
March 17, 2022 at 7:19 am #10809267

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

It seems that did the trick, as the hosting was blocking:

hidden link

On the staging, the scan was successful now.

See Screenshot.

Best regards
Andreas

scan worked.png
March 17, 2022 at 7:25 am #10809321

tudorG-2

Ok. And how can we replicate on the production site? 🙂

I click this link hidden link , logged in and tried to scan. The scan doesn't complete...

err.jpg
March 17, 2022 at 7:52 am #10809453

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

The problem appeared to be hosting-related, as it is solved on the staging.

Please consult the hosting support about whitelisting:

'hidden link'

This should solve the issue.

Best regards
Andreas

March 17, 2022 at 10:22 am #10810885

tudorG-2

Hi!

The hosting service whitelisted our IP, enabled ModSecurity, Bitninja's WAF and disabled eval() function. Scan finishes now correctly.

My issue is resolved now.

Great support! Thank you very much for all your help!