HooLIGUN Posted June 2, 2018 Share Posted June 2, 2018 (edited) Добрый вечер.в логах вебсервера очень часто встречаю ошибку2018/06/03 01:20:55 [error] 19587#19587: *1076599 FastCGI sent in stderr: "PHP message: PHP Strict Standards: Declaration of sbMention::shout_row() should be compatible with skin_shoutbox_6::shout_row($d = '', $can_edit = false, $ajax = false) in /var/www/user/data/www/site.eu/admin/sources/classes/output/publicOutput.php(3849) : eval()'d code on line 16 PHP message: PHP Strict Standards: Declaration of sbMention::shout_row_sidebar() should be compatible with skin_shoutbox_6::shout_row_sidebar($d = '', $can_edit = false, $ajax = false) in /var/www/user/data/www/site.eu/admin/sources/classes/output/publicOutput.php(3849) : eval()'d code on line 16" while reading response header from upstream, client: 46.233.222.111, server: site.eu, request: "GET / HTTP/2.0", upstream: "fastcgi://unix:/var/www/php-fpm/user.sock:", host: "www.site.eu" Как можно её исправить? Edited June 2, 2018 by HooLIGUN Link to comment Share on other sites More sharing options...
newbie Posted June 3, 2018 Share Posted June 3, 2018 Ошибка в каком-то хуке с классом "sbMention", который расширяет "чатовский" класс skin_shoutbox и переопределяет 2 метода (shout_row и shout_row_sidebar), у которых аргументы не совпадают с аргументами методов родительского класса. Должно бытьpublic function shout_row($d='',$can_edit=false,$ajax=false)иpublic function shout_row_sidebar($d='',$can_edit=false,$ajax=false) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now