Something similar was reported (and solved) fairly recently, but I simply cannot find the the thread.
From what I remember, it involves setting a flag to allow the local emonCMS to become multi-user, create a second user, then copy part of the (valid and working) database of the new user over the bad data for the original.
Hello @bidouilleur sorry about this error, this relates to the use of php functions only available in php version 7.3 or later. If you can update to php 7.4 that will fix the issue. I need to add a more gracious message to say that the requirements have changed and also document the php upgrade steps here.
For as much I could test/read mosquitto-php is NOT yet php8 ready. In my case on a clean ubuntu 20LTS VM with PHP8 that part fails during install . All the rest seemed ok though the lines flash by quickly
PHP Warning: PHP Startup: Unable to load dynamic library 'mosquitto.so' (tried: /usr/lib/php/20200930/mosquitto.so (/usr/lib/php/20200930/mosquitto.so: cannot open shared object file: No such file or directory), /usr/lib/php/20200930/mosquitto.so.so (/usr/lib/php/20200930/mosquitto.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP 8.0.10 (cli) (built: Aug 26 2021 15:50:07) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.10, Copyright (c) Zend Technologies
with Zend OPcache v8.0.10, Copyright (c), by Zend Technologies
not going to copy over the +/- hundred error lines from mosquitto install part …
guess I delete the VM and test with latest PHP7 branch