• Resolved Devyn

    (@devynbrew)


    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

    (@hendcorp)

    Hi @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, 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.