Co zrobić żeby nie wrócić do pętli?

Przepraszamy, ale nie masz dostępu do tej jednostki

Program


Warning: Attempt to read property "course_message_unit_pending" on null in /home/platne/serwer251537/public_html/dianaciszek.pl/wp-content/plugins/wp-courseware/includes/legacy/classes/unitfrontend.php on line 1433

Warning: Attempt to read property "course_opt_completion_wall" on null in /home/platne/serwer251537/public_html/dianaciszek.pl/wp-content/plugins/wp-courseware/includes/legacy/classes/unitfrontend.php on line 1761

Fatal error: Uncaught Error: Call to a member function getNextAndPreviousUnit() on bool in /home/platne/serwer251537/public_html/dianaciszek.pl/wp-content/plugins/wp-courseware/includes/legacy/classes/unitfrontend.php:1776 Stack trace: #0 /home/platne/serwer251537/public_html/dianaciszek.pl/wp-content/plugins/wp-courseware/includes/legacy/classes/unitfrontend.php(3821): WPCW_UnitFrontend->render_navigation_getNavigationBox() #1 /home/platne/serwer251537/public_html/dianaciszek.pl/wp-content/plugins/wp-courseware/includes/controllers/units.php(2246): WPCW_UnitFrontend->render_detailsForCompletebox() #2 /home/platne/serwer251537/public_html/dianaciszek.pl/wp-includes/class-wp-hook.php(324): WPCW\Controllers\Units->wpcw_th_render_unit_template() #3 /home/platne/serwer251537/public_html/dianaciszek.pl/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /home/platne/serwer251537/public_html/dianaciszek.pl/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /home/platne/serwer251537/public_html/dianaciszek.pl/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend.php(521): do_action() #6 /home/platne/serwer251537/public_html/dianaciszek.pl/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend-body-template.php(10): et_theme_builder_frontend_render_body() #7 /home/platne/serwer251537/public_html/dianaciszek.pl/wp-includes/template-loader.php(106): include('/home/platne/se...') #8 /home/platne/serwer251537/public_html/dianaciszek.pl/wp-blog-header.php(19): require_once('/home/platne/se...') #9 /home/platne/serwer251537/public_html/dianaciszek.pl/index.php(17): require('/home/platne/se...') #10 {main} thrown in /home/platne/serwer251537/public_html/dianaciszek.pl/wp-content/plugins/wp-courseware/includes/legacy/classes/unitfrontend.php on line 1776