Home>Support>Site Origin Widgets Bundle PHP 7 compatibility

Site Origin Widgets Bundle PHP 7 compatibility

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi,
It seems that there is a PHP 7 compatibility problem with your plugin. When I try PHP compatibility I get this:

SiteOrigin Widgets Bundle – Warnings: 3 Errors: 3 toggle details

FILE: /home6/MySite/public_html/wp-content/plugins/so-widgets-bundle/base/inc/lib/Less/Parser.php
—————————————————————————————————
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
—————————————————————————————————
93 | WARNING | INI directive ‘mbstring.internal_encoding’ is deprecated since PHP 5.6
94 | WARNING | INI directive ‘mbstring.internal_encoding’ is deprecated since PHP 5.6
229 | WARNING | INI directive ‘mbstring.internal_encoding’ is deprecated since PHP 5.6
—————————————————————————————————

FILE: /home6/MySite/public_html/wp-content/plugins/so-widgets-bundle/base/inc/lib/Less/SourceMap/Base64VLQ.php
—————————————————————————————————————-
FOUND 3 ERRORS AFFECTING 1 LINE
—————————————————————————————————————-
156 | ERROR | Bitwise shifts by negative number will throw an ArithmeticError in PHP 7.0
156 | ERROR | Bitwise shifts by negative number will throw an ArithmeticError in PHP 7.0
156 | ERROR | Bitwise shifts by negative number will throw an ArithmeticError in PHP 7.0
—————————————————————————————————————-

I need to speed up my site but I really love your plugin. Is there something to do? Any help please with that?

*IMPORTANT NOTE*: I replaced my website domain name by “MySite” in this result.

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

  1. 7 years, 9 months ago Alex S
    Hi, I Work Here

    Hi David,

    We’ve looked into the highlighted issues in the past. These errors are coming up due to how the PHP 7 Compatability Checker checks for compatibility. It’s basically missing the context and the context prevents the issue from occurring and flagging it incorrectly as a result.

    In other words, these “issues” are false positive and safe to ignore. You’re able to use either PHP 7 or PHP 7.1 without issue. We actively use PHP 7 during development so we can assure you – there are no issues with PHP 7.

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