Jump to content
Дизайн и модификация IPS Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
HooLIGUN

Ошибки в логах вебсервера от Shoutbox

Recommended Posts

Добрый вечер.

в логах вебсервера очень часто встречаю ошибку

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 by HooLIGUN

Share this post


Link to post

Ошибка в каком-то хуке с классом "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)

Share this post


Link to post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...