Hello,
I have tried flushing everything and still get the following error when trying to access the assets tab:
Fatal error: Class name must be a valid object or a string in /sapphire/filesystem/Folder.php on line 104
Thanks in advance!
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hello,
I have tried flushing everything and still get the following error when trying to access the assets tab:
Fatal error: Class name must be a valid object or a string in /sapphire/filesystem/Folder.php on line 104
Thanks in advance!
Hi,
What you have to do is to follow these steps;
1. go to phpMyAdmin on your localhost, or webserver
2. go to the DB and find the table 'File'
3. In the row 'Classname' you see that all images are defined as Image
4. Try to find the Classnames that are not set (they are set as 'Null')
That error appears because the classnames are not set.
5. Set the correct classname, like Image
Hope that helps,
Grz, Raack