This is predictable bug, based on syntax used in admin_menu and already reported two bugs:
#1107770: Mollom: Maximum function nesting level of '400' reached, aborting! in tests/mollom.test on line 83
#1105064: FileField: Test: Fatal error: Maximum function nesting level of '400' reached, aborting! in filefield.test with PHP 5.3
3.x and master contain following code:
call_user_func_array(array($this, 'parent::setUp'), array_merge(array('admin_menu'), $args));
http://drupalcode.org/project/admin_menu.git/blame/refs/heads/6.x-3.x:/t...
http://drupalcode.org/project/admin_menu.git/blame/refs/heads/master:/te...
which is nesting/crashing with PHP 5.3.
It should be replaced to:
parent::setUp($modules);
as 1.x has it.
or:
call_user_func_array('parent::setUp', $modules);
Comments
Comment #1
kenorb CreditAttribution: kenorb commentedComment #2
kenorb CreditAttribution: kenorb commentedComment #3
sunThanks for reporting, reviewing, and testing! Committed http://drupal.org/commitlog/commit/2608/60f1006f20dc4d1f94259d17b375d49a...
A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.
Comment #4
Dave ReidKeep in mind that when you do this: function setUp($modules = array()) {
that all your inherited classes also need to use setUp($module = array()) in their definition otherwise it causes strict errors on PHP 5.3...
Comment #5
sund'oh - fixed in a follow-up: http://drupalcode.org/project/admin_menu.git/commit/07be7d86c9def901c67d...
Looks like I have to find some time to fix my error reporting...