Snap's child theme does not work.

Re: Snap's child theme does not work.

by Wallace Pereira -
Number of replies: 0

I quit!

I tested it with Moodle versions 3.5, 3.4, 3.3 and 3.2. Same failure. Ao acessar admin/category.php?category=appearance and with debugging enabled, the following error is displayed:

Exception - Class 'theme_pans\admin_setting_configcourseid' not found
Debug info: 
Error code: generalexceptionmessage
Stack trace:
  • line 42 of /theme/pans/settings/featured_courses_settings.php: Error thrown
  • line 36 of /theme/pans/settings.php: call to require()
  • line 52 of /admin/settings/appearance.php: call to include()
  • line 8063 of /lib/adminlib.php: call to require()
  • line 4217 of /lib/navigationlib.php: call to admin_get_root()
  • line 4080 of /lib/navigationlib.php: call to settings_navigation->load_administration_settings()
  • line 759 of /lib/pagelib.php: call to settings_navigation->initialise()
  • line 820 of /lib/pagelib.php: call to moodle_page->magic_get_settingsnav()
  • line 136 of /blocks/settings/block_settings.php: call to moodle_page->__get()
  • line 321 of /blocks/moodleblock.class.php: call to block_settings->get_content()
  • line 230 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
  • line 1216 of /lib/blocklib.php: call to block_base->get_content_for_output()
  • line 1268 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 94 of /theme/boost/classes/output/core_renderer.php: call to core_renderer->standard_head_html()
  • line 46 of /theme/snap/layout/header.php: call to theme_boost\output\core_renderer->standard_head_html()
  • line 26 of /theme/snap/layout/default.php: call to require()
  • line 1328 of /lib/outputrenderers.php: call to include()
  • line 1258 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
  • line 2889 of /lib/outputrenderers.php: call to core_renderer->header()
  • line 1893 of /lib/setuplib.php: call to core_renderer->fatal_error()
  • line 386 of /lib/setuplib.php: call to bootstrap_renderer->__call()
  • line ? of unknownfile: call to default_exception_handler()

Searching in Notepad ++ where this term appears, was displayed 10 hits in 2 files, just like the original Snap.

I just rename files, folders and codes and nothing. It seems that they put contraceptives on this Moodle theme so that it would not be possible to create child themes hahaha.

Thank you for your help.