Title: PHP Warnings and Deprecated Notices
Last modified: January 22, 2025

---

# PHP Warnings and Deprecated Notices

 *  Resolved [Devyn](https://wordpress.org/support/users/devynbrew/)
 * (@devynbrew)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/php-warnings-and-deprecated-notices/)
 * I am reaching out regarding some PHP warnings and deprecated notices I’ve encountered
   while using the WP RSS Aggregator plugin on my WordPress site.
 * Here are the details of the issues observed in the logs via Query Monitor:
    1. **Deprecated Notices** related to the `Twig\Node\Node` class:`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 Location wp-content/plugins/wp-rss-aggregator/vendor/twig/
       twig/src/Node/Node.php, line 213 Count 1 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 Location wp-content/plugins/wp-rss-aggregator/vendor/twig/
       twig/src/Node/Node.php, line 221 Count 1`
    2. **Deprecated Use of Constant `FILTER_SANITIZE_STRING`:**`Deprecated Constant
       FILTER_SANITIZE_STRING is deprecated Location wp-content/plugins/wp-rss-aggregator/
       src/Handlers/FeedTemplates/PreviewTemplateRedirectHandler.php, line 67 Count
       1 Deprecated Constant FILTER_SANITIZE_STRING is deprecated Location wp-content/
       plugins/wp-rss-aggregator/includes/admin.php, line 62 Count 1 Deprecated Constant
       FILTER_SANITIZE_STRING is deprecated Location wp-content/plugins/wp-rss-aggregator/
       includes/admin.php, line 64 Count 1`
    3. **Other Deprecated Notice**:`Deprecated strtolower(): Passing null to parameter#
       1 ($string) of type string is deprecated Location wp-content/plugins/wp-rss-
       aggregator/includes/admin-display.php, line 715 Count 1`
 * These notices suggest some compatibility issues with newer versions of PHP. From
   my understanding, several instances may require updates to comply with modern
   PHP standards to ensure optimal performance and prevent potential issues on PHP
   8.x.
 * Could you please provide guidance on how to address these warnings? If there 
   are any planned updates or patches underway, I’d be grateful for details.

Viewing 1 replies (of 1 total)

 *  Plugin Support [Hendra Setiawan](https://wordpress.org/support/users/hendcorp/)
 * (@hendcorp)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/php-warnings-and-deprecated-notices/#post-18260127)
 * Hi [@devynbrew](https://wordpress.org/support/users/devynbrew/)
 * Thank you for reaching out and providing such detailed information about the 
   PHP warnings and deprecated notices you’ve encountered.
 * The deprecation notices you’ve highlighted are a known issue. While Aggregator
   4.x addressed several compatibility challenges, we’re aware that some PHP 8.x
   deprecation notices remain unresolved.
 * I’m happy to share that we’re actively developing [Aggregator v5.0](https://www.wprssaggregator.com/v5-update/),
   which will offer full compatibility with PHP 8.x. This upcoming version will 
   include extensive fixes and enhancements to ensure seamless performance on modern
   PHP environments. The release is just around the corner, and we’ll notify you
   as soon as it’s available.
 * We appreciate your patience and understanding as we work to deliver these improvements.
   If there’s anything else I can assist you with in the meantime, please don’t 
   hesitate to let me know.

Viewing 1 replies (of 1 total)

The topic ‘PHP Warnings and Deprecated Notices’ 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/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Hendra Setiawan](https://wordpress.org/support/users/hendcorp/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/php-warnings-and-deprecated-notices/#post-18260127)
 * Status: resolved