Support » Plugin: WP-Optimize - Clean, Compress, Cache. » Critical Problems with Version 3.0.10

  • Resolved supertrooper2


    The latest version of WP Optimize is interfering 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.

    I have reverted to the version 2.3.4 and the problem seems to be solved. Within minutes 50 comments were retrieved. i.e. the blockage was resolved!

    Until this problem with version 3.0.10 is resolved I will be forced to stay with the older version 2.3.4.

    Hoping you can resolved this issue.

    The error log is shown below.

    [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

Viewing 1 replies (of 1 total)
  • Plugin Author David Anderson



    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.

    I’ve added a work-around for our next release to cope with that defect (which will be in our next release when that comes out), but you really ought to report it to the plugin itself so that it gets fixed at source. (There may be many other plugins it triggers a fatal error in in the same way).


Viewing 1 replies (of 1 total)
  • The topic ‘Critical Problems with Version 3.0.10’ is closed to new replies.