What type of hardware are you using: VPS bought online What YunoHost version are you running: 12.0.17 (stable) What app is this about: Dynamic QR Code
Describe your issue
I’ve just installed the ‘Dynamic QR Code’ app.
I’ve logged in as both a superadmin and a new admin user.
I can see the main dashboard.
Whenever I click on any of the items in the menu (Dynamic or Static QR Codes, List All or Add New), I get a white page with the following error: 'Fatal error: Uncaught Error: Undefined constant “QRCODE_GENERATOR” in /var/www/dynamicqrcode/src/lib/DynamicQrcode/DynamicQrcode.php:4 Stack trace: #0 /var/www/dynamicqrcode/src/dynamic_qrcodes.php(5): require_once() #1 {main} thrown in /var/www/dynamicqrcode/src/lib/DynamicQrcode/DynamicQrcode.php on line 4".
So the app is really not usable.
Share relevant logs or error messages
'Fatal error: Uncaught Error: Undefined constant "QRCODE_GENERATOR" in /var/www/dynamicqrcode/src/lib/DynamicQrcode/DynamicQrcode.php:4 Stack trace: #0 /var/www/dynamicqrcode/src/dynamic_qrcodes.php(5): require_once() #1 {main} thrown in /var/www/dynamicqrcode/src/lib/DynamicQrcode/DynamicQrcode.php on line 4
Hello @lubi
It seems there’s a small bug in the application. Actually, a missing variable needs to be added to the environment file. See original env file and ynh app env file.
Edit env file
Once that’s done, reload PHP systemctl reload php8.3-fpm (adjust this step based on the version you’re using).
One other specific requirement (though I assume you’re already aware if you created an ‘admin’ user): you need to log as an admin user in order to be able to create QR codes.