• Resolved kolco

    (@kolco)


    After the installation and making two feed sources work:
    https://chorvatan.sk/aktuality/
    https://chorvatan.sk/cuet
    suddenly I am getting an error message when trying to add a new feed source. The same error message I get even when trying to update these two working sources and also when testing the same RSS feed link that is already working. Any help?

    WP RSS Aggregator has encountered a critical error. The safest course of action is to deactivate the plugin and any of its add-ons on this site using the button below. Once you’ve done that, you may reactivate them and start using the plugins again. If the problem persists, please copy the below error and send it to our support team with an explanation of when and how it happened.

    Click to show error details
    Error Message:
    Post “5” was not found (wp-content/plugins/wp-rss-aggregator/src/Entities/Collections/WpEntityCollection.php:128)
    Stack trace:
    #0 /www/c/h/u138257/public_html/wp-content/plugins/wp-rss-aggregator/src/Entities/Collections/WpEntityCollection.php(111): RebelCode\Wpra\Core\Entities\Collections\WpEntityCollection->get(5)
    #1 /www/c/h/u138257/public_html/wp-content/plugins/wp-rss-aggregator/src/Handlers/FeedSources/FeedSourceSaveMetaHandler.php(88): RebelCode\Wpra\Core\Entities\Collections\WpEntityCollection->offsetGet(5)
    #2 /www/c/h/u138257/public_html/wp-includes/class-wp-hook.php(289): RebelCode\Wpra\Core\Handlers\FeedSources\FeedSourceSaveMetaHandler->__invoke(5, Object(WP_Post))
    #3 /www/c/h/u138257/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #4 /www/c/h/u138257/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #5 /www/c/h/u138257/public_html/wp-includes/post.php(4309): do_action(‘save_post’, 5, Object(WP_Post), true)
    #6 /www/c/h/u138257/public_html/wp-includes/post.php(4411): wp_insert_post(Array, true, true)
    #7 /www/c/h/u138257/public_html/wp-includes/theme.php(2001): wp_update_post(Array, true)
    #8 /www/c/h/u138257/public_html/wp-content/themes/layerswp/core/helpers/template.php(1940): wp_update_custom_css_post(”)
    #9 /www/c/h/u138257/public_html/wp-includes/class-wp-hook.php(287): layers_translate_css(”)
    #10 /www/c/h/u138257/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #11 /www/c/h/u138257/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #12 /www/c/h/u138257/public_html/wp-settings.php(557): do_action(‘init’)
    #13 /www/c/h/u138257/public_html/wp-config.php(88): require_once(‘/www/c/h/u13825…’)
    #14 /www/c/h/u138257/public_html/wp-load.php(37): require_once(‘/www/c/h/u13825…’)
    #15 /www/c/h/u138257/public_html/wp-admin/admin.php(34): require_once(‘/www/c/h/u13825…’)
    #16 /www/c/h/u138257/public_html/wp-admin/post.php(12): require_once(‘/www/c/h/u13825…’)
    #17 {main}

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @kolco

    Please confirm does deactivate and reactivating the plugin work? Please confirm if the issue is affecting new feed sources or even the previously created ones.

    Thread Starter kolco

    (@kolco)

    HI.

    All previously added feeds are not editable.

    I did reactivate the plugin. No change.

    I have uninstalled all the other plugins. No change.

    The only way it works is:
    1) Uninstalling WP RSS Aggregator completely.
    2) Installing it again.
    3) On the first run of the plugin the starting dialogue page WORKS!
    4) So I added few other RSS feeds (the former feeds were kept).

    Once the starting dialogue is finished, I am not bale to edit any of the installed feeds – the error above is comming.

    Hi @kolco

    Please open a support ticket by sending an email to [email protected] so that we can investigate this further.

    We are experiencing the same problem. It happens when we are using post_updated action hook to detect wprss_feed post update and within the callback method in a certain case we call wp_update_post to update another custom post type’s post. On that moment we are getting the error, however, behind the scenes wp_update_post does update a post.

    WP RSS Aggregator v4.17.10
    WP core v5.6

    PHP Fatal error:  Uncaught OutOfRangeException: Post "66048" was not found in /wp-content/plugins/wp-rss-aggregator/src/Entities/Collections/WpEntityCollection.php:128
    Stack trace:
    #0 /wp-content/plugins/wp-rss-aggregator/src/Entities/Collections/WpEntityCollection.php(111): RebelCode\Wpra\Core\Entities\Collections\WpEntityCollection->get(66048)
    #1 /wp-content/plugins/wp-rss-aggregator/src/Handlers/FeedSources/FeedSourceSaveMetaHandler.php(88): RebelCode\Wpra\Core\Entities\Collections\WpEntityCollection->offsetGet(66048)
    #2 /wp-includes/class-wp-hook.php(289): RebelCode\Wpra\Core\Handlers\FeedSources\FeedSourceSaveMetaHandler->__invoke(66048, Object(WP_Post))
    #3 /wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #4 /wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #5 /wp-includes/post.php(4 in /wp-content/plugins/wp-rss-aggregator/src/Entities/Collections/WpEntityCollection.php on line 128
    • This reply was modified 4 years, 2 months ago by luters.martins. Reason: providing version numbers
    • This reply was modified 4 years, 2 months ago by luters.martins.

    HI @lutersmartins

    Please open a support ticket by sending an email to [email protected] so that we can investigate this further.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WP RSS Aggregator has encountered a critical error.’ is closed to new replies.