Error message publishing after using custom block

Permalink
I have created a block that displays a small flash speaker. It loads a mp3-file from the File Manager using Flash vars. I used the standard add Flash block to work from.

Everything seems to work, but each time I add a new instance of the block to a page I get a fatal error message when publishing. When I use the back button and exit edit-mode discarding my edits the block is installed and works fine...

I know I missed something but I am at a loss. Please help.

Error message::
Fatal error: method_exists() [<a href='function.method-exists'>function.method-exists</a>]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition &quot;dc010mp3songtitleandspeakerBlockController&quot; of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in C:\wamp\www\concrete_yvonne\concrete\libraries\database_indexed_search.php on line 135


My block can be found at:
http://www.dc010.nl/dc010_flash_mp3speaker.zip...

1 Attachment

dc010
 
dc010 replied on at Permalink Reply
dc010
Hmmm, I've finale found my error. I forgot to use caps in the classname that extends the BlockController.