Title: FIXED: PHP 8.x Error
Last modified: April 21, 2022

---

# FIXED: PHP 8.x Error

 *  [sybena](https://wordpress.org/support/users/sybena/)
 * (@sybena)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/fixed-php-8-x-error/)
 * 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](https://www.php.net/manual/de/function.implode.php)
    -  This topic was modified 4 years, 1 month ago by [sybena](https://wordpress.org/support/users/sybena/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [cvladan](https://wordpress.org/support/users/cvladan/)
 * (@cvladan)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/fixed-php-8-x-error/#post-15745697)
 * Thanks
 *  [Zac Scott](https://wordpress.org/support/users/zacscott123/)
 * (@zacscott123)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/fixed-php-8-x-error/#post-15813708)
 * Thanks boss, this worked.
 * I’d be really nice if this could be merged into the plugin itself / released 
   as a minor version.
 *  [fledo](https://wordpress.org/support/users/fledo/)
 * (@fledo)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/fixed-php-8-x-error/#post-15938118)
 * Confirmed working. Thanks a lot for the fix.
 *  [Russ](https://wordpress.org/support/users/gfxdesigner/)
 * (@gfxdesigner)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/fixed-php-8-x-error/#post-16276557)
 * Thanks, [@sybena](https://wordpress.org/support/users/sybena/) for the PHP8 patch!
   Hopefully, we can see that in the public release.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘FIXED: PHP 8.x Error’ is closed to new replies.

 * ![](https://ps.w.org/wp-rss-retriever/assets/icon-256x256.jpg?rev=2144668)
 * [RSS Feed Retriever](https://wordpress.org/plugins/wp-rss-retriever/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-rss-retriever/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-rss-retriever/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-rss-retriever/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-rss-retriever/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-rss-retriever/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 4 replies
 * 5 participants
 * Last reply from: [Russ](https://wordpress.org/support/users/gfxdesigner/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/fixed-php-8-x-error/#post-16276557)
 * Status: not resolved