Courses not showing
-
AuthorPosts
-
-
November 1, 2023 at 7:19 PM #940902Zbigniew ŁęskiParticipant
Until the day before yesterday, everything was working as it should. Since yesterday, the courses are not loading. After clicking on the course name, I only see a spinning wheel indefinitely and a blank page. I tried changing the theme to a standard WordPress theme. After the change, when I click on the course name, an error page appears, saying that a fatal error occurred on the website. The WordPress debug.log displays the following errors:
1. With the Education Pack theme:
[Oct 31, 2023, 17:58:26 UTC] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “learn_press_course_price” not found or invalid function name in /home2/lipowicz/public_html/platformabezpieczenstwa/wp-includes/class-wp-hook.php:310
Stack trace:
#0 /home2/lipowicz/public_html/platformabezpieczenstwa/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)
#1 /home2/lipowicz/public_html/platformabezpieczenstwa/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#2 /home2/lipowicz/public_html/platformabezpieczenstwa/wp-content/plugins/learnpress/templates/single-course/content.php(16): do_action(‘learn-press/cou…’)
#3 /home2/lipowicz/public_html/platformabezpieczenstwa/wp-content/plugins/learnpress/inc/lp-template-functions.php(866): include(‘/home2/lipowicz…’)
#4 /home2/lipowicz/public_html/platformabezpieczenstwa/wp-content/plugins/learnpress/inc/templates/abstract-template.php(264): learn_press_get_template(‘single-course/c…’, Array)
#5 /home2/lipowicz/public_html/platformabezpieczenstwa/wp-includes/class-wp-hook.php(310): LP_Template_Callback->callback(”)
#6 /home2/lipowicz/public_html/platformabezpieczenstwa/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array)
#7 /home2/lipowicz/public_html/platformabezpieczenstwa/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#8 /home2/lipowicz/public_html/platformabezpieczenstwa/wp-content/plugins/learnpress/templates/content-single-course.php(34): do_action(‘learn-press/sin…’)
#9 /home2/lipowicz/public_html/platformabezpieczenstwa/wp-content/plugins/learnpress/inc/lp-template-functions.php(866): include(‘/home2/lipowicz…’)
#10 /home2/lipowicz/public_html/platformabezpieczenstwa/wp-content/themes/education-pack/learnpress-v4/single-course.php(25): learn_press_get_template(‘content-single-…’)
#11 /home2/lipowicz/public_html/platformabezpieczenstwa/wp-content/themes/education-pack/wrapper.php(21): include(‘/home2/lipowicz…’)
#12 /home2/lipowicz/public_html/platformabezpieczenstwa/wp-includes/template-loader.php(106): include(‘/home2/lipowicz…’)
#13 /home2/lipowicz/public_html/platformabezpieczenstwa/wp-blog-header.php(19): require_once(‘/home2/lipowicz…’)
#14 /home2/lipowicz/public_html/platformabezpieczenstwa/index.php(17): require(‘/home2/lipowicz…’)
#15 {main}
thrown in /home2/lipowicz/public_html/platformabezpieczenstwa/wp-includes/class-wp-hook.php on line 3102. After switching to a standard WordPress theme:
[Oct 31, 2023, 18:01:21 UTC] PHP Fatal error: Uncaught Error: Undefined constant “EDUCATION_PACK_URL” in /home2/lipowicz/public_html/platformabezpieczenstwa/wp-content/plugins/thim-education-pack/inc/theme-features.php:19
Stack trace:
#0 /home2/lipowicz/public_html/platformabezpieczenstwa/wp-includes/class-wp-hook.php(310): education_pack_add_opengraph(”)
#1 /home2/lipowicz/public_html/platformabezpieczenstwa/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)
#2 /home2/lipowicz/public_html/platformabezpieczenstwa/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home2/lipowicz/public_html/platformabezpieczenstwa/wp-includes/general-template.php(3053): do_action(‘wp_head’)
#4 /home2/lipowicz/public_html/platformabezpieczenstwa/wp-content/themes/onepress/header.php(18): wp_head()
#5 /home2/lipowicz/public_html/platformabezpieczenstwa/wp-includes/template.php(785): require_once(‘/home2/lipowicz…’)
#6 /home2/lipowicz/public_html/platformabezpieczenstwa/wp-includes/template.php(720): load_template(‘/home2/lipowicz…’, true, Array)
#7 /home2/lipowicz/public_html/platformabezpieczenstwa/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)
#8 /home2/lipowicz/public_html/platformabezpieczenstwa/wp-content/plugins/learnpress/templates/single-course.php(16): get_header(‘course’)
#9 /home2/lipowicz/public_html/platformabezpieczenstwa/wp-includes/template-loader.php(106): include(‘/home2/lipowicz…’)
#10 /home2/lipowicz/public_html/platformabezpieczenstwa/wp-blog-header.php(19): require_once(‘/home2/lipowicz…’)
#11 /home2/lipowicz/public_html/platformabezpieczenstwa/index.php(17): require(‘/home2/lipowicz…’)
#12 {main}
thrown in /home2/lipowicz/public_html/platformabezpieczenstwa/wp-content/plugins/thim-education-pack/inc/theme-features.php on line 19I have no idea where to look for the causes. There haven’t been any significant changes to the website recently. I would appreciate any help.
Greetings
Zbyszek -
Due to Privacy&Security matters, Replies to this topic are hidden and can only be seen by our supporters or the topic owner.
Please create a new support topic for your issues.
You can check how to Create an account and Create a Support topic here
-
-
AuthorPosts
You must be logged in to reply to this topic. You can click here