Newspaper 7.5 not PHP 7 compatible

Posted in: Newspaper
Post count: 3

Hi,

I ran PHP Compatibility check and got these errors and warnings:

FILE: /home/crooze/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_translate.php
—————————————————————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————————————————————
260 | WARNING | Function name “__td” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
—————————————————————————————————————————————

FILE: /home/crooze/public_html/wp-content/themes/Newspaper/includes/wp_booster/external/less.php-master/lib/Less/Parser.php
—————————————————————————————————————————
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
—————————————————————————————————————————
470 | WARNING | INI directive ‘mbstring.internal_encoding’ is deprecated since PHP 5.6.
471 | WARNING | INI directive ‘mbstring.internal_encoding’ is deprecated since PHP 5.6.
478 | WARNING | INI directive ‘mbstring.internal_encoding’ is deprecated since PHP 5.6.
—————————————————————————————————————————

FILE: /home/crooze/public_html/wp-content/themes/Newspaper/includes/wp_booster/external/less.php-master/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/crooze/public_html/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/external/wpalchemy/MetaBox.php
———————————————————————————————————————-
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
———————————————————————————————————————-
451 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
532 | ERROR | preg_replace() – /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
———————————————————————————————————————-

I think it would be a good idea to correct the theme script files accordingly.

Thanks.

Post count: 9544

Yes, it is NOT yet PHP 7 compatible and not advertised as such.

Post count: 7

Any plans to fix it?

Post count: 9544

I believe they are working on it, with WP 4.7 compatibility more critical for December. Since most good web hosts allow you to choose version of PHP to use, 5.6x still works very well with opcache. v7 is better, and there *are* some threads on here as to the couple of minor tweaks you can make “right now:” to work with PHP7.

(( I don;t work here … ))

Post count: 3

I hope they will make the theme PHP7 compatible ASAP. PHP7 is much faster than PHP5.6x . also, it does not seem to be a big job to get the exiting compatibility problems fixed.

Post count: 22421

Hi,

Yes we are working on it and we hope we can provide php 7 compatibility in the next theme update.

Thank you!

Post count: 3

Hi Bogdan,

GREAT !!!
Thank you and keep up the good work.

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.