Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › PHP 7.0 Compatibility for Neighborhood Theme
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › PHP 7.0 Compatibility for Neighborhood Theme
- This topic has 22 replies, 4 voices, and was last updated 7 years by Swift Ideas – Ed.
-
Posted in: Neighborhood
-
November 22, 2016 at 9:02 pm #303102
Our hosting company (WP Engine) is planning to migrate us to a new server that’s running PHP 7.0.
After running their PHP Compatibility Plugin – there is now a question as to wther the Neighborhood Theme is compatible – it came back as “UNKNOWN”.
However the Child theme came back as compatible.
Can you please advise?
Thanks,
Barbara
Admin, TrackSlayer.comAttachments:
You must be logged in to view attached files.November 24, 2016 at 12:19 pm #303401Hi,
The latest version should indeed work fine. We have no current reported issues, we did resolve 3 known issues a few months back though and that was it.
Thanks,
David.November 24, 2016 at 2:02 pm #303442Thanks, David –
So be be clear – the Neighborhood theme is fully compliant with PHP 7.0? I will run the scan again & provide your with the details of the warnings.
November 24, 2016 at 2:20 pm #303446Hi,
Yes we are not aware of any issues currently.
November 24, 2016 at 2:21 pm #303447Just to clarify, ask them to setup your staging site and run the update there.
November 24, 2016 at 3:56 pm #303480Hi David –
We are running the latest version of Neighborhood Theme on our site.
Below is the output of the WP Engine PHP Compatibility Plugin – running a scan of the Neighborhood Theme with PHP 7.0.
Here are the errors & warnings below – please advise:
FILE: /nas/content/live/trackslayer/wp-content/themes/neighborhood/includes/swift-framework/page-builder/sf-page-builder.php
—————————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————————————————-
1 | WARNING | File has mixed line endings; this may cause incorrect results
—————————————————————————————————————————-FILE: /nas/content/live/trackslayer/wp-content/themes/neighborhood/includes/swift-framework/options/validation/preg_replace/validation_preg_replace.php
——————————————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
——————————————————————————————————————————————————-
27 | ERROR | preg_replace() – /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
——————————————————————————————————————————————————-FILE: /nas/content/live/trackslayer/wp-content/themes/neighborhood/includes/widgets/phpFlickr/phpFlickr.php
—————————————————————————————————————–
FOUND 18 ERRORS AND 2 WARNINGS AFFECTING 18 LINES
—————————————————————————————————————–
58 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
82 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
83 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
89 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
98 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
99 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
101 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
102 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
141 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
142 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
143 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
174 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
175 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
178 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
181 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
492 | ERROR | Function ereg() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_match instead
492 | ERROR | Extension ‘ereg’ is deprecated since PHP 5.3 and removed since PHP 7.0 – use pcre instead.
501 | ERROR | Function ereg() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_match instead
501 | ERROR | Extension ‘ereg’ is deprecated since PHP 5.3 and removed since PHP 7.0 – use pcre instead.
1689 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
—————————————————————————————————————–November 25, 2016 at 12:56 pm #303648Will forward it to the development team so they can have look.
Thanks-Rui
November 26, 2016 at 2:52 am #303798Thanks for the heads up @trackslayer. We have fixed these for the next update.
– Ed
November 28, 2016 at 4:18 pm #304008Hi Ed –
Thanks for your reply.
What is the ETA for the next update please?
The reason I ask is that this impacts when we are able to move our site to a PHP 7.0 server – which is on deck within teh week at WP Engine.
Thanks again for your help!
Barbara
November 29, 2016 at 9:38 am #304113Hi @Barbara
Should be within the next week or so – else we can provide the zip now for you?
– Ed
November 29, 2016 at 4:55 pm #304234This reply has been marked as private.November 29, 2016 at 7:54 pm #304313Thanks Ed, Babrara stay tuned for the auto update.
November 30, 2016 at 11:39 am #304414Hi @Babrara
Will probably be within a week or so, either way here is the zip – http://swiftideas.d.pr/77GA/3JO4ihYC
– Ed
November 30, 2016 at 5:01 pm #304505Thank you for the zip, Ed!
November 30, 2016 at 5:10 pm #304511No problem. Thanks Ed.
-Rui
-
Posted in: Neighborhood
You must be logged in and have valid license to reply to this topic.