Fatal error: Uncaught Error: Call to a member function have_posts() on boolean in /home/bachatafix/public_html/wp-content/plugins/learnpress/templates/content-archive-course.php:39 Stack trace: #0 /home/bachatafix/public_html/wp-content/plugins/learnpress/inc/lp-template-functions.php(2514): include() #1 /home/bachatafix/public_html/wp-content/plugins/learnpress/inc/class-lp-page-controller.php(480): learn_press_get_template('content-archive...') #2 /home/bachatafix/public_html/wp-includes/shortcodes.php(325): LP_Page_Controller->archive_content('', '', 'learn_press_arc...') #3 [internal function]: do_shortcode_tag(Array) #4 /home/bachatafix/public_html/wp-includes/shortcodes.php(199): preg_replace_callback('/\\[(\\[?)(learn_...', 'do_shortcode_ta...', '<p><span>[learn...') #5 /home/bachatafix/public_html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(1792): do_shortcode('<p><span>[learn...') #6 /home/bachatafix/public_html/wp-includes/shortcodes.php(325): ET_Builder_Element->_render(Array, '<p><span in /home/bachatafix/public_html/wp-content/plugins/learnpress/templates/content-archive-course.php on line 39