Home>Support>PHP 7 Compatibility Concerns

PHP 7 Compatibility Concerns

I ran the PHP compatibility tester by WPEngine against the plugins in my site, which include SiteOrigins PageBuilder and the Widget Bundle. The following issues were noted as errors showing PHP 7 compatibility problems.

1) Can you look over an address these, possibly in an update to the plugin?
2) Do you have a compatibility statement regarding PHP 7 for the SiteOrigin plugins?

Thanks!

Joe

ERROR MESSAGES:

SITEORIGIN PAGEBUILDER
FILE: /var/www/html/wp-content/plugins/siteorigin-panels/widgets/lib/lessc.inc.php
————————————————————————————————————————————
FOUND 4 ERRORS AFFECTING 4 LINES
————————————————————————————————————————————
2500 | ERROR | ‘string’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
2514 | ERROR | ‘string’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
2645 | ERROR | ‘string’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
2677 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword ‘string’ (since version 7.0)
————————————————————————————————————————————

SITEORIGIN WIDGET BUNDLE
FILE: /var/www/html/wp-content/plugins/so-widgets-bundle/base/inc/markdown.php
——————————————————————————
FOUND 1 ERROR AFFECTING 1 LINE
——————————————————————————
50 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
——————————————————————————

FILE: /var/www/html/wp-content/plugins/so-widgets-bundle/base/inc/lessc.inc.php
————————————————————————————————————————————
FOUND 5 ERRORS AFFECTING 5 LINES
————————————————————————————————————————————
2643 | ERROR | ‘string’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
2657 | ERROR | ‘string’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
2788 | ERROR | ‘string’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
2819 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword ‘string’ (since version 7.0)
3073 | ERROR | ‘string’ is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING)
————————————————————————————————————————————

FILE: /var/www/html/wp-content/plugins/so-widgets-bundle/base/tpl/preview.php
———————————————————————————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————————————————————————————————-
1 | WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
———————————————————————————————————————————————————————————-

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

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More