Admin page fails to render
With the latest release 1.13.0 the admin page upon login fails to render with:
PHPIcons\Exceptions\LibraryMisuseException: You must define an icon before rendering it. Use the `icon()` method to do so. in /app/code/vendor/yassinedoghri/php-icons/src/Exceptions/LibraryMisuseException.php:13
Stack trace:
#0 /app/code/vendor/yassinedoghri/php-icons/src/PHPIcons.php(53): PHPIcons\Exceptions\LibraryMisuseException::forUndefinedIcon()
#1 /app/code/app/Views/Components/DashboardCard.php(35): PHPIcons\PHPIcons->__toString()
#2 /app/code/app/Libraries/ViewComponents/ComponentRenderer.php(115): App\Views\Components\DashboardCard->render()
#3 [internal function]: ViewComponents\ComponentRenderer->ViewComponents\{closure}()
#4 /app/code/app/Libraries/ViewComponents/ComponentRenderer.php(107): preg_replace_callback()
#5 /app/code/app/Libraries/ViewComponents/ComponentRenderer.php(33): ViewComponents\ComponentRenderer->renderPairedTags()
#6 /app/code/app/Libraries/ViewComponents/Decorator.php(22): ViewComponents\ComponentRenderer->render()
#7 /app/code/vendor/codeigniter4/framework/system/View/ViewDecoratorTrait.php(34): ViewComponents\Decorator::decorate()
#8 /app/code/vendor/codeigniter4/framework/system/View/View.php(255): CodeIgniter\View\View->decorateOutput()
#9 /app/code/vendor/codeigniter4/framework/system/View/View.php(250): CodeIgniter\View\View->render()
#10 /app/code/app/Common.php(48): CodeIgniter\View\View->render()
#11 /app/code/modules/Admin/Controllers/DashboardController.php(84): view()
#12 /app/code/vendor/codeigniter4/framework/system/CodeIgniter.php(933): Modules\Admin\Controllers\DashboardController->index()
#13 /app/code/vendor/codeigniter4/framework/system/CodeIgniter.php(509): CodeIgniter\CodeIgniter->runController()
#14 /app/code/vendor/codeigniter4/framework/system/CodeIgniter.php(355): CodeIgniter\CodeIgniter->handleRequest()
#15 /app/code/vendor/codeigniter4/framework/system/Boot.php(325): CodeIgniter\CodeIgniter->run()
#16 /app/code/vendor/codeigniter4/framework/system/Boot.php(67): CodeIgniter\Boot::runCodeIgniter()
#17 /app/code/public/index.php(61): CodeIgniter\Boot::bootWeb()
#18 {main}
This was found in our Cloudron app package test pipeline and after looking through the changes, maybe there is a missing (string)
cast at https://code.castopod.org/adaures/castopod/-/blob/fc0001c3522e250a693b3e9d9da2a0de15bfbabc/app/Views/Components/DashboardCard.php#L35 which was overlooked in that change fc0001c3
I might be overly wrong, as I am no php expert at all. For any other hints I am also thankful.