Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 82367

PHP 7 Compatibility

$
0
0

Replies: 0

Hi,

I run a compatibility check against my wp installation and the only errors I got are these:


FILE: /home/myuser/public_html/wp-content/themes/pinnacle/themeoptions/redux/inc/validation/preg_replace/validation_preg_replace.php
--------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------
 30 | ERROR | preg_replace() - /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
--------------------------------------------------------------------------------------------------------------------------------------

FILE: /home/myuser/public_html/wp-content/themes/pinnacle/lib/init.php
---------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------------
 22 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword '__dir__' (since PHP version 5.3)
 22 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword '__dir__' (since PHP version 5.3)
---------------------------------------------------------------------------------------------------------------------------------------

Any plans to provide php 7 compatibility for this theme or any advice how can I fix it?

Thank you,
Nace
http://www.themagicoftraveling.com


Viewing all articles
Browse latest Browse all 82367