Перейти к публикации
View in the app

A better way to browse. Learn more.

Дизайн и модификация Invision Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Опубликовано:

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

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

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"

Как можно её исправить?

Изменено пользователем HooLIGUN

Рекомендованные сообщения

Опубликовано:

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

Создайте аккаунт или войдите в него для комментирования

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.