PHP 7.0 compatibility
-
I have upgraded my system to PHP 7.0. The PHP compatibility checker plugin reports these errors:
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.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP 7.0 compatibility’ is closed to new replies.