Support » Plugin: Comments - wpDiscuz » Too few arguments to function cleanCommentRelatedRows()

  • Resolved Gal Baras

    (@galbaras)


    Got an email that my site was experiencing a technical issue:

    An error of type E_ERROR was caused in line 180 of the file [ROOT]/wp-content/plugins/wpdiscuz/utils/class.WpdiscuzHelperOptimization.php. Error message: Uncaught ArgumentCountError: Too few arguments to function WpdiscuzHelperOptimization::cleanCommentRelatedRows(), 1 passed in [ROOT]/wp-includes/class-wp-hook.php on line 303 and exactly 2 expected in [ROOT]/wp-content/plugins/wpdiscuz/utils/class.WpdiscuzHelperOptimization.php:180
    Stack trace:
    #0 [ROOT]/wp-includes/class-wp-hook.php(303): WpdiscuzHelperOptimization->cleanCommentRelatedRows('20612')
    #1 [ROOT]/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #2 [ROOT]/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #3 [ROOT]/wp-content/plugins/akismet/class.akismet.php(421): do_action('deleted_comment', '20612')
    #4 [ROOT]/wp-includes/class-wp-hook.php(303): Akismet::delete_old_comments()
    #5 [ROOT]/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
    #6 [ROOT]/wp-include

    I’ve had successful comments and approved them successfully, and some that went to spam, so I’m not sure what the condition is here.

    • This topic was modified 2 months, 2 weeks ago by Gal Baras.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.