Exception - Call to a member function find() on null

Exception - Call to a member function find() on null

by ARUN KUMAR. SP -
Number of replies: 5

I was installed a new theme, it show this error, when I Click "use theme" button.
Now I'm not able to open that moodle site. How do I fix it?.

Average of ratings: -
In reply to ARUN KUMAR. SP

Re: Exception - Call to a member function find() on null

by ARUN KUMAR. SP -

moodle/login/index.php

And also show this error."Coding error detected, it must be fixed by a programmer: check_browser_version is removed, please update your code to use core_useragent instead"

Refer the Attachment.


Attachment Capture.JPG
In reply to ARUN KUMAR. SP

Re: Exception - Call to a member function find() on null

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

If you remove the theme folder from your installation, it should default back to the boost or clean theme.

In reply to Emma Richardson

Re: Exception - Call to a member function find() on null

by ARUN KUMAR. SP -

I'm not able to go to next. If load the page, It shows the error. I installed this in ubuntu server. 

In reply to ARUN KUMAR. SP

Re: Exception - Call to a member function find() on null

by Ken Task -
Picture of Particularly helpful Moodlers

Just to be clear ... remove the theme folder (flexi_ii) that you attempted to install.

And, when installing a theme not part of core, make sure it's compatible with the version of Moodle you are running ... which can be seen on the Notifications page.

'spirit of sharing', Ken


In reply to Ken Task

Re: Exception - Call to a member function find() on null

by ARUN KUMAR. SP -

If I able to Login I was do that. But I didn't get the login page.