Use var_dump(); or print_r(); to output the result of \JFactory::getDbo();
No warnings.
Warning: var_dump(): Couldn't fetch mysqli_result in [...]
Windows NT DESKTOP-G94B9J7 10.0 build 15063 (Windows 10) i586
Database Version 5.5.5-10.1.25-MariaDB
Database Collation utf8mb4_unicode_ci
Database Connection Collation utf8_general_ci
PHP Version 7.1.7
Web Server Apache/2.4.26 (Win32) OpenSSL/1.0.2l PHP/7.1.7
WebServer to PHP Interface apache2handler
Joomla! Version Joomla! 4.0.0-dev Development [ Amani ] 31-March-2017 23:59 GMT
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0
For what its worth, "first" call of MysqliDriver::freeResult(); seems to cause the warning.
Status | New | ⇒ | Confirmed |
Status | Confirmed | ⇒ | Discussion |
Labels |
Added:
J4 Issue
|
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-08-19 14:56:41 |
Closed_By | ⇒ | wilsonge |
Can no longer reproduce this so closing
Issue confirmed