Opcache calls PHP Fatal Error: Class '\ xa0L \ xdaor \ x7f' not found

From time to time, a change in the script image on our site occurs with an error:

PHP Fatal error: Class '\ xa0L \ xdaor \ x7f' not found ... on line 4

Actual line 4 of the script in question:

$photo = new Photo($photo_id); 

I have no idea where the hex code \xa0L\xdaor\x7f in the error log. The script will work fine and it runs relatively often for a day or two, then it starts crashing every time with this error.

If I run opcache_reset() , the errors stop.

Can anyone understand what might cause this problem?

UPDATE: I did not receive a response - so I just excluded this file from the opcode cache using opcache.blacklist_filename .

+5
source share
1 answer

Sometimes my entire PHP answer was a bunch of hex codes like this.

I had this when opcache.fast_shutdown="1" was installed.

0
source

Source: https://habr.com/ru/post/1204491/


All Articles