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 1 reply, has 2 voices.

Last updated by Noman 8 months, 1 week ago.

Assigned support staff: Noman.

Author Posts
September 25, 2019 at 3:22 am #4635359


I am trying to: activate the plugin

Link to a page where the issue can be seen:

I expected to see: Plugin activated

Instead, I got:
Fatal error: Uncaught Error: Call to undefined function WPML\Container\wpml_collect() in /var/www/ Stack trace: #0 /var/www/ WPML\Container\Container::share(Array) #1 /var/www/ WPML\Container\share(Array) #2 /var/www/ include('/var/www/cmucs....') #3 /var/www/ plugin_sandbox_scrape('sitepress-multi...') #4 {main} thrown in /var/www/ on line 38

September 25, 2019 at 5:27 am #4635707


Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)


Thank you for contacting WPML Support. Please follow these steps in order to isolate the cause of the issue:

- Backup your site first before making any change, this is for security reasons.
- Deactivate all the plugins that are not related to WPML.
- Switch for a moment to a WordPress default theme like Twenty Seventeen.
- If the issue is gone, activate one by one to see which one there is an interaction issue.
- If still issue persists, please add the debug report in the Debug Information box. I have also enabled debug info box for your next reply:

Please let me know the results, Thank you

The topic ‘[Closed] Erro when activating plugin’ is closed to new replies.