Installing and upgrading help

Exception - Unknown Type - Upgrade from 2.3.2 to 2.4

This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.
Picture of Rich Lang
Exception - Unknown Type - Upgrade from 2.3.2 to 2.4


I've attempted upgrading several times today, but always seem to fall at the last hurdle. The upgrade process runs just fine, but as soon as I try and login to the upgraded site I get this error:

Exception - Unknown Type

Nothing else appears on the screen.

I am running php5.3.20 mysql5.1.66

Looking for advice please.

Thank you


Average of ratings: -
moi!!! it is what is is...
Re: Exception - Unknown Type - Upgrade from 2.3.2 to 2.4
Group Documentation writersGroup Particularly helpful Moodlers

What is generating the exception? Is it Moodle or is it PHP or the server?  If the version you are installing is no working, try stepping back one release and upgrading to that. Go to the php.ini file and set the error messages to all. See what response you get. If you cant access either that or the server, talk to your host.  

As a general rule, if there are any issues within a PHP app, they are most likely to be found in the latest rlease. So for self protection, it is better to go to the second latest release for your production site - and try the latest release on your test server.

Average of ratings: -
Picture of Jose Manuel Romero Herrera
Exception - Unknown Type - Upgrade theme from 2.4.3 to 2.6.1

Saludos, para compartir con ustedes, a mi me ha pasado algo similar, sin embargo tiene que ver con el theme que utilice en la version moodle 2.4.3.

Instale moodle 2.6.1 y copie el theme que uso en la version de moodle 2.4.3 al moodle 2.6.1.

El theme se instala sin ningun problema, se actualiza la base de datos, pero al ir a home (inicio) de moodle me aparece el siguiente error:


Exception - Unknown Type


Hasta el momento desconozco el motivo, seguiré investigando.



Average of ratings: -
Picture of Tony Galvão
Re: Exception - Unknown Type - Upgrade theme from 2.4.3 to 2.6.1

Hi dude,

I had the same problem. In my case the problem was the theme ... I decided just commenting the lines of the custom menu;

$siteadmin = $topsettings->settings_tree($this->page->settingsnav);

risible_position_menus($siteadmin, $navigation, $hascustommenu, $custommenu, $home);

Sorry my english done by Google Translate.
I hope help you.

Average of ratings: -