Hi,
I have the same error since i updated Elementor.
Hope that there will be a fix soon.
Thanks!
Marcellus
Same problem here after update…
Hey @euse2,
Could you please let me know on which type of page does this error?
Where does this error appear?
Thread Starter
euse2
(@euse2)
I see the error when I edit any page or post with elementor.
I see it on the elementor loading page, before the gray elementor logo appears with the word “loading”.
ME Too..
The same error:
I see the error when I edit any page or post with elementor.
I see it on the elementor loading page, before the gray elementor logo appears with the word “loading and the round of elementor loading in blue…
Same problem here …
Wordpress 5.4 and elementor have this issue on any page you want to edit …
Illegal string offset ‘pro_widgets’ in /wp-content/plugins/elementor/includes/api.php on line 160
Hi,
Can you please let me know which theme (and what version) are you using?
It would be helpful to understand where this error is coming from.
Also please try to follow those steps:
If you Elementor version is up to date.
Please make sure your theme is updated to its latest version.
– Deactivate all of your plugins except Elementor. If this solves the problem, gradually activate your plugins one by one, until you spot the problematic plugin.
– switch your WordPress theme to WordPress TwentySixteen (or other default WordPress theme) temporarily – and see if it solves your error.
Let me know if one of those steps helped you solve the issue.
I did all the steps.
I’ m currently running OceanWP theme and in the site there almost nothing extra frontpage widgets/plugins running.
The problem still persist even with all the plugins disabled.
Hi,
Thank you for the details.
Could you give me more information about the steps you took in order to reproduce the issue?
It would be helpful for us to better understand this problem.
Hi my first 160 error appeared on March 31, in: /wp-content/plugins/elementor/includes/api.php on line 160 in this block:
/**
* Get upgrade notice.
*
* Retrieve the upgrade notice if one exists, or false otherwise.
*
* @since 1.0.0
* @access public
* @static
*
* @return array|false Upgrade notice, or false none exist.
*/
` 155}
157 public static function get_promotion_widgets() {
158 $data = self::get_info_data();
160 return $data[‘pro_widgets’];
161}
my sample php errors keep showing me, and I notice this when I want to do simple things, move an item, copy it, modify something, simple things and I have this error, thanks for your help, pls..
Hi,
Please update to the latest version of Elementor (2.9.8),
and let me know if it solved your error,
if not please send us your system info here.
It disappeared like a ghost before even the update.
I check it in 3 websites and there was no more warning.
Anyway I update Elementor to the latest version.
I am getting the same two messages in my environment. (Ubuntu 20.04, Elementor Version 2.9.14). I am not using the pro version of the plugin. The theme is JupiterX Version 1.20.0
Warning: illegal string offset ‘pro_widgets’ in …/wp-content/plugins/elementor/includes/api.php on line 160
Notice: Uninitialized string offset: 0 in …/wp-content/plugins/elementor/includes/api.php on line 160
The warning and notice doesn’t appear to create any issues with using elementor but I would like not to have warning and notices display each time I edit a page.
Is the a known fix for this issue?