Not a bug Error [E_NOTICE] Array to string conversion

masxter

Member
Affected version
2.0.7
G'day!
I've already got a similar error in my log for several days now:
ErrorException: [E_NOTICE] Array to string conversion src/XF/Db/Mysqli/Statement.php:71
Code:
#0 [internal function]: XF::handlePhpError(8, '[E_NOTICE] Arra...', '/home/user/web...', 71, Array)
#1 src/XF/Db/Mysqli/Statement.php(71): mysqli_stmt->execute()
#2 src/XF/Db/AbstractAdapter.php(79): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(91): XF\Db\AbstractAdapter->query('\r\n\t\t\t-- XFDB=fr...', Array)
#4 src/XF/Session/DbStorage.php(30): XF\Db\AbstractAdapter->fetchOne('\r\n\t\t\t-- XFDB=fr...', Array)
#5 src/XF/Session/Session.php(53): XF\Session\DbStorage->getSession(Array)
#6 src/XF/App.php(669): XF\Session\Session->start('\x7F\x00\x00\x01')
#7 src/XF/Container.php(28): XF\App->XF\{closure}(Object(XF\Container))
#8 src/XF/Pub/App.php(39): XF\Container->offsetGet('session.public')
#9 src/XF/Container.php(28): XF\Pub\App->XF\Pub\{closure}(Object(XF\Container))
#10 src/XF/App.php(2250): XF\Container->offsetGet('session')
#11 src/XF/Pub/App.php(91): XF\App->session()
#12 src/XF/App.php(1927): XF\Pub\App->start(true)
#13 src/XF.php(328): XF\App->run()
#14 index.php(13): XF::runApp('XF\\Pub\\App')
#15 {main}
Code:
array(4) {
  ["url"] => string(17) "/tags/ehksplojty/" // url is always different
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["/tags/ehksplojty/"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}

I myself have not seen such a mistake on the site.
 
Back
Top Bottom