Support » Plugin: NextScripts: Social Networks Auto-Poster » Critical Problem with version 4.3.8

  • There is a problem with the comments retrieval functionality of the WordPress plugin Nextscripts. Comments are not retrieved because one comment seems to be blocked and is retrieved multiple times (see error log at the bottom of this message).

    I’ve analysed this, and it’s a defect in the plugin “NextScripts: Social Networks Auto-Poster”, specifically here:

    #3 /var/www/ do_action(‘comment_post’, 48489, 1)

    You’ll see there that it calls the action comment_post with only two parameters. In WordPress code, that action is defined as having three parameters. This causes a problem if anything external (such as WP-O) has hooked that action.

    Hoping you can resolved this issue.

    [CRITICAL] : Uncaught ArgumentCountError: Too few arguments to function WPO_Cache_Rules::purge_post_on_comment(), 2 passed in /var/www/ on line 286 and exactly 3 expected in /var/www/
    Stack trace:
    #0 /var/www/ WPO_Cache_Rules->purge_post_on_comment(48489, 1)
    #1 /var/www/ WP_Hook->apply_filters(NULL, Array)
    #2 /var/www/ WP_Hook->do_action(Array)
    #3 /var/www/ do_action(‘comment_post’, 48489, 1)
    #4 /var/www/ nxs_postNewComment(Array, true)
    #5 /var/www/xxx

    • This topic was modified 3 months, 2 weeks ago by supertrooper2.
  • You must be logged in to reply to this topic.