br2988 Posted February 3, 2021 Report Share Posted February 3, 2021 Всем привет. Логи завалины ошибкой. Как её исправить??? ParseError: syntax error, unexpected '$return' (T_VARIABLE) in /home/admin/web/сайт.ru/public_html/system/Theme/Theme.php(4465) : eval()'d code:14 Stack trace: #0 /home/admin/web/сайт.ru/public_html/applications/core/sources/ProfileFields/Field.php(184): IPS\_Theme::runProcessFunction('\tfunction profi...', 'profilefields_t...') #1 /home/admin/web/сайт.ru/public_html/applications/core/sources/ProfileFields/Field.php(131): IPS\core\ProfileFields\_Field->parseHtmlLogic('<span class='ft...', '\xD0\xA2\xD0\xB2\xD0\xB5\xD1\x80\xD1\x81\xD0\xBA\xD0\xB0\xD1...', '\xD0\xA2\xD0\xB2\xD0\xB5\xD1\x80\xD1\x81\xD0\xBA\xD0\xB0\xD1...', Object(IPS\Member)) #2 /home/admin/web/сайт.ru/public_html/applications/core/sources/ProfileFields/Field.php(365): IPS\core\ProfileFields\_Field->displayValue('\xD0\xA2\xD0\xB2\xD0\xB5\xD1\x80\xD1\x81\xD0\xBA\xD0\xB0\xD1...', false, 3, Object(IPS\Member)) #3 /home/admin/web/сайт.ru/public_html/system/Member/Member.php(2370): IPS\core\ProfileFields\_Field::values(Array, 3) #4 /home/admin/web/сайт.ru/public_html/system/Member/Member.php(2345): IPS\_Member->setProfileFieldValuesInMemory(Array) #5 /home/admin/web/сайт.ru/public_html/system/Content/Content.php(172): IPS\_Member->contentProfileFields(Array) #6 /home/admin/web/сайт.ru/public_html/system/Content/Item.php(4030): IPS\_Content::constructFromData(Array) #7 /home/admin/web/сайт.ru/public_html/applications/forums/sources/Topic/Topic.php(1949): IPS\Content\_Item->_comments('IPS\\forums\\Topi...', '25', 0, 'post_date asc', NULL, false, NULL, NULL, NULL, false) #8 /home/admin/web/сайт.ru/public_html/applications/forums/modules/front/forums/topic.php(262): IPS\forums\_Topic->comments(NULL, NULL, 'date', 'asc', NULL, NULL, NULL, NULL, false, false) #9 /home/admin/web/сайт.ru/public_html/system/Dispatcher/Controller.php(101): IPS\forums\modules\front\forums\_topic->manage() #10 /home/admin/web/сайт.ru/public_html/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute() #11 /home/admin/web/сайт.ru/public_html/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute() #12 /home/admin/web/сайт.ru/public_html/system/Dispatcher/Dispatcher.php(152): IPS\forums\modules\front\forums\_topic->execute() #13 /home/admin/web/сайт.ru/public_html/index.php(13): IPS\_Dispatcher->run() #14 {main} Link to comment Share on other sites More sharing options...
saiko Posted February 3, 2021 Report Share Posted February 3, 2021 br2988 мне в таком случае помогло очистка кэша и пошаговое подключение плагинов и приложений. Но это не точно могу ошибаться в своем ответе. Link to comment Share on other sites More sharing options...
br2988 Posted February 4, 2021 Author Report Share Posted February 4, 2021 3 часа назад, saiko сказал: br2988 мне в таком случае помогло очистка кэша и пошаговое подключение плагинов и приложений. Но это не точно могу ошибаться в своем ответе. Это делал, не помогло! saiko 1 Link to comment Share on other sites More sharing options...
saiko Posted February 4, 2021 Report Share Posted February 4, 2021 br2988 тогда извини друг пока что больше даже не знаю чем и помочь. Я сам только учусь всем тонкостям (информации много и она вся интересная) Думаю кто то с форума подскажет в чем дело. Но у меня подобное было помог только откат. Link to comment Share on other sites More sharing options...
Respected Posted February 4, 2021 Report Share Posted February 4, 2021 Нужно смотреть шаблон отображения полей профиля. Link to comment Share on other sites More sharing options...
br2988 Posted February 4, 2021 Author Report Share Posted February 4, 2021 Оказывается какой-то сбой в БД произошел, некоторые пользователи из core_members пропали( Теперь в темах они стали Гость( Link to comment Share on other sites More sharing options...
br2988 Posted February 4, 2021 Author Report Share Posted February 4, 2021 8 часов назад, Respected сказал: Нужно смотреть шаблон отображения полей профиля. Восстановил БД. Сбрасывал шаблон к дефолту и всё равно ошибки идут. Куда ещё копать??? Link to comment Share on other sites More sharing options...
br2988 Posted February 4, 2021 Author Report Share Posted February 4, 2021 Всё нашел- в настройках полей профиля поставил лишнюю фигурную скобку! Link to comment Share on other sites More sharing options...
Recommended Posts