Fatal error: Uncaught TypeError: Argument 1 passed to Varien_Db_Adapter_Pdo_Mysql::prepareColumnValue() must be of the type array, null given, called in /home/core/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php on line 403 and defined in /home/core/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php:3032
Stack trace:
#0 /home/core/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(403): Varien_Db_Adapter_Pdo_Mysql->prepareColumnValue(NULL, 'brands_brand')
#1 /home/core/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(378): Mage_Core_Model_Resource_Db_Abstract->_getLoadSelect('entity_type_cod...', 'brands_brand', Object(Mage_Eav_Model_Entity_Type))
#2 /home/core/public_html/app/code/core/Mage/Eav/Model/Resource/Entity/Type.php(54): Mage_Core_Model_Resource_Db_Abstract->load(Object(Mage_Eav_Model_Entity_Type), 'brands_brand', 'entity_type_cod...')
#3 /home/core/public_html/app/code/core/Mage/Eav/Model/Entity/Type.php(100): Mage_Eav_Model_Resource_Entity_Type->loadByCode(Obje in /home/core/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php on line 3032