Nette 2.1 Class ‘Nette\Utils\Callback’ not found

6 years ago

simPod
Member | 371
+
0
-

From time to time I get this error: https://dl.dropboxusercontent.com/…20Error.html

Dont know what is causing it, Im using Nette v2.1

Have no idea how to reproduce this, it just appears and then I have to clear cache to get rid of it for a while.

6 years ago

Milo
Nette Core | 1149
+
0
-

It smells by eAccelerator or APC cache bug.

6 years ago

simPod
Member | 371
+
0
-

What are the options? ;)

6 years ago

Majkl578
Moderator | 1379
+
0
-

@Milo: Why do you think so? Aaccording to attached bluesceen, neither was present when the error occurred.

The strange thing is that that class doesn't exist in 2.1 at all and that line actually does not contain “Utils”. Weird. Smells like some weird mixture of 2.0 and 2.1. Looked into wrong API doc.

6 years ago

Quinix
Member | 108
+
0
-

@Majkl578 Yes, it does https://github.com/…Callback.php

In fact, Utils\Callback was added in 2.1

6 years ago

David Grudl
Nette Core | 6850
+
0
-

It seems that there is missing or failing another loader, like Nette Loader or composer. How did you install and load Nette?

6 years ago

simPod
Member | 371
+
0
-

manually via cmd+c,v