Home>Support>Illegal string offsent ‘class’

Illegal string offsent ‘class’

Am getting the following error every time site content (page or post) is edited: Illegal string offset ‘class’ in /[redacted]/public_html/wp-content/plugins/site-editor/editor/extensions/pagebuilder/includes/pb-shortcodes.class.php on line 330

That was causing a 500 error on the server using PHP 7.3. With update to PHP 7.4, no longer get the 500 error, but the edits take a long time to save and we still get the error in the error log.

Looking in the /[redacted]/public_html/wp-content/plugins/site-editor/editor/extensions/pagebuilder/includes/ folder, we see another error log, that shows the following errors, though these errors appear to have stopped with the update to PHP 7.4:

PHP Warning: Cannot assign an empty string to a string offset in /[redacted]/public_html/wp-content/plugins/site-editor/editor/extensions/pagebuilder/includes/ajax_shortcode_pattern.php on line 131 and

PHP Warning: Illegal string offset ‘sed_model_id’ in /home2/ywcawpcw/public_html/wp-content/plugins/site-editor/editor/extensions/pagebuilder/includes/ajax_shortcode_pattern.php on line 120

WordPress 5.7
Page Builder by SiteOrigin 2.11.8
SiteOrigin Widgets Bundle 1.17.11
Livemesh SiteOrigin Widgets 2.7.0
Theme: GeneratePress 3.0.3

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 3 years, 5 months ago Andrew Misplon
    Hi, I Work Here

    Hi Cliff

    Thanks for reaching out. Please, open a support thread with the author of the plugin in question. The plugin folder is named site-editor. I’m not sure of the plugin name though. Perhaps if you skim through your Plugins list you’ll find it. If you share a URL for a page impacted we can help to identify the plugin author if you’re stuck.

  2. 3 years, 5 months ago Andrew Misplon
    Hi, I Work Here

    This looks to be it here https://wordpress.org/plugins/site-editor/.

  3. 3 years, 5 months ago Cliff Rohde

    Thanks.

  4. 3 years, 5 months ago Andrew Misplon
    Hi, I Work Here

    Sure, no problem. If SiteOrigin questions arise in the future, please, let us know.

    Cheers for now.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More