Support » Theme: Chronus » PHP 8.1 – Fix suggestion for PHP Deprecated error

  • Resolved Lena Stergatou

    (@lenasterg)


    Hi.
    Thanks for the great theme. I use it in PHP 8.1 and I noticed that a get the following error:
    PHP Deprecated: Automatic conversion of false to array is deprecated in /wp-content/themes/chronus/inc/magazine.php on line 133

    I manage to fix it by adding on line 132 of that file the following:
    $post_ids = array();

    Hope you can add it into the next version of the theme so I wouldn’t lose that change.

    Bests,
    Lena

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