Year Overview: exception

Hi. I am trying out Gibbon. I installed locally in my Windows computer, using Laragon to run the necessary server services. Anyway, I have now made a basic configuration to mimic what it would look like for my school, added some fake teachers, students, learning areas, courses, classes, enrolled students and teachers in the classes, etc. So far so good.

However, when, as a teacher enrolled in a class, I go to my class, then to Planner, then to Year Overview, I get the following:

Uncaught Exception : Error - Call to a member function getRow() on array

  1. Line 111 in C:\laragon2\www\gibbon\modules\Planner\src\Tables\LessonTable.php

  2. Line 178 in C:\laragon2\www\gibbon\modules\Planner\planner.php

  3. Line 87 in C:\laragon2\www\gibbon\src\View\View.php

  4. Line 478 in C:\laragon2\www\gibbon\src\View\Page.php

  5. Line 684 in C:\laragon2\www\gibbon\index.php

Not sure why. I have one unit planner created and visible, as well as a couple of lesson plans that are linked to the unit plan.

Any idea?

Hi @rozojc Thanks for reporting this issue. Luckily, this particular bug has been fixed here, and is a one-line change, which you can apply to your codebase: Planner: fixed an error on the Year Overview of the Lesson Planner · GibbonEdu/core@96aa588 · GitHub

This fix is part of a v30.0.01 patch that is due to be released soon, I hadn’t had a chance to get it out the door just yet, but should be within the next week or two :sweat_smile:

Fixed, thank you Sandra!

Hi Juan, I appreciate your thanks here, but in fact, I did nothing to help! @sandra is the one who deserves the credit : )

My bad!!! Yes, thanks @sandra