в консоль выводит название города и сразу ошибку, по ошибке видно, что вместо русских букв коды, никак не пойму что нет так и где кодировка не выставлена
МО, г. Железнодорожный
[Doctrine\DBAL\Exception\InvalidFieldNameException]
An exception occurred while executing 'SELECT c0_.id AS id_0, c0_.city_name AS city_name_1, c0_.city_name_long AS city_name_long_2, c0_.city_name_short AS city_name
_short_3, c0_.city_name_article_long AS city_name_article_long_4, c0_.city_name_article_short AS city_name_article_short_5, c0_.city_name_region_long AS city_name_r
egion_long_6, c0_.city_name_region_short AS city_name_region_short_7, c0_.city_name_orange AS city_name_orange_8, b1_.id AS id_9, b1_.branch_name AS branch_name_10,
b1_.code AS code_11, b1_.regionVK AS regionVK_12, r2_.id AS id_13, r2_.region_name AS region_name_14 FROM Cities c0_ LEFT JOIN Branches b1_ ON (b1_.id = c0_.branch
_id) LEFT JOIN Regions r2_ ON (r2_.id = b1_.region_id) WHERE c0_.city_name LIKE ?' with params ["%\u041c\u041e, \u0433. \u0416\u0435\u043b\u0435\u0437\u043d\u043e\u
0434\u043e\u0440\u043e\u0436\u043d\u044b\u0439"]:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'c0_.city_name_article_short' in 'field list'
подскажите плиз
Symfony version 3.1.10
PHP 7.2.14
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'c0_.city_name_article_short' in 'field list'
Обсуждают сегодня