Closed Sarmingsteiner closed 3 weeks ago
Can you copy the lines from "doctor"-log what is crashing?
Here you go. Tried with PHP 8.1, 8.2 and 8.3:
[2024-11-03 16:39:34] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\ClassNotFoundError: "Attempted to load class "Activity" from namespace "KimaiPlugin\VacationBundle\Validator". Did you forget a "use" statement for "App\Entity\Activity"?" at (...)/kimai/var/plugins/ApprovalBundle/Form/SettingsForm.php line 117 {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\ClassNotFoundError(code: 0): Attempted to load class \"Activity\" from namespace \"KimaiPlugin\\VacationBundle\\Validator\".\nDid you forget a \"use\" statement for \"App\\Entity\\Activity\"? at (...)/kimai/var/plugins/ApprovalBundle/Form/SettingsForm.php:117)"} []
[2024-11-03 16:39:33] php.CRITICAL: Uncaught Error: Class "KimaiPlugin\VacationBundle\Validator\Activity" not found {"exception":"[object] (Error(code: 0): Class \"KimaiPlugin\\VacationBundle\\Validator\\Activity\" not found at (...)/kimai/var/plugins/ApprovalBundle/Form/SettingsForm.php:117)"} []
[2024-11-03 16:39:33] request.INFO: Matched route "approval_bundle_settings". {"route":"approval_bundle_settings","route_parameters":{"_route":"approval_bundle_settings","_controller":"KimaiPlugin\\ApprovalBundle\\Controller\\WeekReportController::settings","_locale":"de"},"request_uri":"(...)/kimai/public/de/approval/settings","method":"GET"} []
I see, I am using features from another plugin. I will update
fixed in latest release: https://github.com/KatjaGlassConsulting/ApprovalBundle/releases/tag/1.1.1 - please provide a short feedback or close when fixed.
Thanks for this quick reporting.
Yes, "Settings" work again in 1.1.1. Thanks for the real "quickfix"! 🥇
Unfortunately, "Settings" are crashing in 1.1.0.