Wappler Version : 7.2
Operating System : win 11
Server Model: PHP
Database Type: Mysql
Hosting Type: linux shared
Expected behavior
What do you think should happen?
Page should work
Actual behavior
Error as below
Just upgraded an existing site to PHP 8.5 and get this error
(Downgrading to V8.4 fixes issue)
{"code":0,"file":"/home/sites/39a/1/1fd066f784/public_html/dmxConnectLib/lib/db/Connection.php","line":130,"message":"Constant PDO::MYSQL_ATTR_INIT_COMMAND is deprecated since 8.5, use Pdo\Mysql::ATTR_INIT_COMMAND instead","trace":"#0 /home/sites/39a/1/1fd066f784/public_html/dmxConnectLib/lib/db/Connection.php(130): exception_error_handler(8192, 'Constant PDO::M...', '/home/sites/39a...', 130)\n#1 /home/sites/39a/1/1fd066f784/public_html/dmxConnectLib/modules/dbconnector.php(12): lib\db\Connection->__construct(Object(lib\App), Object(stdClass), 'db')\n#2 /home/sites/39a/1/1fd066f784/public_html/dmxConnectLib/lib/App.php(231): modules\dbconnector->connect(Object(stdClass), 'db', NULL)\n#3 /home/sites/39a/1/1fd066f784/public_html/dmxConnectLib/lib/App.php(171): lib\App->execSteps(Object(stdClass))\n#4 /home/sites/39a/1/1fd066f784/public_html/dmxConnectLib/lib/App.php(197): lib\App->exec(Object(stdClass), true)\n#5 /home/sites/39a/1/1fd066f784/public_html/dmxConnectLib/lib/App.php(203): lib\App->execSteps(Object(stdClass))\n#6 /home/sites/39a/1/1fd066f784/public_html/dmxConnectLib/lib/App.php(171): lib\App->execSteps(Array)\n#7 /home/sites/39a/1/1fd066f784/public_html/admin/dashboard.php(6): lib\App->exec(Object(stdClass), true)\n#8 {main}"}