Minified version of Nette 2.1-dev for PHP 5.3 (2013–05–06) throws Nette\MemberAccessException

Notice: This thread is very old.
radas
Member | 220
+
0
-

Nette\MemberAccessException: Call to undefined method Nette\PhpGenerator\ClassType::addExtend(). in /lib/Nette/loader.php:3009

This line in bootstrap.php throws exception:

$container = $configurator->createContainer();

With unminified version of Nette is it ok.

David Grudl
Nette Core | 8082
+
0
-

fixed

Šaman
Member | 2632
+
0
-

Same problem on Nette 2.1 from 2013–06–05 (but version from May too), non minified.
This problem is only on production server.

Last edited by Šaman (2013-06-06 18:27)

Majkl578
Moderator | 1364
+
0
-

I'd start with turning shitty eAccelerator off (which is out of memory BTW, which may cause strange behavior too, like in case of APC which is crashing in that case). Report if it helps.

Šaman
Member | 2632
+
0
-

Problem temporary moved to czech forum, result will be posted here.

Šaman
Member | 2632
+
0
-

Thank you.
Problem is eAccelerator – after disable it, all works corretly.