• Resolved redsand

    (@redsand)


    Hello,

    Just wanted to make a suggested fix. To prevent deprecated constructor errors in PHP 7, the constructor function name should be changed on line 424.

    Currently line 424 is:

    function WP_Object_Cache() {

    …and it just needs a change to:

    function __construct() {

    Notes on the deprecated changes from the PHP manual: https://php.net/manual/en/migration70.deprecated.php

    Thanks and take care!

    – Scott

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Notices: Deprecated Constructor’ is closed to new replies.