Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Maintenance Task DB logging broken under clustered MariaDB Master/Slave #4947
We installed Pimcore skeleton version 6.0.0 and since set up a cluster of MariaDB (10.4.7) servers where we configured the database.yml according to Pimcore documentation (https://pimcore.com/docs/6.x/Development_Documentation/Best_Practice/Master-Slave_Database_Connection.html).
Our temporary workaround/possible fix is now to change the Php type hint in construct methods from "Db\Connection" to "Db\ConnectionInterface" in the following files under \pimcore\lib\Maintenance\Tasks :
Our database.yml looks like this :