ludovicchabant/PieCrust — Issue #14: PHP error on using chef init
Author: rubenvincenten
Created: 2011-11-24 22:25:03+00:00
State: open

Using [this commit](https://github.com/ludovicchabant/PieCrust/commit/0eea692b6d9d9a0a814c4e36b1f6d71eaddaaca0)

PHP Fatal error: Uncaught exception 'ErrorException' with message 'Argument 1 passed to PieCrust\Chef\Chef::getErrorMessage() must be an instance of PieCrust\Chef\Console_CommandLine_Result, instance of Console_CommandLine_Result given, called in /Users/rubenvincenten/PieCrust/_piecrust/src/PieCrust/Chef/Chef.php on line 90 and defined' in /Users/rubenvincenten/PieCrust/_piecrust/src/PieCrust/Chef/Chef.php:100
Stack trace:
#0 /Users/rubenvincenten/PieCrust/_piecrust/src/PieCrust/Chef/Chef.php(100): piecrust_error_handler(4096, 'Argument 1 pass...', '/Users/rubenvin...', 100, Array)
#1 /Users/rubenvincenten/PieCrust/_piecrust/src/PieCrust/Chef/Chef.php(90): PieCrust\Chef\Chef::getErrorMessage(Object(Console_CommandLine_Result), Object(Exception))
#2 /Users/rubenvincenten/PieCrust/_piecrust/piecrust.php(124): PieCrust\Chef\Chef->run(NULL, NULL)
#3 /Users/rubenvincenten/PieCrust/_piecrust/chef.php(6): piecrust_chef()
#4 {main}
thrown in /Users/rubenvincenten/PieCrust/_piecrust/src/PieCrust/Chef/Chef.php on line 100