You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the same results when autoload.php contains extension registry, i. e. it was generated from proto definition which has extensions. I believe it's due to C function zend_lookup_class() (used in file extension_registry.c in php-protocolbuffers) not performing autoload functions supplied by spl_autoload_register().
gsnoff
added a commit
to gsnoff/php-protocolbuffers
that referenced
this issue
Oct 31, 2014
The string buffer pointed to by message_class_name appears to be managed by the php engine, since duplicate strings (e.g. literal class names) are being stored in the same place. Assuming it is much safer to increment the pointer variable itself rather than mess up with the buffer's contents.
Might fixchobie/protoc-gen-php#7
On first request the page is loaded successfully. But second time (page already in cache) fatal error is thrown:
Temporary solution:
Add to OPCache blacklist (opcache.blacklist_filename) the following line:
The text was updated successfully, but these errors were encountered: