This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Error message: undefined property

7 years ago · Last reply by Claudia Schreiber 7 years ago

Hi guys,

since a couple of days, I get the following error message:

PHP Notice: Undefined property: WP_Screen::$is_block_editor in /homepages/xx/dxxxxxx/htdocs/wp-content/plugins/siteorigin-panels/inc/admin.php on line 118

WordPress version 4.9.9, no pending updates.

I saw that this had already been posted, but without a solution :(

Greets,
Claudia

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

10
  1. Alex S Staff 7 years, 20 days ago

    Hi Claudia,

    I’m sorry to hear you’re experiencing issues. Can you please clarify when does this error occur? Is it when editing pages? Are you using Gutenberg?

  2. Claudia Schreiber 7 years, 20 days ago

    Hi Alex,

    I see this when switching from the media library to “Edit Media”. The exact same warning is displayed 3 times on top of the page.

    No Gutenberg installed.

  3. Alex S Staff 7 years, 20 days ago

    Hi Claudia,

    Thanks. I’ve been able to replicate this issue and I’ve submitted a fix with the development team. This issue should be fixed in the next SiteOrigin Page Builder update. You can avoid this issue in the by updating WordPress – if you wish to avoid the Block Editor (ie. Gutenberg), please install the Classic Editor plugin.

  4. Claudia Schreiber 7 years, 20 days ago

    Hi Alex,

    thanks for the quick response.
    Unfortunately, I currently can’t update WordPress as I am using MultilingualPress 2, which is not compatible with WordPress 5.0 and the guys over there couldn’t come up with a solution up to now :(
    So I’ll wait for the Page Builder update.

  5. Alex S Staff 7 years, 20 days ago

    Hi Claudia Schreiber,

    I’m very sorry to hear that. Are you familiar with editing PHP files? I can provide you with instructions on applying this fix but I won’t be able to assist you with adding the PHP or any issues resulting from incorrectly adding the PHP.

  6. Claudia Schreiber 7 years, 20 days ago

    Do I get it right that a Page Builder update will not fix the issue for WP 4.9.9?

    Not an expert here, but I already managed to edit some PHP files. If you could give me your instructions, I can at least try to fix it.

  7. Alex S Staff 7 years, 20 days ago

    Hi Claudia,

    No, we will release a SiteOrigin Page Builder update to fix this issue but my previous comment will give you a method of avoiding this issue until the next SiteOrigin Page Builder update. Please open your websites WordPress files and navigate to wp-content/plugins/siteorigin-panels/inc and open admin.php. Replace:

    $screen->is_block_editor;

    With:

    ( ! method_exists( $screen, 'is_block_editor' ) || $screen->is_block_editor );

    Here’s the pull requestfor this issue.

  8. Claudia Schreiber 7 years, 20 days ago

    Yippee! – done – and it works! No more error messages occurring. Now, here is to hope that it didn’t break sth. else 😉.

    Do I need to change sth. when the Page Builder update comes out, or will this work automatically?

  9. Alex S Staff 7 years, 20 days ago

    Hi Claudia,

    Great to hear that helped! :)
    You won’t need to apply this change after the next update as it’ll be applied automatically.

    Please be sure to post another thread if you have any other questions.

  10. Claudia Schreiber 7 years, 20 days ago

    Super! Thanks for your help, Alex!

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.

Have a different question or issue?

Start New Thread