• Resolved kOoLiNuS

    (@koolinus)


    Ciao!
    Since my hosting migration, with PHP8.0 I am seeing this warning

    Warning: The magic method c2c_YearsAgoToday::__wakeup() must have public visibility in ~/wp-content/plugins/years-ago-today/years-ago-today.php on line 86

    How can I solve? Thanks
    kOoLiNuS

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kOoLiNuS

    (@koolinus)

    Anyway, editing manually the file at row 86 from

    private function __wakeup() {}

    to

    public function __wakeup() {}

    apparently solved the issue

    Plugin Author Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    @koolinus: Thanks for the report and proposed change! The fix has been incorporated into the just-released v1.5 of the Years Ago Today plugin.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Magic method must have public visibility’ is closed to new replies.