Forums / Extensions / Problem when creating a class for audio extension
Thirunavukkrasu Arumugam
Monday 16 February 2009 9:28:53 pm
Hi I am new to Ezpublish..
when i try to create a class for audio extension.. it gives the following error..
Anybody please help me to activate the audio extension
Thanking you Arasu Fatal error: Cannot make static method eZPersistentObject::definition() non static in class Audio in /home/chipkidz/public_html/ezpub/extension/audio/datatypes/audio/audio.php on line 179Fatal error: eZ Publish did not finish its request
The execution of eZ Publish was abruptly ended, the debug output is present below.
Ćukasz Serwatka
Tuesday 17 February 2009 12:13:05 am
Hi,
I don't know a Audio extension, but error is very clear. eZPersistentObject::definition() is a static method. See http://www.php.net/manual/en/language.oop5.static.php
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog