/wp-content/plugins/wp-super-cache/wp-cache.php
————————————————————————————-
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 2 LINES
————————————————————————————-
239 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4
239 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4
244 | WARNING | INI directive ‘safe_mode_gid’ is deprecated since PHP 5.3 and removed since PHP 5.4
Please fix this to next update.
Thanks.
I’ve run a compatibility checker plugin with php 7.0 and the Fullworks WP VPS security (stop user enumeration) is coming up with an error:
FILE: /nas/content/staging/cyberseer/wp-content/plugins/stop-user-enumeration/freemius/includes/fs-essential-functions.php
————————————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
————————————————————————————————————————————–
172 | WARNING | Function name “__fs” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
Is this something you’ll be updating in the next plugin release?
Many thanks
Liz
x All-in-One Event Calendar by Time.ly – Errors: 1
FILE: /home/famillesdv/www/wp-content/plugins/all-in-one-event-calendar/lib/theme/search.php
——————————————————————————————–
FOUND 1 ERROR AFFECTING 1 LINE
——————————————————————————————–
103 | ERROR | Global with variable variables is not allowed since PHP 7.0
——————————————————————————————–
Is there something I can do ?
Thanks in advance for your answer.
Chantal
------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /home/*****/public_html/*****/*****/wp-content/plugins/wd-twitter-feed/includes/Resource/Resource_usertimeline.php
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
11 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /home/*****/public_html/*****/wp-content/plugins/wd-twitter-feed/includes/Resource/TwitterResource.php
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
11 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /home/*****/public_html/*****/wp-content/plugins/wd-twitter-feed/includes/Resource/Resource_status.php
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
11 | ERROR | 'resource' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_NAMESPACE)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Running Twitter Feed Version 2.1.11 on WP 4.7.3
]]>FILE: ../wp-content/plugins/order-tracking/html/AdminFooter.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.
Can be solved by inserting an empty <?php tag.
FILE: ../wp-content/plugins/order-tracking/PHPExcel/Classes/PHPExcel/Calculation/Functions.php
FOUND 1 ERROR AFFECTING 1 LINE
581 | ERROR | Using 'break' outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
Can be solved by removing that break statement, that (after a return) makes no sense anyway.
FILE: ../wp-content/plugins/order-tracking/PHPExcel/Classes/PHPExcel/Calculation/Database.php
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
67 | WARNING | Method name "PHPExcel_Calculation_Database::__fieldExtract" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
98 | WARNING | Method name "PHPExcel_Calculation_Database::__filter" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
Can be solved by removing the __ prefix from the function definitions and all references.
FILE: ../wp-content/plugins/order-tracking/PHPExcel/Classes/PHPExcel/Shared/JAMA/examples/Stats.php
FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
1428 | WARNING | Method name "Base::__sumdiff" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
1460 | WARNING | Method name "Base::__calcVariance" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
1488 | WARNING | Method name "Base::__calcAbsoluteDeviation" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
1513 | WARNING | Method name "Base::__sumabsdev" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
1545 | WARNING | Method name "Base::__format" is discouraged; PHP has reserved all method names with a double underscore prefix for future use
can be solved by removing the __ prefixes.
FILE: ../wp-content/plugins/order-tracking/PHPExcel/Classes/PHPExcel/Shared/PCLZip/pclzip.lib.php
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
215 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
5347 | ERROR | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0
5378 | ERROR | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0
Replaced constructor by __construct function; removed deprecated functions.
FILE: ../wp-content/plugins/order-tracking/PHPExcel/Classes/PHPExcel/CachedObjectStorage/SQLite.php
FOUND 9 ERRORS AFFECTING 9 LINES
63 | ERROR | Extension 'sqlite' is removed since PHP 5.4
64 | ERROR | Extension 'sqlite' is removed since PHP 5.4
108 | ERROR | Extension 'sqlite' is removed since PHP 5.4
142 | ERROR | Extension 'sqlite' is removed since PHP 5.4
166 | ERROR | Extension 'sqlite' is removed since PHP 5.4
211 | ERROR | Extension 'sqlite' is removed since PHP 5.4
236 | ERROR | Extension 'sqlite' is removed since PHP 5.4
274 | ERROR | Extension 'sqlite' is removed since PHP 5.4
276 | ERROR | Extension 'sqlite' is removed since PHP 5.4
For this problem I don’t have a simple solution. The plugin seems to work fine, however.
]]>FILE: /var/www/.../wp-content/plugins/spider-event-calendar/spidercalendar_upcoming_events_widget.php
--------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------
21 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
--------------------------------------------------------------------------------------------------------------
FILE: /var/www/.../wp-content/plugins/spider-event-calendar/widget_spider_calendar.php
-----------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------
7 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
-----------------------------------------------------------------------------------------------
This can be corrected by replacing the constructor functions by the __construct () function.
]]>FILE: /var/www/wp-eehmke/wp-content/themes/swift/lib/admin/np-setup.php
11 | ERROR | Function split() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_split instead
When I replace the mentioned function call as suggested, the error is corrected.
]]>