Warning: fopen(/var/www/admin/data/www/portal/logs/sql_error.log): failed to open stream: Отказано в доступе in /var/www/admin/data/www/portal/engine/modules/logger/Logger.class.php on line 260 SQL Error: Unknown column 'DBSIMPLE_ERROR_VALUE_NOT_SCALAR' in 'where clause' at /var/www/admin/data/www/portal/classes/modules/favourite/mapper/Favourite.mapper.class.php line 442
Array ( [code] => 1054 [message] => Unknown column 'DBSIMPLE_ERROR_VALUE_NOT_SCALAR' in 'where clause' [query] => SELECT count(f.target_id) as count FROM prefix_favourite AS f, prefix_topic AS t, prefix_blog AS b WHERE f.user_id = 1 AND f.domain = DBSIMPLE_ERROR_VALUE_NOT_SCALAR AND f.target_publish = 1 AND f.target_type = 'topic' AND f.target_id = t.topic_id AND t.blog_id = b.blog_id AND b.blog_type IN ('open', 'personal') ; [context] => /var/www/admin/data/www/portal/classes/modules/favourite/mapper/Favourite.mapper.class.php line 442 )