Closed chirmstream closed 1 year ago
Same problem on Baikal version: 0.9.2
ErrorException: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/baikal/Core/Frameworks/Formal/Element/Text.php:69
Stack trace:
#0 [internal function]: Baikal\Framework::exception_error_handler(8192, 'htmlspecialchar...', '/var/www/baikal...', 69)
#1 /var/www/baikal/Core/Frameworks/Formal/Element/Text.php(69): htmlspecialchars(NULL)
#2 /var/www/baikal/Core/Frameworks/Formal/Form.php(354): Formal\Element\Text->render()
#3 /var/www/baikal/Core/Frameworks/BaikalAdmin/Controller/User/Calendars.php(82): Formal\Form->render()
#4 /var/www/baikal/Core/Frameworks/Flake/Core/Render/Container.php(69): BaikalAdmin\Controller\User\Calendars->render()
#5 /var/www/baikal/Core/Frameworks/Flake/Controller/Page.php(90): Flake\Core\Render\Container->renderBlocks()
#6 /var/www/baikal/html/admin/index.php(90): Flake\Controller\Page->render()
#7 {main}
Duplicate of #1117
Baikal version: 0.9.2
Expected behaviour: Clicking edit calendar for a user opens a prompt to change calendar name, color, description, and check todos and notes. Current behaviour: Browser outputs error: `ErrorException: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/baikal/Core/Frameworks/Formal/Element/Text.php:69 Stack trace:
0 [internal function]: Baikal\Framework::exception_error_handler()
1 /var/www/baikal/Core/Frameworks/Formal/Element/Text.php(69): htmlspecialchars()
2 /var/www/baikal/Core/Frameworks/Formal/Form.php(354): Formal\Element\Text->render()
3 /var/www/baikal/Core/Frameworks/BaikalAdmin/Controller/User/Calendars.php(82): Formal\Form->render()
4 /var/www/baikal/Core/Frameworks/Flake/Core/Render/Container.php(69): BaikalAdmin\Controller\User\Calendars->render()
5 /var/www/baikal/Core/Frameworks/Flake/Controller/Page.php(90): Flake\Core\Render\Container->renderBlocks()
6 /var/www/baikal/html/admin/index.php(90): Flake\Controller\Page->render()
7 {main}`
Steps to reproduce: