rritz
Member
My mw app went offline today .. in the logs I see:
"
2017/11/04 08:36:01 [error] [system.db.CDbCommand] CDbCommand::fetchAll() failed: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'is_added' in 'where clause'. The SQL statement executed was: SELECT *
FROM `mw_email_blacklist`
WHERE is_added=:is_added.
2017/11/04 08:36:01 [error] [exception.CDbException] exception 'CDbException' with message 'CDbCommand failed to execute the SQL statement: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'is_added' in 'where clause'' in /var/www/mw/apps/common/framework/db/CDbCommand.php:543
Stack trace:
#0 /var/www/mw/apps/common/framework/db/CDbCommand.php(396): CDbCommand->queryInternal('fetchAll', Array, Array)
#1 /var/www/mw/apps/console/commands/BlacklistEmail.php(46): CDbCommand->queryAll()
#2 /var/www/mw/apps/console/commands/BlacklistEmail.php(28): BlacklistEmail->process()
#3 [internal function]: BlacklistEmail->actionIndex()
#4 /var/www/mw/apps/common/framework/console/CConsoleCommand.php(172): ReflectionMethod->invokeArgs(Object(BlacklistEmail), Array)
#5 /var/www/mw/apps/common/framework/console/CConsoleCommandRunner.php(71): CConsoleCommand->run(Array)
#6 /var/www/mw/apps/common/framework/console/CConsoleApplication.php(92): CConsoleCommandRunner->run(Array)
#7 /var/www/mw/apps/common/framework/base/CApplication.php(185): CConsoleApplication->processRequest()
#8 /var/www/mw/apps/init.php(228): CApplication->run()
#9 /var/www/mw/apps/console/console.php(28): require_once('/var/www/mw/app...')
#10 {main}
---
"
first log is 00:36:01 h
and one log every minute
Would this be the cause? What's happening here?
"
2017/11/04 08:36:01 [error] [system.db.CDbCommand] CDbCommand::fetchAll() failed: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'is_added' in 'where clause'. The SQL statement executed was: SELECT *
FROM `mw_email_blacklist`
WHERE is_added=:is_added.
2017/11/04 08:36:01 [error] [exception.CDbException] exception 'CDbException' with message 'CDbCommand failed to execute the SQL statement: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'is_added' in 'where clause'' in /var/www/mw/apps/common/framework/db/CDbCommand.php:543
Stack trace:
#0 /var/www/mw/apps/common/framework/db/CDbCommand.php(396): CDbCommand->queryInternal('fetchAll', Array, Array)
#1 /var/www/mw/apps/console/commands/BlacklistEmail.php(46): CDbCommand->queryAll()
#2 /var/www/mw/apps/console/commands/BlacklistEmail.php(28): BlacklistEmail->process()
#3 [internal function]: BlacklistEmail->actionIndex()
#4 /var/www/mw/apps/common/framework/console/CConsoleCommand.php(172): ReflectionMethod->invokeArgs(Object(BlacklistEmail), Array)
#5 /var/www/mw/apps/common/framework/console/CConsoleCommandRunner.php(71): CConsoleCommand->run(Array)
#6 /var/www/mw/apps/common/framework/console/CConsoleApplication.php(92): CConsoleCommandRunner->run(Array)
#7 /var/www/mw/apps/common/framework/base/CApplication.php(185): CConsoleApplication->processRequest()
#8 /var/www/mw/apps/init.php(228): CApplication->run()
#9 /var/www/mw/apps/console/console.php(28): require_once('/var/www/mw/app...')
#10 {main}
---
"
first log is 00:36:01 h
and one log every minute
Would this be the cause? What's happening here?