Answer the question
In order to leave comments, you need to log in
Intermittently empty primaryKey in Yii. What can be wrong?
Hello. After updating the CentOS 7 server, and in particular PHP, MariaDB and others, I encountered anomalous behavior of the web application.
The bottom line is this:
on a page that works with one of the tables, I get the error
Invalid argument supplied for foreach() (/home/.yii-framework-1.1.16/db/ar/CActiveFinder.php:469)
if(is_string($this->_table->primaryKey))
...
else
{
...
foreach($this->_table->primaryKey as $name)
...
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question