php7.x+ support?
-
I just ran my site through PHP Compatibility Checker and noticed a lot of warnings with functions that were dated back to php4. . .
FILE: /var/www/site.com/htdocs/wp-content/plugins/woocommerce-products-by-category/classes/class-recently-viewed-products-by-category.php --------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE --------------------------------------------------------------------------------------------------------------------------------------------------- 27 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7. --------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /var/www/site.com/htdocs/wp-content/plugins/woocommerce-products-by-category/classes/class-recent-products-by-category.php ------------------------------------------------------------------------------------------------------------------------------------------ FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------------ 27 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7. ------------------------------------------------------------------------------------------------------------------------------------------ FILE: /var/www/site.com/htdocs/wp-content/plugins/woocommerce-products-by-category/classes/class-bestsellers-products-by-category.php ----------------------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ----------------------------------------------------------------------------------------------------------------------------------------------- 27 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7. ----------------------------------------------------------------------------------------------------------------------------------------------- FILE: /var/www/site.com/htdocs/wp-content/plugins/woocommerce-products-by-category/classes/class-top-rated-products-by-category.php --------------------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE --------------------------------------------------------------------------------------------------------------------------------------------- 27 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7. --------------------------------------------------------------------------------------------------------------------------------------------- FILE: /var/www/site.com/htdocs/wp-content/plugins/woocommerce-products-by-category/classes/class-featured-products-by-category.php -------------------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------------------------------------------------------------------------- 29 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7. -------------------------------------------------------------------------------------------------------------------------------------------- FILE: /var/www/site.com/htdocs/wp-content/plugins/woocommerce-products-by-category/classes/class-onsale-by-category.php --------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE --------------------------------------------------------------------------------------------------------------------------------- 28 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7. ---------------------------------------------------------------------------------------------------------------------any word on if this plugin will get updated to support moder versions of PHP. WordPress 5.0 is coming out soon and it will be supporting 7.3. This test was only done against 7.0, so I can only imagine how many more errors would pop up with a test against 7.1 and 7.2
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘php7.x+ support?’ is closed to new replies.