General developer forum

 
 
Picture of Marigianna Skouradaki
Help - Exceptions!
 

Hi,

Header and footer are showing the following exception:

 

Notice: Undefined variable: branch in /moodle/lib/setuplib.php on line 614 Call Stack: 0.0024 808128 1. {main}() /moodle/course/view.php:0 0.3516 44680824 2. core_renderer->header() /moodle/course/view.php:235 0.3892 46033296 3. core_renderer->render_page_layout() /moodle/lib/outputrenderers.php:715 0.3905 46139704 4. include('/moodle/theme/base/layout/general.php') /moodle/lib/outputrenderers.php:768 0.6679 53130256 5. block_manager->region_has_content() /moodle/theme/base/layout/general.php:6 0.6679 53130256 6. block_manager->ensure_content_created() /moodle/lib/blocklib.php:352 0.6679 53130568 7. block_manager->create_block_contents() /moodle/lib/blocklib.php:989 0.7672 54294184 8. block_base->get_content_for_output() /moodle/lib/blocklib.php:937 0.7675 54297032 9. block_base->formatted_contents() /moodle/blocks/moodleblock.class.php:232 0.7675 54297032 10. block_settings->get_content() /moodle/blocks/moodleblock.class.php:281 0.7699 54371544 11. moodle_page->__get() /moodle/blocks/moodleblock.class.php:133 0.7699 54371696 12. moodle_page->magic_get_settingsnav() /moodle/lib/pagelib.php:732 0.7702 54380912 13. settings_navigation->initialise() /moodle/lib/pagelib.php:716 0.9111 60908928 14. settings_navigation->load_administration_settings() /moodle/lib/navigationlib.php:3298 0.9820 67385792 15. admin_get_root() /moodle/lib/navigationlib.php:3393 1.1469 70851520 16. require('/moodle/admin/settings/plugins.php') /moodle/lib/adminlib.php:5921 1.3882 75398376 17. get_docs_url() /moodle/admin/settings/plugins.php:352 Notice: Undefined variable: branch in /moodle/lib/setuplib.php on line 614 Call Stack: 0.0024 808128 1. {main}() /moodle/course/view.php:0 0.3516 44680824 2. core_renderer->header() /moodle/course/view.php:235 0.3892 46033296 3. core_renderer->render_page_layout() /moodle/lib/outputrenderers.php:715 0.3905 46139704 4. include('/moodle/theme/base/layout/general.php') /moodle/lib/outputrenderers.php:768 0.6679 53130256 5. block_manager->region_has_content() /moodle/theme/base/layout/general.php:6 0.6679 53130256 6. block_manager->ensure_content_created() /moodle/lib/blocklib.php:352 0.6679 53130568 7. block_manager->create_block_contents() /moodle/lib/blocklib.php:989 0.7672 54294184 8. block_base->get_content_for_output() /moodle/lib/blocklib.php:937 0.7675 54297032 9. block_base->formatted_contents() /moodle/blocks/moodleblock.class.php:232 0.7675 54297032 10. block_settings->get_content() /moodle/blocks/moodleblock.class.php:281 0.7699 54371544 11. moodle_page->__get() /moodle/blocks/moodleblock.class.php:133 0.7699 54371696 12. moodle_page->magic_get_settingsnav() /moodle/lib/pagelib.php:732 0.7702 54380912 13. settings_navigation->initialise() /moodle/lib/pagelib.php:716 0.9111 60908928 14. settings_navigation->load_administration_settings() /moodle/lib/navigationlib.php:3298 0.9820 67385792 15. admin_get_root() /moodle/lib/navigationlib.php:3393 1.1469 70851520 16. require('/moodle/admin/settings/plugins.php') /moodle/lib/adminlib.php:5921 1.3933 75437632 17. get_docs_url() /moodle/admin/settings/plugins.php:372 

 

 

Any ideas what it might be?

Helpful facts (?) :

1) moodle has been migrated  but the error started after trying to develop a new block

2) moodle seems functional despite that

3) mdl_config was on earlier version, so I had to change my version.php . Though I did a rollback change and it did not seem to fix it

4) when I press moodle upgrade it just leads me to an blank page.

 

Any ideas will be helpful

Regards,

Marigianna

 
Average of ratings: -
Picture of Marigianna Skouradaki
Απάντηση: Help - Exceptions!
 

Hi,

Its solved. Caused by db inconsistencies.

 

 
Average of ratings: -