• Resolved bbuerger

    (@bbuerger)


    Hi,
    I am using WordPress with debug turned of. I am still getting a warning from page builder:

    Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /homepages/4/d468648049/htdocs/testneu/wp-content/plugins/siteorigin-panels/inc/styles-admin.php on line 392

    This warning is shown on every page, even in the backend, sometimes twice. It looks like page builder is turning this on.

    Media page is broken, too. There ist only a small slitlike view, where you can see part of the images.

    I turned the page to maintenance mode, since I do not want messages to be shown to the outside. I can turn the warning off by either disabling page builder or changing “continue” to “break” in the source file. That fixes the problem with the media page, too. I still do not like messages showing up like that, so how can I get that fixed?

    The message started with either the installation of 2.9.6 or wordpress 4.9.9

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Andrew Misplon

    (@misplon)

    Hi @bbuerger

    Sorry to hear about the hassle.

    Please, let us know what version of PHP you’re using. If you’re unable to check via cPanel or similar, you can check using: https://ww.wp.xz.cn/plugins/server-ip-memory-usage/.

    Thread Starter bbuerger

    (@bbuerger)

    Hi Andrew,

    thank you for your reply. I am on PHP 7.3

    Thread Starter bbuerger

    (@bbuerger)

    I just upgraded to 2.9.7 and the warning is back. Changed the source file again and it is fine.

    Plugin Support Andrew Misplon

    (@misplon)

    Thanks for confirming. Unfortunately, the 2.9.7 release was already finalized when this issue was logged. We’ll have this resolved in the next update, thanks for raising the issue and for your understanding.

    Thread Starter bbuerger

    (@bbuerger)

    Unfortunately I found another warning in Site Origins Widgets Bundle:
    Warning: preg_replace_callback(): Compilation failed: invalid range in character class at offset 22 in /homepages/4/d468648049/htdocs/testneu/wp-content/plugins/so-widgets-bundle/base/siteorigin-widget.class.php on line 853

    I use Version 1.13.4

    This warning shows up on pages where I use Site Origin Hero Widget.

    I am extremely unhappy with the warning message showing up, not so much with the warning itself.

    Plugin Support Andrew Misplon

    (@misplon)

    Thanks for the update, sorry for the hassle, I’ll log this issue now.

    The shortest resolution would be to downgrade your PHP version to PHP 7.2.1 or similar, until the next release of Page Builder and the Widgets Bundle. Some hosts offer really easy PHP version switching in their control panels. Others like Pair offer PHP version switching by editing the htaccess file. You could ask your hosts or Google your host name + switch PHP version. For example, if I Google “godaddy switch php version” I get the following article.

    Thread Starter bbuerger

    (@bbuerger)

    I downgraded to PHP 7.2. It works fine, thank you.

    Plugin Support Andrew Misplon

    (@misplon)

    Super, thanks for taking that step. We’ll have these PHP 7.3 warnings resolved in the next Page Builder and Widgets Bundle updates. Please, wait for both to be updated before switching back to 7.3. Thanks again 🙂

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

The topic ‘Warning Message in Version 2.9.6’ is closed to new replies.