WPPizza – A Restaurant Plugin for WordPress › Support › General Support › Compatibility with PHP 7
- AuthorPosts
- 10 October, 2017 at 3:28 pm #31590
Hello, I have to update to PHP 7 and I ran a test to see if there would be any issues. The report says the following:
…plugins/wppizza/templates/wppizza-order-email-html.php
————————————————————————————————————————————————
FOUND 8 ERRORS AFFECTING 8 LINES
————————————————————————————————————————————————
42 | ERROR | The behaviour of hexadecimal numeric strings was inconsistent prior to PHP 7 and support has been removed in PHP 7. Found: ‘0x5’
167 | ERROR | The behaviour of hexadecimal numeric strings was inconsistent prior to PHP 7 and support has been removed in PHP 7. Found: ‘0x5’
171 | ERROR | The behaviour of hexadecimal numeric strings was inconsistent prior to PHP 7 and support has been removed in PHP 7. Found: ‘0x5’
176 | ERROR | The behaviour of hexadecimal numeric strings was inconsistent prior to PHP 7 and support has been removed in PHP 7. Found: ‘0x5’
181 | ERROR | The behaviour of hexadecimal numeric strings was inconsistent prior to PHP 7 and support has been removed in PHP 7. Found: ‘0x5’
186 | ERROR | The behaviour of hexadecimal numeric strings was inconsistent prior to PHP 7 and support has been removed in PHP 7. Found: ‘0x5’
190 | ERROR | The behaviour of hexadecimal numeric strings was inconsistent prior to PHP 7 and support has been removed in PHP 7. Found: ‘0x5’
195 | ERROR | The behaviour of hexadecimal numeric strings was inconsistent prior to PHP 7 and support has been removed in PHP 7. Found: ‘0x5’
————————————————————————————————————————————————…plugins/wppizza/inc/common.helper.functions.inc.php
——————————————————————————————————————————
FOUND 7 ERRORS AFFECTING 7 LINES
——————————————————————————————————————————
115 | ERROR | preg_replace() – /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
255 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
257 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
261 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
264 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
265 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
268 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
——————————————————————————————————————————…plugins/wppizza/inc/admin.system-info.php
——————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
——————————————————————————————————————–
61 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4
——————————————————————————————————————–What are we supposed to do? Please help. Thanks!
10 October, 2017 at 3:52 pm #31591these are all completely false positives (and some of them in functions that are not even in use anywhere or from fallbacks if the server setup has not been updated )
in any event this is also from the old wppizza v2.x10 October, 2017 at 3:59 pm #31592Hi Olly,
Good to know! I have WPPizza version 2.16.11.23 and it has not asked for an update. How do I update to 3.0?
10 October, 2017 at 4:02 pm #31593>I have WPPizza version 2.16.11.23 and it has not asked for an update
then you might have something set somewhere that does block updates.However, i STRONGLY suggest you do NOT now simply enable updates (as you might automatically be updated to 3.0.28 – or whatever the latest one currently is)
you MUST read this http://docs.wp-pizza.com/getting-started/?section=upgrade-v2-x-v3-x
- AuthorPosts
- The topic ‘Compatibility with PHP 7’ is closed to new replies.