Uncaught Error Message In (DevTools)

Uncaught Error Message In (DevTools)

by Ultra Max -
Number of replies: 3

Hello All,

I'm getting this error in developer tools (

Uncaught Error: No define call for theme_boost/bootstrap
http://requirejs.org/docs/errors.html#nodefine
at makeError (require.min.js:1)
at Object.completeLoad (require.min.js:1)
at HTMLScriptElement.onScriptLoad (require.min.js:1)

)

How I can fix this error?

Very strange I'm not using Boost theme in moodle (I'm Using Academi theme)

I Checked: root dir > Lib > requirejs > require.min.js (Seems that the file is ok).

 

Please Help!

Thank you In Advanced!

 

Average of ratings: -
In reply to Ultra Max

Re: Uncaught Error Message In (DevTools)

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Broken JavaScript (JS) somewhere, or malformed markup that is breaking the JS or missing files and please read the forum rules before posting.

In reply to Gareth J Barnard

Re: Uncaught Error Message In (DevTools)

by Ultra Max -

I found a solution....!

the require.min.js was damaged!

I deleted that file from: root dir > Lib > requirejs > require.min.js, then unpacked the Academi theme and re-uploaded the file again... error gone....

But it was very strange.. Can't understand, how the error was triggered if i wasn't using that theme (Boost Theme)..

By the way Here Is My Site

 

In reply to Ultra Max

Re: Uncaught Error Message In (DevTools)

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

The JS in all the themes installed is referenced regardless of the active theme.

Average of ratings: Useful (1)