PHP 7 compatibility
-
Hello.
Thank you for your plugin development.While using the PHP Compatibility Checker plugin from the WordPress repository, it generated the following two errors when tested against PHP 7:
FILE: /plugins/pc-robotstxt/pc-robotstxt.php
———————————————————————————–
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————–
35 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
———————————————————————————–FILE: /plugins/pc-robotstxt/admin.php
—————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
—————————————————————————-
4 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
—————————————————————————-Sure you know of this, but for others…whilst researching topic…
PHP Remove Constructors page.Curt
- The topic ‘PHP 7 compatibility’ is closed to new replies.