Title: Cannot use string offset as an array
Last modified: September 8, 2019

---

# Cannot use string offset as an array

 *  Resolved [shabaz001](https://wordpress.org/support/users/shabaz001/)
 * (@shabaz001)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/cannot-use-string-offset-as-an-array-3/)
 * After updating to the latest version the entire plugin seems broken. I get the
   following error:
 *     ```
       Error Details
       =============
       An error of type E_ERROR was caused in line 568 of the file /home/sites/5a/0/01d061323c/public_html/wp-content/plugins/siteorigin-panels/siteorigin-panels.php. Error message: Uncaught Error: Cannot use string offset as an array in /home/sites/5a/0/01d061323c/public_html/wp-content/plugins/siteorigin-panels/siteorigin-panels.php:568
       Stack trace:
       #0 /home/sites/5a/0/01d061323c/public_html/wp-includes/class-wp-hook.php(288): SiteOrigin_Panels->process_panels_data(Array)
       #1 /home/sites/5a/0/01d061323c/public_html/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array)
       #2 /home/sites/5a/0/01d061323c/public_html/wp-content/plugins/siteorigin-panels/inc/renderer.php(312): apply_filters('siteorigin_pane...', Array, 503)
       #3 /home/sites/5a/0/01d061323c/public_html/wp-content/plugins/siteorigin-panels/inc/admin.php(253): SiteOrigin_Panels_Renderer->render(503, false, Array)
       #4 /home/sites/5a/0/01d061323c/public_html/wp-includes/class-wp-hook.php(288): SiteOrigin_Panels_Admin->save_post(6777)
       #5 /home/sites/5a/0/01d061323c/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
       #6 /home/sites/5a/0/01d061323c/public_html/wp-includes/plugin.php(465): WP_Hoo
       ```
   
 * Updated to latest version of plugins and WP core. Tried with PHP 5.6, 7.0 and
   7.1 but keep getting a blank white screen and the above error in the logs.
 * I have even tried to use WP Rollback to use a previous version of this plugin
   but continue to get the same error.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcannot-use-string-offset-as-an-array-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [alexgso](https://wordpress.org/support/users/alexgso/)
 * (@alexgso)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/cannot-use-string-offset-as-an-array-3/#post-11911263)
 * Hi shabaz001,
 * I’m sorry to hear you’re experiencing issues using SiteOrigin Page Builder. Is
   this happening for all pages, or only some? Are you able to access the editor
   of a page where this issue is occurring? If so, would it be possible for you 
   to send me an export of the layout having issues? To export a page, please open
   up the page in the editor and click the Layout button in the Page Builder toolbar.
   Then click import/export and then click download. Please upload the export to
   a 3rd party file hosting site such as [WeTransfer](https://wetransfer.com/) (
   no email is required).
 *  Thread Starter [shabaz001](https://wordpress.org/support/users/shabaz001/)
 * (@shabaz001)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/cannot-use-string-offset-as-an-array-3/#post-11911519)
 * Hi,
 * Its happening for all pages. I am able to edit a page / post however none of 
   the SiteOrigin Page Builder features work. I am unable to export the page due
   to the same thing.
 * See this screenshot: [https://imgur.com/s3opaad](https://imgur.com/s3opaad)
    -  This reply was modified 6 years, 9 months ago by [shabaz001](https://wordpress.org/support/users/shabaz001/).
 *  Plugin Contributor [alexgso](https://wordpress.org/support/users/alexgso/)
 * (@alexgso)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/cannot-use-string-offset-as-an-array-3/#post-11911568)
 * Hi shabaz001,
 * Thanks for confirming. Would you mind running a quick plugin conflict test?
 * You can start by disabling all non-SiteOrigin plugins and see if this fixes the
   issue. You’ll need to clear all your caches after disabling your plugins. So 
   just to confirm, double check if the issue is coming up while all other plugins
   are disabled.
 * If it does fix the issue, then try re-enabling your plugins one by one until 
   the issue comes back. This procedure will help diagnose which plugin is causing
   the issue. Once we know that, we’ll be able to look at what might be causing 
   the conflict and either solve the problem or help you find an alternative plugin.
 * You could also try temporarily switching to a default WordPress theme like Twenty
   Sixteen. Default WordPress themes are generally very lightweight which lowers
   the chance that they’ll conflict with plugins, so they’re a good way to test 
   if your original theme is the source of the issue.
 *  Thread Starter [shabaz001](https://wordpress.org/support/users/shabaz001/)
 * (@shabaz001)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/cannot-use-string-offset-as-an-array-3/#post-11911635)
 * Hi,
 * So I disabled all plugins and only left SiteOrigin page builder plugin active
   and the problem remained. As soon as I deactivate the site origin page builder
   plugin the page loads fine (but ofcourse layout is screwed up due to the builder
   element code).
 * So the problem lies with the SiteOrigin page builder plugin for sure. I even 
   switched to a different theme and tested. Same issue, the SiteOrigin page builder
   plugin is the cause here.
 * What solutions do I have now?
    -  This reply was modified 6 years, 9 months ago by [shabaz001](https://wordpress.org/support/users/shabaz001/).
 *  Thread Starter [shabaz001](https://wordpress.org/support/users/shabaz001/)
 * (@shabaz001)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/cannot-use-string-offset-as-an-array-3/#post-11911658)
 * This is the error that continues to get logged after disabling all plugins apart
   from Site Origin page builder:
 * `[Sun Sep 08 19:41:26 2019] [error] [client 86.2.132.135:0] PHP Fatal error: 
   Cannot use string offset as an array in /home/sites/5a/0/01d061323c/public_html/
   wp-content/plugins/siteorigin-panels/siteorigin-panels.php on line 568`
 *  Plugin Contributor [alexgso](https://wordpress.org/support/users/alexgso/)
 * (@alexgso)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/cannot-use-string-offset-as-an-array-3/#post-11912971)
 * Hi shabaz001,
 * Unfortunately, we having trouble replicating this issue. You mentioned you tried
   rolling back and that didn’t help. How far did you try rolling back? Can you 
   please try rolling back to 2.9.7 (last update before 2.10.0) to see if that helps?
 *  Thread Starter [shabaz001](https://wordpress.org/support/users/shabaz001/)
 * (@shabaz001)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/cannot-use-string-offset-as-an-array-3/#post-11918863)
 * Hi,
 * I’ve tried rolling back to that version plus older versions and the problem remains.
 * Can you take a look at my error message, that may help you figure whats going
   wrong.
 *  Thread Starter [shabaz001](https://wordpress.org/support/users/shabaz001/)
 * (@shabaz001)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/cannot-use-string-offset-as-an-array-3/#post-11919111)
 * So it seems like this only happens on the homepage.
 * The rest of the pages work fine however on the homepage I get the following error:
 * `The site is experiencing technical difficulties.`
 * Then I get a WP email notifying me of the error:
 *     ```
       Error Details
       =============
       An error of type E_ERROR was caused in line 568 of the file /home/sites/5a/0/01d061323c/public_html/wp-content/plugins/siteorigin-panels/siteorigin-panels.php. Error message: Uncaught Error: Cannot use string offset as an array in /home/sites/5a/0/01d061323c/public_html/wp-content/plugins/siteorigin-panels/siteorigin-panels.php:568
       Stack trace:
       #0 /home/sites/5a/0/01d061323c/public_html/wp-includes/class-wp-hook.php(288): SiteOrigin_Panels->process_panels_data(Array)
       #1 /home/sites/5a/0/01d061323c/public_html/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array)
       #2 /home/sites/5a/0/01d061323c/public_html/wp-content/plugins/siteorigin-panels/inc/admin.php(620): apply_filters('siteorigin_pane...', Array, '503')
       #3 /home/sites/5a/0/01d061323c/public_html/wp-content/plugins/siteorigin-panels/inc/admin.php(199): SiteOrigin_Panels_Admin->get_current_admin_panels_data()
       #4 /home/sites/5a/0/01d061323c/public_html/wp-admin/includes/template.php(1310): SiteOrigin_Panels_Admin->render_meta_boxes(Object(WP_Post), Array)
       #5 /home/sites/5a/0/01d061323c/public_html/wp-admin/edit-form-advanced.php(665): do_meta_boxes(Object(WP_Screen), 'advanced', Object(WP_Post))
       #6 /home/sites/5a/0/
       ```
   
    -  This reply was modified 6 years, 9 months ago by [shabaz001](https://wordpress.org/support/users/shabaz001/).
 *  Plugin Contributor [alexgso](https://wordpress.org/support/users/alexgso/)
 * (@alexgso)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/cannot-use-string-offset-as-an-array-3/#post-11919763)
 * Hi shabaz001,
 * Thanks for confirming. Please try [restoring a previous revision](https://www.wpbeginner.com/beginners-guide/how-to-undo-changes-in-wordpress-with-post-revisions/)
   of your home page. It’s possible a recent change you’ve made to your home page
   has corrupted your page builder data and restoring a revision will restore a 
   working version.
 *  Thread Starter [shabaz001](https://wordpress.org/support/users/shabaz001/)
 * (@shabaz001)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/cannot-use-string-offset-as-an-array-3/#post-11919844)
 * Hi, its not possible to do that. As soon as I click the revisions button I get
   the same error: `The site is experiencing technical difficulties. Please check
   your site admin email inbox for instructions.`
 * Something is seriously wrong with this plugin could you not just tell whats wrong
   with that error message I showed above? Surely that indicates its the plugin 
   and not the website?
 *  Plugin Contributor [alexgso](https://wordpress.org/support/users/alexgso/)
 * (@alexgso)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/cannot-use-string-offset-as-an-array-3/#post-11923879)
 * Hi [@shabaz001](https://wordpress.org/support/users/shabaz001/),
 * Unfortunately, this is caused by a recent change you made to your home page which
   has corrupted the page builder data. These sort of errors are very rare and we
   go to significant lengths to account for and handle corrupted data. Unfortunately,
   sometimes we’re not able to account for certain situations and this sort of issue
   occurs. I’ve forwarded your findings to the development and they’ll add additional
   checks to prevent his type of issue occurring.
 * Ideally, can you please clarify what the last change you made to your home page
   was? This should hopefully allow us to reliably replicate this.
 * Restoring a revision of your home page will allow you to continue using your 
   home page. Can you please send me a screenshot of the error on your revision 
   page? An error there shouldn’t be possible so I would like to forward a screenshot
   of that error to the development team also.
 *  Thread Starter [shabaz001](https://wordpress.org/support/users/shabaz001/)
 * (@shabaz001)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/cannot-use-string-offset-as-an-array-3/#post-11934683)
 * Hi, this cannot have happened due to a recent change because I haven’t made a
   change to this page in a long time. I cannot even check my past revisions because
   the moment I click on the revisions button I get the above error, so I cannot
   tell you what my last revision was because I cannot check it.
 * As I’ve explained before, I cannot restore a revision of my home page because
   it throws an error when I click on revisions.
 * I have attached screenshots of the error I get when I click on revisions along
   with the errors that appear in the console when I’m on the edit screen of the
   page.
 * Here is the link to the screenshots: [https://imgur.com/a/ubBAH9l](https://imgur.com/a/ubBAH9l)
 *  Plugin Contributor [alexgso](https://wordpress.org/support/users/alexgso/)
 * (@alexgso)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/cannot-use-string-offset-as-an-array-3/#post-11935132)
 * Hi [@shabaz001](https://wordpress.org/support/users/shabaz001/),
 * Thank you for the screenshots. The screenshot of the network error and console
   errors are unrelated to SiteOrigin Page Builder. Can you please [post a thread](https://siteorigin.com/thread/)
   on our forums? This will allow us to request login details to your website and
   run some tests to identify why this issue is happening.

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

The topic ‘Cannot use string offset as an array’ is closed to new replies.

 * ![](https://ps.w.org/siteorigin-panels/assets/icon.svg?rev=2556869)
 * [Page Builder by SiteOrigin](https://wordpress.org/plugins/siteorigin-panels/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/siteorigin-panels/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/siteorigin-panels/)
 * [Active Topics](https://wordpress.org/support/plugin/siteorigin-panels/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/siteorigin-panels/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/siteorigin-panels/reviews/)

 * 13 replies
 * 2 participants
 * Last reply from: [alexgso](https://wordpress.org/support/users/alexgso/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/cannot-use-string-offset-as-an-array-3/#post-11935132)
 * Status: resolved