Support » Plugin: Oxford Debate » add_submenu_page was called incorrectly..please help

  • Notice: add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.) in /var/www/html/wp-includes/functions.php on line 4986

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function Oxd::set_debate(), 1 passed in /var/www/html/wp-includes/class-wp-hook.php on line 290 and exactly 2 expected in /var/www/html/wp-content/plugins/oxford-debate/oxd.php:153 Stack trace: #0 /var/www/html/wp-includes/class-wp-hook.php(290): Oxd->set_debate(16) #1 /var/www/html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #2 /var/www/html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /var/www/html/wp-includes/post.php(4120): do_action(‘save_post’, 16, Object(WP_Post), false) #4 /var/www/html/wp-admin/includes/post.php(671): wp_insert_post(Array) #5 /var/www/html/wp-admin/post-new.php(66): get_default_post_to_edit(‘debate’, true) #6 {main} thrown in /var/www/html/wp-content/plugins/oxford-debate/oxd.php on line 153

  • You must be logged in to reply to this topic.