Title: Untested with PHP8?
Last modified: May 9, 2024

---

# Untested with PHP8?

 *  Resolved [davorg](https://wordpress.org/support/users/davorg/)
 * (@davorg)
 * [2 years ago](https://wordpress.org/support/topic/untested-with-php8/)
 * I’m running my WP site on PHP 8.1.28 and, following an update to WP RSS Aggregator(
   to 4.23.8) my site is throwing deprecation warnings:
 * **Deprecated**: Return type of Twig\Node\Node::count() should either be compatible
   with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should
   be used to temporarily suppress the notice in **/var/www/vhosts/dave.org.uk/httpdocs/
   wp-content/plugins/wp-rss-aggregator/vendor/twig/twig/src/Node/Node.php** on 
   line **213**
 * **Deprecated**: Return type of Twig\Node\Node::getIterator() should either be
   compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange]
   attribute should be used to temporarily suppress the notice in **/var/www/vhosts/
   dave.org.uk/httpdocs/wp-content/plugins/wp-rss-aggregator/vendor/twig/twig/src/
   Node/Node.php** on line **221**
 * I see the plugin directory says it has been tested up to PHP 6.5.3 – but I don’t
   know anyone who uses a PHP that old.
 * Do you have plans to test the plugin with a recent version of PHP?

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

 *  Plugin Support [Hendra Setiawan](https://wordpress.org/support/users/hendcorp/)
 * (@hendcorp)
 * [2 years ago](https://wordpress.org/support/topic/untested-with-php8/#post-17744056)
 * Hi [@davorg](https://wordpress.org/support/users/davorg/)
 * Thank you for bringing this to our attention. While version 4.23.8 aimed to resolve
   several compatibility issues, we acknowledge that it did not completely eliminate
   all PHP 8 deprecation issues. However, I’m pleased to inform you that we are 
   actively working on [Aggregator v5.0](https://www.wprssaggregator.com/v5-update/),
   which will be fully compatible with PHP 8.x.
 * We appreciate your patience and understanding as we strive to enhance your experience
   with RSS Aggregator. If you have any further questions or need assistance, please
   feel free to reach out.
 *  Thread Starter [davorg](https://wordpress.org/support/users/davorg/)
 * (@davorg)
 * [2 years ago](https://wordpress.org/support/topic/untested-with-php8/#post-17744127)
 * Hi [@hendcorp](https://wordpress.org/support/users/hendcorp/), thanks for the
   reply.
 * I was just looking at your [GitHub repo](https://github.com/RebelCode/wp-rss-aggregator).
   It looks like you don’t have any CI process in place (or, at least, not one that
   uses GitHub Actions). Would you be interested in getting some help in setting
   up CI that automatically runs you unit tests against several PHP versions on 
   every commit?
 *  Plugin Support [Hendra Setiawan](https://wordpress.org/support/users/hendcorp/)
 * (@hendcorp)
 * [2 years ago](https://wordpress.org/support/topic/untested-with-php8/#post-17746700)
 * Hi [@davorg](https://wordpress.org/support/users/davorg/)
 * Thank you for taking the time to review our GitHub repository and for offering
   to help with setting up CI using GitHub Actions for Aggregator. We truly appreciate
   your willingness to contribute and your expertise in this area.
 * However, after careful consideration, we have decided to focus on our current
   development processes and will not be implementing CI with GitHub Actions at 
   this time.
 * Thank you once again for your offer and understanding.
 *  Thread Starter [davorg](https://wordpress.org/support/users/davorg/)
 * (@davorg)
 * [2 years ago](https://wordpress.org/support/topic/untested-with-php8/#post-17749089)
 * Hi,
 * I’ve been looking into this in a bit more detail. It seems the problem isn’t 
   with your code, but with the Twig library that you use. And looking at their 
   repo, I see this is a problem that they fixed three years ago. (see [https://github.com/twigphp/Twig/commit/98c2233e4734ccc1b5b357bba5c712bb53fc3b23](https://github.com/twigphp/Twig/commit/98c2233e4734ccc1b5b357bba5c712bb53fc3b23)).
 * So it looks like the problem would go away if you just updated the version of
   Twig that you’re pulling into your codebase.
 * Is that something you could do simply?
 * Cheers,
 * Dave…
 *  Plugin Support [Hendra Setiawan](https://wordpress.org/support/users/hendcorp/)
 * (@hendcorp)
 * [2 years ago](https://wordpress.org/support/topic/untested-with-php8/#post-17750237)
 * Hi [@davorg](https://wordpress.org/support/users/davorg/)
 * Unfortunately, no. The current version of Aggregator (v4.x) uses Twig v1, which
   has not been updated to be fully compatible with PHP 8. The updated version that
   you are seeing is Twig v3, and updating our version of Twig from v1 to v3 is 
   not a simple task.
 * However, our upcoming v5 update will not use Twig at all. Therefore, we consider
   Aggregator v5.0 to be the ultimate solution to this issue.

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

The topic ‘Untested with PHP8?’ is closed to new replies.

 * ![](https://ps.w.org/wp-rss-aggregator/assets/icon-256x256.gif?rev=3157090)
 * [RSS Aggregator - RSS Import, News Feeds, Feed to Post, and Autoblogging](https://wordpress.org/plugins/wp-rss-aggregator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-rss-aggregator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-rss-aggregator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-rss-aggregator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-rss-aggregator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-rss-aggregator/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Hendra Setiawan](https://wordpress.org/support/users/hendcorp/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/untested-with-php8/#post-17750237)
 * Status: resolved