October: Upgrade bug from 425 to 426

Created on 22 Oct 2017  路  4Comments  路  Source: octobercms/october

I get this error screen when I upgrade from 425 to 426.

untitled

We're sorry, but an unhandled error occurred. Please see the details below.

Class 'System\Twig\MediaLibrary' not found
/home/xxxx/public_html/modules/system/twig/Extension.php line 105

Is it me or the beta version of October thanks...?

Medium Review Needed Unconfirmed Bug

Most helpful comment

Hi Luke,

Thanks for your reply, yes the file:

/modules/system/twig/Extension.php

It was showing:

use System\Classes\MediaLibary;

and I manually went in and changed it to:

use System\Classes\MediaLibrary;

So when I upgraded it didn't update that file automatically.

p.s. Now I have changed that file everything is working fine again.

All 4 comments

Could you please take a look at the top of \System\Twig\Extension and see if it includes this line: https://github.com/octobercms/october/blob/develop/modules/system/twig/Extension.php#L9?

Hi Luke,

Thanks for your reply, yes the file:

/modules/system/twig/Extension.php

It was showing:

use System\Classes\MediaLibary;

and I manually went in and changed it to:

use System\Classes\MediaLibrary;

So when I upgraded it didn't update that file automatically.

p.s. Now I have changed that file everything is working fine again.

Ah, right. @ChVuagniaux discovered that and fixed it in a PR: https://github.com/octobercms/october/commit/c7dcd386d1462d70d3aaac098fc271ddbefdc9ad. Good to hear it's working now!

@ayumihamsaki That's it, thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lukaszbanas-extremecoding picture lukaszbanas-extremecoding  路  3Comments

atrauzzi picture atrauzzi  路  3Comments

sozonovalexey picture sozonovalexey  路  3Comments

EbashuOnHolidays picture EbashuOnHolidays  路  3Comments

jvanremoortere picture jvanremoortere  路  3Comments