Support » Plugin: Years Ago Today » Magic method must have public visibility

  • kOoLiNuS


    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

Viewing 1 replies (of 1 total)
  • Thread Starter kOoLiNuS


    Anyway, editing manually the file at row 86 from

    private function __wakeup() {}


    public function __wakeup() {}

    apparently solved the issue

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.