build_navigation() can not be used any more?

build_navigation() can not be used any more?

by Ahmed Farooq Cheema -
Number of replies: 2

Dear All, 

I am relatively new on this forum. I recently installed the Exabis Games Plugin. When I try to create an activity or a resource it gives me the following error.


build_navigation() can not be used any more, please use $PAGE->navbar methods instead.

Here is the 


Debug info: 
Error code: codingerror
Stack trace:
  • line 1420 of /lib/deprecatedlib.php: coding_exception thrown
  • line 231 of /mod/exagames/view.php: call to build_navigation()

Any help with this would be really appreciated. Thank you.

Average of ratings: -
In reply to Ahmed Farooq Cheema

Re: build_navigation() can not be used any more?

by andrew midgley -


Hi, I have exactly the same issue with version 2.9.1. Did you ever find a solution to this?

In reply to andrew midgley

Re: build_navigation() can not be used any more?

by Davo Smith -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Those lines of code have not been upgraded properly from the Moodle 1.9 version of the plugin.

The only solution would be for a developer to spend a few minutes rewriting the few lines of code that are incorrect.