• An error occurs when using PHP 8.x:

    PHP Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in [...]/wp-content/plugins/wp-rss-retriever/inc/lib/simplepie/library/SimplePie/Parse/Date.php:544

    This error can be fixed by adjusting the file in question:
    /wp-content/plugins/wp-rss-retriever/inc/lib/simplepie/library/SimplePie/Parse/Date.php

    Here, lines 544 and 545 must be replaced as follows:

    		$this->day_pcre = '(' . implode('|', array_keys($this->day)) . ')';
    		$this->month_pcre = '(' . implode('|', array_keys($this->month)) . ')';

    More information: https://www.php.net/manual/de/function.implode.php

    • This topic was modified 1 year, 12 months ago by sybena.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘FIXED: PHP 8.x Error’ is closed to new replies.