Yii2 got error with Codeception v2.1.5


(Tuanvu Se) #1

I try to update codeception in yii app basic to version 2.1.5. After I rebuild codept and run, it generated error like this:

Please don’t tell me that I should walk over the limit of xdebug because I’ve never got this error in codeception v2.0.12.


(Softark) #2

Probably modifying xdebug.max_nesting_level will solve the problem.

http://stackoverflow.com/questions/8656089/solution-for-fatal-error-maximum-function-nesting-level-of-100-reached-abor


(Jacob Moen) #3

If you have upgraded then maybe you did not clean and build everything - perhaps forgetting to clear unit tests?

You could check the issue tracker of Codeception just to make sure that it is not a bug/issue…

But make sure that everything is cleaned up and if you have Codeception installed globally and locally that they match up.


(Tomasz Kane) #4

No. More probably it’s Yii2 and Codeception 2.1.x problem. See this topic: http://www.yiiframework.com/forum/index.php/topic/67508-basic-template-codeception-test-can-only-run-one-by-one/