Не удаеться отключить режим отладки

Не удаеться отключить режим отладки

от Andrew Pechersky -
Количество ответов: 8

Moodle 3.5.3+

через админку в разделе отладка пытаюсь отключить отладку 

окно

после  того, как нажимаю "созхаринть изменения" поле снова отображает ;

окно

и сообщения об ошибках продолжают отображаться у всех пользователей. помогите отключить

В ответ на Andrew Pechersky

Re: Не удаеться отключить режим отладки

от Andrew Pechersky -

в личном кабинете студента появляется вот такое сообщение об ошибках

unique in your call to get_records? Duplicate value '792' found in column 'id'.
  • line 1254 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
  • line 5014 of /mod/forum/lib.php: call to mysqli_native_moodle_database->get_records_sql()
  • line 1986 of /mod/forum/lib.php: call to forum_discussions_user_has_posted_in()
  • line 291 of /blocks/remuiblck/classes/user_forums.php: call to forum_get_readable_forums()
  • line 89 of /blocks/remuiblck/classes/user_forums.php: call to block_remuiblck\user_forums->populate_forums()
  • line 172 of /blocks/remuiblck/classes/coursehandler.php: call to block_remuiblck\user_forums->__construct()
  • line 134 of /blocks/remuiblck/classes/coursehandler.php: call to block_remuiblck\coursehandler->recent_forum_activity()
  • line 676 of /blocks/remuiblck/classes/output/renderable.php: call to block_remuiblck\coursehandler->get_recent_active_forums()
  • line 177 of /blocks/remuiblck/renderer.php: call to block_remuiblck\output\remuiblck_recentforums->export_for_template()
  • line 426 of /lib/outputrenderers.php: call to block_remuiblck_renderer->render_remuiblck_recentforums()
  • line 72 of /blocks/remuiblck/lib.php: call to plugin_renderer_base->render()
  • line 65 of /blocks/remuiblck/lib.php: call to get_content_from_renderer()
  • line 755 of /blocks/remuiblck/classes/output/renderable.php: call to generate_block()
  • line 32 of /blocks/remuiblck/renderer.php: call to block_remuiblck\output\remuiblck_mainsection->export_for_template()
  • line 426 of /lib/outputrenderers.php: call to block_remuiblck_renderer->render_remuiblck_mainsection()
  • line 72 of /blocks/remuiblck/lib.php: call to plugin_renderer_base->render()
  • line 65 of /blocks/remuiblck/lib.php: call to get_content_from_renderer()
  • line 41 of /blocks/remuiblck/block_remuiblck.php: call to generate_block()
  • line 288 of /blocks/moodleblock.class.php: call to block_remuiblck->get_content()
  • line 230 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
  • line 1211 of /lib/blocklib.php: call to block_base->get_content_for_output()
  • line 1263 of /lib/blocklib.php: call to block_manager->create_block_contents()
  • line 604 of /lib/outputrenderers.php: call to block_manager->ensure_content_created()
  • line 197 of /theme/remui/classes/output/core_renderer.php: call to core_renderer->standard_head_html()
  • line 219 of /lib/mustache/src/Mustache/Context.php: call to theme_remui\output\core_renderer->standard_head_html()
  • line 138 of /lib/mustache/src/Mustache/Context.php: call to Mustache_Context->findVariableInStack()
  • line 34 of /sites/edu.kabacademy.com/data/localcache/mustache/1547906326/remui/__Mustache_1b292be0ad05e9322df3baa9def06fe1.php: call to Mustache_Context->findDot()
  • line 13 of /sites/edu.kabacademy.com/data/localcache/mustache/1547906326/remui/__Mustache_20c18973c54171813031a82dd1485280.php: call to __Mustache_1b292be0ad05e9322df3baa9def06fe1->renderInternal()
  • line 67 of /lib/mustache/src/Mustache/Template.php: call to __Mustache_20c18973c54171813031a82dd1485280->renderInternal()
  • line 191 of /lib/outputrenderers.php: call to Mustache_Template->render()
  • line 27 of /theme/remui/layout/mydashboard.php: call to renderer_base->render_from_template()
  • line 1287 of /lib/outputrenderers.php: call to include()
  • line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
  • line 1881 of /lib/setuplib.php: call to core_renderer->header()
  • line 164 of /my/index.php: call to bootstrap_renderer->__call()
Did you remember to make the first column something unique in your call to get_records? Duplicate value '793' found in column 'id'.
  • line 1254 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
  • line 5014 of /mod/forum/lib.php: call to mysqli_native_moodle_database->get_records_sql()
  • line 1986 of /mod/forum/lib.php: call to forum_discussions_user_has_posted_in()
  • line 291 of /blocks/remuiblck/classes/user_forums.php: call to forum_get_readable_forums()
  • line 89 of /blocks/remuiblck/classes/user_forums.php: call to block_remuiblck\user_forums->populate_forums()
  • line 172 of /blocks/remuiblck/classes/coursehandler.php: call to block_remuiblck\user_forums->__construct()
  • line 134 of /blocks/remuiblck/classes/coursehandler.php: call to block_remuiblck\coursehandler->recent_forum_activity()
  • line 676 of /blocks/remuiblck/classes/output/renderable.php: call to block_remuiblck\coursehandler->get_recent_active_forums()
  • line 177 of /blocks/remuiblck/renderer.php: call to block_remuiblck\output\remuiblck_recentforums->export_for_template()
  • line 426 of /lib/outputrenderers.php: call to block_remuiblck_renderer->render_remuiblck_recentforums()
  • line 72 of /blocks/remuiblck/lib.php: call to plugin_renderer_base->render()
  • line 65 of /blocks/remuiblck/lib.php: call to get_content_from_renderer()
  • line 755 of /blocks/remuiblck/classes/output/renderable.php: call to generate_block()
  • line 32 of /blocks/remuiblck/renderer.php: call to block_remuiblck\output\remuiblck_mainsection->export_for_template()
  • line 426 of /lib/outputrenderers.php: call to block_remuiblck_renderer->render_remuiblck_mainsection()
  • line 72 of /blocks/remuiblck/lib.php: call to plugin_renderer_base->render()
  • line 65 of /blocks/remuiblck/lib.php: call to get_content_from_renderer()
  • line 41 of /blocks/remuiblck/block_remuiblck.php: call to generate_block()
  • line 288 of /blocks/moodleblock.class.php: call to block_remuiblck->get_content()
  • line 230 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
  • line 1211 of /lib/blocklib.php: call to block_base->get_content_for_output()
  • line 1263 of /lib/blocklib.php: call to block_manager->create_block_contents()
  • line 604 of /lib/outputrenderers.php: call to block_manager->ensure_content_created()
  • line 197 of /theme/remui/classes/output/core_renderer.php: call to core_renderer->standard_head_html()
  • line 219 of /lib/mustache/src/Mustache/Context.php: call to theme_remui\output\core_renderer->standard_head_html()
  • line 138 of /lib/mustache/src/Mustache/Context.php: call to Mustache_Context->findVariableInStack()
  • line 34 of /sites/edu.kabacademy.com/data/localcache/mustache/1547906326/remui/__Mustache_1b292be0ad05e9322df3baa9def06fe1.php: call to Mustache_Context->findDot()
  • line 13 of /sites/edu.kabacademy.com/data/localcache/mustache/1547906326/remui/__Mustache_20c18973c54171813031a82dd1485280.php: call to __Mustache_1b292be0ad05e9322df3baa9def06fe1->renderInternal()
  • line 67 of /lib/mustache/src/Mustache/Template.php: call to __Mustache_20c18973c54171813031a82dd1485280->renderInternal()
  • line 191 of /lib/outputrenderers.php: call to Mustache_Template->render()
  • line 27 of /theme/remui/layout/mydashboard.php: call to renderer_base->render_from_template()
  • line 1287 of /lib/outputrenderers.php: call to include()
  • line 1217 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
  • line 1881 of /lib/setuplib.php: call to core_renderer->header()
  • line 164 of /my/index.php: call to bootstrap_renderer->__call()

В ответ на Andrew Pechersky

Re: Не удаеться отключить режим отладки

от Vadim Tabunshchik -
Изображение пользователя Developers

remuiblck - это что такое? Самопальный блок? Удалите его и всё наладится улыбаюсь

В ответ на Vadim Tabunshchik

Re: Не удаеться отключить режим отладки

от Andrew Pechersky -

Это тема для moodle 

https://edwiser.org/remui/


Но дело не в сообщении а в том, что не отключается режим отладки. Все время возвращается на настройки разработчика....

В ответ на Andrew Pechersky

Re: Не удаеться отключить режим отладки

от Vadim Tabunshchik -
Изображение пользователя Developers
Это тема для moodle

При чем тут тема, если в ошибке в основном фигурирует блок?

  • line 291 of /blocks/remuiblck/classes/user_forums.php: call to forum_get_readable_forums()
  • line 89 of /blocks/remuiblck/classes/user_forums.php: call to block_remuiblck\user_forums->populate_forums()
  • ................................................................

 И ещё куча подобных. С темой разберетесь после удаления блока.

Но дело не в сообщении а в том, что не отключается режим отладки.

Дело как раз в ошибках, которые показаны благодаря режиму отладки. Пока не устраните ошибки, могут быть самые разные глюки, вплоть до невозможности отключения отладки. Вы в курсе, что некоторые критичные ошибки могут отображаться даже при полном отключении отладки? Их вам сам РНР вываливает.

ЗЫ: чем эта тема лучше, чем куча подобных тем? Тем, что в ней глюков больше или что стоит от 99 зеленых? улыбаюсь

В ответ на Vadim Tabunshchik

Re: Не удаеться отключить режим отладки

от Данил Див -

А вообще не рекомендуете эту тему?) Просто иногда посещает мысль ее прикупить....

В ответ на Данил Див

Re: Не удаеться отключить режим отладки

от Vadim Tabunshchik -
Изображение пользователя Developers
Просто иногда посещает мысль ее прикупить....

Это неспроста улыбаюсь Деньги девать некуда?

Я её не могу рекомендовать или не рекомендовать. Я её не видел «в действии».

В ответ на Andrew Pechersky

Re: Не удаеться отключить режим отладки

от Sarang Nair -

Привет

Блочный плагин Edwiser RemUI не был правильно установлен на вашем конце.

Мы исправили проблему, переустановив плагин на вашем конце.