Home>Support>So Widget Bundle not compatible with PHP 7.0?

So Widget Bundle not compatible with PHP 7.0?

Hi all. I have a site (scotthom.com) using Siteground’s hosting service. They have a plugin, SG Optimizer, that checks your site for PHP 7.0 compatibility, and it appears that the SO Widget Bundle plugin is not, see below. Can this be fixed?

FILE: /home/xxxxxx/public_html/scotthom.com/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
—————————————————————————————————————————-

FILE: /home/xxxxxx/public_html/scotthom.com/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.
—————————————————————————————————————

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, 2 months ago Alex S
    Hi, I Work Here

    Hi Scott,

    We’ve run a few tests regarding this issue and looked into it in the past. This error is coming up due to how the PHP 7 Compatability Checker checks things. It’s basically missing the context and said context prevents the issue from occurring and flagging it incorrectly as a result.

    In other words, this is a false positive and safe to ignore.

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