Title: Warning: illegal string offset &#8216;pro_widgets&#8217;
Last modified: March 10, 2020

---

# Warning: illegal string offset ‘pro_widgets’

 *  Resolved [euse2](https://wordpress.org/support/users/euse2/)
 * (@euse2)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/warning-illegal-string-offset-pro_widgets/)
 * My site reports this error every time i edit a page with elementor.
 * 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
 * What’s the problem?
    How can I fix it?
 * Thank you

Viewing 13 replies - 1 through 13 (of 13 total)

 *  [nlstijl](https://wordpress.org/support/users/nlstijl/)
 * (@nlstijl)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/warning-illegal-string-offset-pro_widgets/#post-12540261)
 * Hi,
 * I have the same error since i updated Elementor.
 * Hope that there will be a fix soon.
 * Thanks!
 * Marcellus
 *  [JuzztMe](https://wordpress.org/support/users/juzztme/)
 * (@juzztme)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/warning-illegal-string-offset-pro_widgets/#post-12544889)
 * Same problem here after update…
 *  [Elementor](https://wordpress.org/support/users/davidr90/)
 * (@davidr90)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/warning-illegal-string-offset-pro_widgets/#post-12545137)
 * Hey [@euse2](https://wordpress.org/support/users/euse2/),
 * Could you please let me know on which type of page does this error?
    Where does
   this error appear?
 *  Thread Starter [euse2](https://wordpress.org/support/users/euse2/)
 * (@euse2)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/warning-illegal-string-offset-pro_widgets/#post-12551487)
 * 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”.
 *  [alejandroscp](https://wordpress.org/support/users/alejandroscp/)
 * (@alejandroscp)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/warning-illegal-string-offset-pro_widgets/#post-12584375)
 * 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…
 *  [NYSL](https://wordpress.org/support/users/nysl/)
 * (@nysl)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/warning-illegal-string-offset-pro_widgets/#post-12619368)
 * 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
 *  [Elementor](https://wordpress.org/support/users/davidr90/)
 * (@davidr90)
 * [6 years ago](https://wordpress.org/support/topic/warning-illegal-string-offset-pro_widgets/#post-12682643)
 * 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.
 *  [NYSL](https://wordpress.org/support/users/nysl/)
 * (@nysl)
 * [6 years ago](https://wordpress.org/support/topic/warning-illegal-string-offset-pro_widgets/#post-12683701)
 * 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.
 *  [Elementor](https://wordpress.org/support/users/davidr90/)
 * (@davidr90)
 * [6 years ago](https://wordpress.org/support/topic/warning-illegal-string-offset-pro_widgets/#post-12683762)
 * 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.
 *  [emocionec](https://wordpress.org/support/users/emocione/)
 * (@emocione)
 * [6 years ago](https://wordpress.org/support/topic/warning-illegal-string-offset-pro_widgets/#post-12709423)
 * 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](https://wordpress.org/support/users/since/) 1.0.0*
   [@access](https://wordpress.org/support/users/access/) public * [@static](https://wordpress.org/support/users/static/)**
   [@return](https://wordpress.org/support/users/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..
 *  [Elementor](https://wordpress.org/support/users/davidr90/)
 * (@davidr90)
 * [6 years ago](https://wordpress.org/support/topic/warning-illegal-string-offset-pro_widgets/#post-12713015)
 * 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](https://pastebin.com/).
 *  [NYSL](https://wordpress.org/support/users/nysl/)
 * (@nysl)
 * [6 years ago](https://wordpress.org/support/topic/warning-illegal-string-offset-pro_widgets/#post-12728304)
 * 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.
 *  [Alan C. Kearley](https://wordpress.org/support/users/alankearley/)
 * (@alankearley)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/warning-illegal-string-offset-pro_widgets/#post-13166560)
 * 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?

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Warning: illegal string offset ‘pro_widgets’’ is closed to new replies.

 * ![](https://ps.w.org/elementor/assets/icon-256x256.gif?rev=3444228)
 * [Elementor Website Builder - more than just a page builder](https://wordpress.org/plugins/elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/elementor/reviews/)

## Tags

 * [Warning: Illegal string offset](https://wordpress.org/support/topic-tag/warning-illegal-string-offset/)

 * 13 replies
 * 8 participants
 * Last reply from: [Alan C. Kearley](https://wordpress.org/support/users/alankearley/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/warning-illegal-string-offset-pro_widgets/#post-13166560)
 * Status: resolved