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.

PHP 7 compatibility

8 years ago · Last reply by Alex S 8 years ago

Hi,

I am using Storefront. I did a test with the Plugin PHP compatibility what was the problem when upgrading to php7 and this is what I’ve got as a result:

FILE: /home…/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: /home…/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
—————————————————————————————————————-

What do you think I should do?

Greetings,

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

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Alex S Staff 8 years, 4 months ago

    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. We’re not too sure why you’re unable to use PHP 7, but it’s not due to the SiteOrigin Widgets Bundle. 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.

Have a different question or issue?

Start New Thread