#5067 - Omni-upgrader: Mysqli adapter error

  • By
  • Added
  • 12 views
Identifier #5067
Issue type Major issue (breaks an entire feature)
Title Omni-upgrader: Mysqli adapter error
Status Completed
Handling member Chris Graham
Addon General / Uncategorised
Description The omni-upgrader for v11 fails with this stack trace (hard to debug given eval code):

[21-Nov-2022 15:16:38 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type mysqli as array in /var/www/vhosts/pdstig.me/test.pdstig.me/sources/global.php(352) : eval()'d code:135
Stack trace:
# 0 /var/www/vhosts/pdstig.me/test.pdstig.me/sources/global.php(352) : eval()'d code(185): Database_Static_mysqli->query()
# 1 /var/www/vhosts/pdstig.me/test.pdstig.me/sources/global.php(352) : eval()'d code(2243): Database_Static_mysqli->query()
# 2 /var/www/vhosts/pdstig.me/test.pdstig.me/sources/global.php(352) : eval()'d code(2544): DatabaseConnector->_query()
# 3 /var/www/vhosts/pdstig.me/test.pdstig.me/sources/global.php(352) : eval()'d code(1344): DatabaseConnector->query_insert()
# 4 /var/www/vhosts/pdstig.me/test.pdstig.me/sources/global.php(352) : eval()'d code(706): Mail_dispatcher_base->log_message()
# 5 /var/www/vhosts/pdstig.me/test.pdstig.me/sources/global.php(352) : eval()'d code(153): Mail_dispatcher_base->dispatch()
# 6 /var/www/vhosts/pdstig.me/test.pdstig.me/sources/global.php(352) : eval()'d code(1222): dispatch_mail()
# 7 /var/www/vhosts/p in /var/www/vhosts/pdstig.me/test.pdstig.me/sources/global.php(352) : eval()'d code on line 135
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated