( ! ) Fatal error: Uncaught TypeError: Canvas\FrontendFramework\Instructors\AbstractInstructor::getAvtar(): Return value must be of type string, none returned in /var/www/dynamic/courses.devroc.nl/src/Instructors/AbstractInstructor.php:22
Stack trace:
#0 /var/www/dynamic/courses.devroc.nl/vendor/twig/twig/src/Extension/CoreExtension.php(1909): Canvas\FrontendFramework\Instructors\AbstractInstructor->getAvtar()
#1 /var/www/dynamic/courses.devroc.nl/vendor/twig/twig/src/Environment.php(420) : eval()'d code(61): Twig\Extension\CoreExtension::getAttribute()
#2 /var/www/dynamic/courses.devroc.nl/vendor/twig/twig/src/Template.php(402): __TwigTemplate_3e9bfc0195c5290abb7d8bd864568d6e->doDisplay()
#3 /var/www/dynamic/courses.devroc.nl/vendor/twig/twig/src/Environment.php(420) : eval()'d code(99): Twig\Template->yield()
#4 /var/www/dynamic/courses.devroc.nl/vendor/twig/twig/src/Template.php(402): __TwigTemplate_70579709f36ebf9cf275d28ad331c882->doDisplay()
#5 /var/www/dynamic/courses.devroc.nl/vendor/twig/twig/src/Template.php(358): Twig\Template->yield()
#6 /var/www/dynamic/courses.devroc.nl/vendor/twig/twig/src/Template.php(373): Twig\Template->display()
#7 /var/www/dynamic/courses.devroc.nl/vendor/twig/twig/src/TemplateWrapper.php(51): Twig\Template->render()
#8 /var/www/dynamic/courses.devroc.nl/src/Template.php(492): Twig\TemplateWrapper->render()
#9 /var/www/dynamic/courses.devroc.nl/modules/AbstractController.php(52): Canvas\FrontendFramework\Template->parse()
#10 /var/www/dynamic/courses.devroc.nl/modules/Course/CourseController.php(59): Canvas\CModule\AbstractController->parse()
#11 /var/www/dynamic/courses.devroc.nl/public_html/index.php(34): Canvas\CModule\Course\CourseController->run()
#12 {main}
Next Twig\Error\RuntimeError: An exception has been thrown during the rendering of a template ("Canvas\FrontendFramework\Instructors\AbstractInstructor::getAvtar(): Return value must be of type string, none returned") in "Course/Tabs/instructors.twig" at line 9. in /var/www/dynamic/courses.devroc.nl/modules/Course/Tabs/instructors.twig on line 9 |
( ! ) Twig\Error\RuntimeError: An exception has been thrown during the rendering of a template ("Canvas\FrontendFramework\Instructors\AbstractInstructor::getAvtar(): Return value must be of type string, none returned") in "Course/Tabs/instructors.twig" at line 9. in /var/www/dynamic/courses.devroc.nl/modules/Course/Tabs/instructors.twig on line 9 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0000 | 356776 | {main}( ) | .../index.php:0 |
2 | 0.0022 | 426352 | Canvas\CModule\Course\CourseController->run( ) | .../index.php:34 |
3 | 0.0035 | 480976 | Canvas\CModule\AbstractController->parse( $template = 'Course/course.twig', $data = ['course' => class Canvas\Course\Pdg { protected array $aTechnologies = [...]; private string ${Canvas\FrontendFramework\AbstractCourse}courseDirName = 'pdg' }, 'layout' => 'xcanvas', 'timer_visible' => FALSE, 'active_page' => 'instructors', 'frontpage_url' => class Hurah\Types\Type\Url { private ${Hurah\Types\Type\AbstractDataType}sValue = [...] }, 'instructors' => class Canvas\FrontendFramework\Instructors\InstructorCollection { protected int $position = 0; protected array $array = [...] }, 'goalspage_url' => class Hurah\Types\Type\Url { private ${Hurah\Types\Type\AbstractDataType}sValue = [...] }, 'instructors_url' => class Hurah\Types\Type\Url { private ${Hurah\Types\Type\AbstractDataType}sValue = [...] }, 'active_instructors' => 'font-weight:bolder;', 'schedule' => class Canvas\FrontendFramework\Schedule { }] ) | .../CourseController.php:59 |
4 | 0.0035 | 480976 | Canvas\FrontendFramework\Template->parse( $file = 'Course/course.twig', $data = ['course' => class Canvas\Course\Pdg { protected array $aTechnologies = [...]; private string ${Canvas\FrontendFramework\AbstractCourse}courseDirName = 'pdg' }, 'layout' => 'xcanvas', 'timer_visible' => FALSE, 'active_page' => 'instructors', 'frontpage_url' => class Hurah\Types\Type\Url { private ${Hurah\Types\Type\AbstractDataType}sValue = [...] }, 'instructors' => class Canvas\FrontendFramework\Instructors\InstructorCollection { protected int $position = 0; protected array $array = [...] }, 'goalspage_url' => class Hurah\Types\Type\Url { private ${Hurah\Types\Type\AbstractDataType}sValue = [...] }, 'instructors_url' => class Hurah\Types\Type\Url { private ${Hurah\Types\Type\AbstractDataType}sValue = [...] }, 'active_instructors' => 'font-weight:bolder;', 'schedule' => class Canvas\FrontendFramework\Schedule { }] ) | .../AbstractController.php:52 |
5 | 0.0128 | 697664 | Twig\TemplateWrapper->render( $context = ['styles' => ['block_container' => 'margin-top:20px;margin-bottom:20px;flex-shrink: 1;border-radius: .37rem;border:1px solid #eae6e5!important'], 'course' => class Canvas\Course\Pdg { protected array $aTechnologies = [...]; private string ${Canvas\FrontendFramework\AbstractCourse}courseDirName = 'pdg' }, 'layout' => 'xcanvas', 'timer_visible' => FALSE, 'active_page' => 'instructors', 'frontpage_url' => class Hurah\Types\Type\Url { private ${Hurah\Types\Type\AbstractDataType}sValue = [...] }, 'instructors' => class Canvas\FrontendFramework\Instructors\InstructorCollection { protected int $position = 0; protected array $array = [...] }, 'goalspage_url' => class Hurah\Types\Type\Url { private ${Hurah\Types\Type\AbstractDataType}sValue = [...] }, 'instructors_url' => class Hurah\Types\Type\Url { private ${Hurah\Types\Type\AbstractDataType}sValue = [...] }, 'active_instructors' => 'font-weight:bolder;', 'schedule' => class Canvas\FrontendFramework\Schedule { }] ) | .../Template.php:492 |
6 | 0.0128 | 697664 | Twig\Template->render( $context = ['styles' => ['block_container' => 'margin-top:20px;margin-bottom:20px;flex-shrink: 1;border-radius: .37rem;border:1px solid #eae6e5!important'], 'course' => class Canvas\Course\Pdg { protected array $aTechnologies = [...]; private string ${Canvas\FrontendFramework\AbstractCourse}courseDirName = 'pdg' }, 'layout' => 'xcanvas', 'timer_visible' => FALSE, 'active_page' => 'instructors', 'frontpage_url' => class Hurah\Types\Type\Url { private ${Hurah\Types\Type\AbstractDataType}sValue = [...] }, 'instructors' => class Canvas\FrontendFramework\Instructors\InstructorCollection { protected int $position = 0; protected array $array = [...] }, 'goalspage_url' => class Hurah\Types\Type\Url { private ${Hurah\Types\Type\AbstractDataType}sValue = [...] }, 'instructors_url' => class Hurah\Types\Type\Url { private ${Hurah\Types\Type\AbstractDataType}sValue = [...] }, 'active_instructors' => 'font-weight:bolder;', 'schedule' => class Canvas\FrontendFramework\Schedule { }] ) | .../TemplateWrapper.php:51 |