• Resolved seanhudson

    (@seanhudson)


    I recently updated the plugin, and now I’m receiving this error. I don’t think anything changed other than the plugin update. It was working before.

    Error Details
    =============
    An error of type E_ERROR was caused in line 438 of the file /var/www/laflore.com/public/wp-content/plugins/customer-reviews-woocommerce/class-ivole-admin-menu-reviews.php. Error message: Uncaught ArgumentCountError: Too few arguments to function Ivole_Reviews_Admin_Menu::add_review_meta_box(), 1 passed in /var/www/laflore.com/public/wp-includes/class-wp-hook.php on line 286 and exactly 2 expected in /var/www/laflore.com/public/wp-content/plugins/customer-reviews-woocommerce/class-ivole-admin-menu-reviews.php:438
    Stack trace:
    #0 /var/www/laflore.com/public/wp-includes/class-wp-hook.php(286): Ivole_Reviews_Admin_Menu->add_review_meta_box(‘toplevel_page_w…’)
    #1 /var/www/laflore.com/public/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #2 /var/www/laflore.com/public/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #3 /var/www/laflore.com/public/wp-content/plugins/wooreports/includes/admin-pages/wr-overview.php(1219): do_action(‘add_meta_boxes’, ‘toplevel_page_w…’)
    #4 /var/www/laflore.com/public/wp-content/plugins/wooreports/includes/class-wr-admin-menus.php(61): WR_Overview->WR_output()
    #5 /var/www/laflore.com/public/wp-includes/class-wp-hook.php(286): WR_Admin_

Viewing 2 replies - 1 through 2 (of 2 total)
  • ivole2

    (@ivole2)

    @seanhudson thank you for using our plugin.

    On what page are you getting this error message?

    I need a system report on your site. You can generate a system report in WordPress admin area by going to WooCommerce-> Status-> Get system report.

    Plugin Author CusRev

    (@ivole)

    Based on the provided information, it looks like the issue is in ‘wooreports’ plugin. Our plugin correctly expects 2 parameters for ‘add_meta_boxes’ hook: https://developer.ww.wp.xz.cn/reference/hooks/add_meta_boxes/ but ‘wooreports’ passes just one parameter. Please contact support of ‘wooreports’ plugin and provide them a link to this support topic.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Uncaught ArgumentCountError after update’ is closed to new replies.