macar Posted October 30, 2022 Report Share Posted October 30, 2022 При РНР8.1 в лог сыпятся ошибки: PHP Deprecated: Optional parameter $class declared before required parameter $sidebar is implicitly treated as a required parameter in /www/wwwroot/sait.ru/uploads/template_20_cb1ab6a3de540714bae0bd93606e3fa2_overview.php on line 415 Код функции в файле: 415. function searchBar( $id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $sidebar, $attributes=array(), $form=NULL ) { $return = ''; $return .= <<<CONTENT Как я понял надо поменять местами class и sidebar, если меняю в файле то оно все возврвщается в зад а в базе этот код найти не могу, ткните носом, но не сильно! Quote Link to comment Share on other sites More sharing options...
by_ix Posted October 30, 2022 Report Share Posted October 30, 2022 если это плагин или приложение, то смотреть нужно не в бд, а в файлах. SlawkA 1 Quote Link to comment Share on other sites More sharing options...
macar Posted October 30, 2022 Author Report Share Posted October 30, 2022 namespace IPS\Theme\Cache; class class_calendar_front_overview extends \IPS\Theme\Template Это календарь получается? В папке calendar в theme.xml нашел подобное буду пробовать, спасибо за подсказку. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.