DatabaseDriver::getInstance () is deprecated

maxxxweb

Member
Hi all, I have a problem after migrating to joomla 4.3.2 and fabrik 4(Gamma 3).
In the php_event plugin the code uses the DB connection
$mydb = FabrikWorker::getDbo(false, 2);
But I get the following error:
"An error occurred with an eval'd of field - please inform site owner. Debug: Caught exception on eval of php_event list plugin: Since joomla/database 2.0.0: Joomla\Database\DatabaseDriver::getInstance () is deprecated and will be removed in 3.0, use Joomla\Database\DatabaseFactory::getDriver() instead."
Has anyone had a problem like this?
Thank you
 
This is showing only if you have J! System Debug enabled.

Deprecated messages are only notices (but should be fixed someday).
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top