Uncaught Error with WPML plugin
-
The plugin works only when I disable the plugin “WPML Multilingual CMS”, when this plugin is active (which is very important for the site), and go to the Payement Gateway and when I want to change the settings the next line appears:
“there is a critical error on your website, check your mail for instructions.”
In the mail I recieve this message:
An error of type E_ERROR was caused on line number 15 of the file /root/website.nl/wp-content/plugins/events-manager-pro/add-ons/emails/custom-emails-admin-ml.php. Errormessage: Uncaught Error: Call to undefined method EM_ML::switch_to_lang() in /root/website.nl/wp-content/plugins/events-manager-pro/add-ons/emails/custom-emails-admin-ml.php:15
Stack trace:
#0 /root/website.nl/wp-includes/class-wp-hook.php(288): EM_Custom_Emails_Admin_ML::after_gatweay_custom_emails(Object(EM_Gateway_Mollie), Array, Array, Array, Array)
#1 /root/website.nl/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array)
#2 /root/website.nl/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#3 /root/website.nl/wp-content/plugins/events-manager-pro/add-ons/emails/custom-emails-admin.php(328): do_action(‘after_gatweay_c…’, Object(EM_Gateway_Mollie), Array, Array, Array, Array)
#4 /root/website.nl/wp-includes/class-wp-hook.php(288): EM_Custom_Emails_Admin::em_gateway_settings_footer(Object(EM_Gateway_Mollie))
#5 /root/website.nl/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array)
#6 /roo
- The topic ‘Uncaught Error with WPML plugin’ is closed to new replies.