after I updated the docker-image I added the charset and serverversion at the Database_URL and it seemed like everything is working, but when I click on the plugins button I am getting a Error 500. I did the following:
To Reproduce
Steps to reproduce the behaviour:
Click on Plugins:
This is the log message:
[2023-08-21T16:32:06.312824+00:00] request.CRITICAL: Uncaught PHP Exception Symfony\
Component\ErrorHandler\Error\UndefinedMethodError:
"Attempted to call an undefined method named "setPayload" of class "App\Event\PageActionsEvent".
Did you mean to call "getPayload"?" at /opt/kimai/var/plugins/KioskBundle/EventSubscriber/PluginActionsSubscriber.php line 65
{"exception":"[object] (Symfony\\Component\\
ErrorHandler\\Error\\UndefinedMethodError(code: 0): Attempted to call an undefined method named \"setPayload\" of
class \"App\\Event\\PageActionsEvent\". Did you mean to call \"getPayload\"? at
opt/kimai/var/plugins/KioskBundle/EventSubscriber/PluginActionsSubscriber.php:65)"} []
localhost:8001 172.16.1.2 - - [21/Aug/2023:17:32:06 +0100] "GET /de_DE/admin/plugins/ HTTP/1.1" 500 1957
Desktop (please complete the following information):
Describe the bug Hello,
after I updated the docker-image I added the charset and serverversion at the Database_URL and it seemed like everything is working, but when I click on the plugins button I am getting a Error 500. I did the following:
rm -r cache/* /opt/kimai/bin/console cache:clear --env=prod /opt/kimai/bin/console cache:warmup --env=prod /opt/kimai/bin/console assets:install cd /var chown -R :www-data . chmod -R g+r . chmod -R g+rw .
To Reproduce Steps to reproduce the behaviour: Click on Plugins:
This is the log message:
Desktop (please complete the following information):
Server:
Docker compose file (with passwords redacted)
version: '3.5' services:
sqldb: image: mysql:5.7 hostname: kunde-zeiterfassung-mysql volumes:
MYSQL_ROOT_PASSWORD=**** command: --default-storage-engine innodb restart: unless-stopped healthcheck: test: mysqladmin -p$$MYSQL_ROOT_PASSWORD ping -h localhost interval: 20s start_period: 10s timeout: 10s retries: 3 networks: kunde-zeiterfassung_network: ipv4_address: 172.16.1.11
kimai: image: kimai/kimai2:apache-latest hostname: kunde-zeiterfassung-kimai volumes:
volumes: kimai-var: kimai-mysql: kimai-custom: kimai-apache2:
networks: kunde-zeiterfassung_network: external: true