Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 8192 bytes) in /domains/ on line 228

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute. in /domains/ Stack trace: #0 /domains/ PDOStatement->execute(Array) #1 /domains/ Zend_Db_Statement_Pdo->_execute(Array) #2 /domains/ Varien_Db_Statement_Pdo_Mysql->_execute(Array) #3 /domains/ Zend_Db_Statement->execute(Array) #4 /domains/ Zend_Db_Adapter_Abstract->query('SELECT `core_se...', Array) #5 /domains/ in /domains/ on line 235

Warning: file_put_contents(/tmp/magento/var/log/system.log): failed to open stream: No such file or directory in /domains/ on line 835

Warning: chmod(): Not a directory in /domains/ on line 836