Error in sidebars when wpml is activated


I’ve detected an error in sidebars after 4.2.3 updated when wpml is activated.
That’s it:

Fatal error: Uncaught Error: Call to a member function get_element_language_details() on null in /usr/home/ Stack trace: #0 /usr/home/ ups_sidebar_do_meta_box(Object(WP_Post), Array) #1 /usr/home/ do_meta_boxes(Object(WP_Screen), ‘normal’, NULL) #2 /usr/home/ ups_sidebars_do_page(’’) #3 /usr/home/ WP_Hook->apply_filters(’’, Array) #4 /usr/home/ WP_Hook->do_action(Array) #5 /usr/home/ do_action(‘appearance_page…’) #6 /usr/home/ require_once(’/usr/home/mmcer…’) #7 {main} thrown in /usr/home/ on line 379

Thank you!

Hello @Juanjo,

Thanks for writing in!

Did you add custom PHP code in your child theme’s functions.php file? A certain PHP function is causing the issue. To better assist you with your issue, kindly provide us access to your site so that we can check your settings. Please create a secure note with the following info:
– Link to your site
– WP login URL
– WP username
– WP password
– WP Administrator Role
- Confirmation that we can access and make changes to your site

To know how to create a secure note, please check this out: How The Forum Works

Best Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.