An unexpected error occurred - cannot access dashboard/pages/themes

Permalink
Hello!

I'm developing my first concrete5 theme and I was just following the tutorial on adding custom classes to blocks, which required me to create a "page_theme.php" file, and then uninstall/reinstall the theme for it to take effect, but when I tried to reinstall my theme after unistalling it I got the following error:

"An unexpected error occurred.
Class \Concrete\Theme\mycustomtheme\PageTheme does not exist"

And now I can't access the dashboard/pages/themes section, so far I tried the following, to no avail:

-Ceared caches
-Removed my custom theme from the /themes/ folder

Any help will be greatly appreciated! :)

P.S.: I can access other parts of the dashboard just fine, it's only the pages/themes section that's giving me problems.

 
Sekhmet replied on at Permalink Reply
Ok I feel a little dumb for not trying this before, but simply deleting my custom theme's row from the "PageThemes" table in the database fixed the problem!