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

  • 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 1 replies (of 1 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

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