AK: Commercial Code Review Quiz


Fatal error: Uncaught ValueError: array_rand(): Argument #1 ($array) cannot be empty in /www/currentelectric_897/public/wp-content/plugins/woothemes-sensei-old/plugins/sensei-lms/includes/class-sensei-lesson.php:3816 Stack trace: #0 /www/currentelectric_897/public/wp-content/plugins/woothemes-sensei-old/plugins/sensei-lms/includes/class-sensei-lesson.php(3816): array_rand(Array, 0) #1 /www/currentelectric_897/public/wp-content/plugins/woothemes-sensei-old/plugins/sensei-lms/includes/class-sensei-quiz.php(1649): Sensei_Lesson->lesson_quiz_questions('9537', 'publish') #2 /www/currentelectric_897/public/wp-includes/class-wp-hook.php(310): Sensei_Quiz::start_quiz_questions_loop(9537) #3 /www/currentelectric_897/public/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array) #4 /www/currentelectric_897/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /www/currentelectric_897/public/wp-content/plugins/woothemes-sensei-old/plugins/sensei-lms/templates/single-quiz.php(30): do_action('sensei_single_q...', 9537) #6 /www/currentelectric_897/public/wp-content/plugins/woothemes-sensei-old/plugins/sensei-lms/includes/class-sensei-templates.php(83): include('/www/currentele...') #7 /www/currentelectric_897/public/wp-content/plugins/woothemes-sensei-old/plugins/sensei-lms/includes/renderers/class-sensei-renderer-single-post.php(101): Sensei_Templates::get_template('single-quiz.php') #8 /www/currentelectric_897/public/wp-content/plugins/woothemes-sensei-old/plugins/sensei-lms/includes/unsupported-theme-handlers/class-sensei-unsupported-theme-handler-cpt.php(121): Sensei_Renderer_Single_Post->render() #9 /www/currentelectric_897/public/wp-includes/class-wp-hook.php(310): Sensei_Unsupported_Theme_Handler_CPT->cpt_page_content_filter('') #10 /www/currentelectric_897/public/wp-includes/plugin.php(205): WP_Hook->apply_filters('', Array) #11 /www/currentelectric_897/public/wp-includes/post-template.php(256): apply_filters('the_content', '') #12 /www/currentelectric_897/public/wp-content/themes/bb-theme/content-page.php(13): the_content() #13 /www/currentelectric_897/public/wp-includes/template.php(787): require('/www/currentele...') #14 /www/currentelectric_897/public/wp-includes/template.php(720): load_template('/www/currentele...', false, Array) #15 /www/currentelectric_897/public/wp-includes/general-template.php(206): locate_template(Array, true, false, Array) #16 /www/currentelectric_897/public/wp-content/themes/bb-theme/page.php(10): get_template_part('content', 'page') #17 /www/currentelectric_897/public/wp-includes/template-loader.php(106): include('/www/currentele...') #18 /www/currentelectric_897/public/wp-blog-header.php(19): require_once('/www/currentele...') #19 /www/currentelectric_897/public/index.php(17): require('/www/currentele...') #20 {main} thrown in /www/currentelectric_897/public/wp-content/plugins/woothemes-sensei-old/plugins/sensei-lms/includes/class-sensei-lesson.php on line 3816