gjerokrsteski / pimf-framework

Micro framework for PHP that emphasises minimalism and simplicity
pimf-framework.de
MIT License
43 stars 16 forks source link

PHP7 exception error? #16

Closed spresnac closed 8 years ago

spresnac commented 8 years ago

Downloaded pimf-vanilla with pimf, configured apache to work with it and got this error:

"Uncaught TypeError: Argument 1 passed to Pimf\Error::exception() must be an instance of Exception, instance of TypeError given, called in ...\pimf-framework\core\Pimf\Application.php on line 143"

php 7.0.6

Can this be a php7 error (most google results point to this). Please examine this problem, tnx

gjerokrsteski commented 8 years ago

PIMF supports following PHP versions: 5.3, 5.4, 5.5, 5.6 and 5.5.9. We work hard to satisfy all features of PHP7, which means that in some very rare cases it is allowed to fail.

You have to ensure that you have latest master branch updated as submodule.

We just fixed some code, please test it out doing following:

ps. please find here the fix we made for you ;-) https://travis-ci.org/gjerokrsteski/pimf-framework/builds/131376703

pps. and if doesnt work for you.. just replacepimf-framework` directory with curent master branch.

gjerokrsteski commented 8 years ago

Thge reason was that old version of pimf-framework submodule was bound. Now latest master version of PIMF is linked. Have fun :-)

spresnac commented 8 years ago

Works, great, thanks