We need to upgrade our web server to PHP 7, but SiteOrigin Widgets Bundle is causing three PHP compatibility warnings and three errors. I’ve pasted them below.
I posted about this on the WordPress plugin forum under Support, but did not receive a response. Now my post has been deleted. I don’t know why.
We’d greatly appreciate advice, or at least some explanation as to why this is an inappropriate question, if it is one.
FILE: /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: /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 ------------------------------------------------------------------------------------------------------------------------
Hi Tammy,
These are false positives. You can safely ignore these warnings as they’re not actually issues.
I’m unsure why your thread was deleted but we can’t actually delete threads on WordPress.org so I suspect it was deleted by the moderator team on accident.