We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Error while generating phalcon 2.0

Hi,

I get this error

PHP Fatal error: Can't inherit abstract function CommandInterface::getCommand() (previously declared abstract in CommandAbstract) in /home/xxxx/Downloads/zephir/Library/Commands/Abstract.php on line 26

When doing this ../zephir/bin/zephir generate

I know phalcon 2 is not support and all, but do you have an idea what might be the problem ? (i'm on centOS 6, PHP 5.3.3 (cli))

I followed this guide https://github.com/phalcon/cphalcon/tree/2.0.0

@Xrampino is this still an issue?

edited Mar '14

yep~ i got the same issue followed this guide https://github.com/phalcon/cphalcon/tree/2.0.0 error message as the following

PHP Fatal error: Can't inherit abstract function Zephir\Commands\CommandInterface::getCommand() (previously declared abstract in Zephir\Commands\CommandAbstract) in /home/fish/projects/zephir-master/Library/Commands/CommandAbstract.php on line 32

Fatal error: Can't inherit abstract function Zephir\Commands\CommandInterface::getCommand() (previously declared abstract in Zephir\Commands\CommandAbstract) in /home/fish/projects/zephir-master/Library/Commands/CommandAbstract.php on line 32

p.s. how do add a newline in comments?