Bug #80862 [NEW]: "Class not found" using Opcache & Xenforo

From: Date: Sun, 14 Mar 2021 11:55:21 +0000
Subject: Bug #80862 [NEW]: "Class not found" using Opcache & Xenforo
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-232702@lists.php.net to get a copy of this message
From: alex at ndros dot com Operating system: Windows 2019 PHP version: 7.4.16 Package: opcache Bug Type: Bug Bug description:"Class not found" using Opcache & Xenforo Description: ------------ Hi, We're using PHP 7.4.16 NTS with Opcache. We randomly get "class not found" errors with the software that we run (Xenforo 2.2). For example: Class 'XF\Mvc\Entity\Repository' not found This is solved after an IIS reset, but after a few minutes, we may get the same on another class not found error. Our Opcache config is: [OPCACHE] zend_extension = "php_opcache.dll" opcache.memory_consumption=256 opcache.cache_id=node1 opcache.error_log="D:\temp\php\opcache.log" opcache.validate_timestamps=1 opcache.revalidate_freq=30 opcache.interned_strings_buffer=32 opcache.save_comments=0 opcache.max_file_size=0 opcache.file_update_protection=2 ;opcache.file_cache_consistency_checks=0 // not used ;opcache.file_cache="D:\temp\php\opcache_filecache" // not used opcache.max_accelerated_files=10000 opcache.log_verbosity_level=4 opcache.blacklist_filename= "D:\inetpub\wwwroot\******.com\conf\opcache\opcache-blacklist.txt" opcache.enable_cli=1 opcache.max_wasted_percentage=10 Thank you Alex Test script: --------------- We haven't found a specific way to reproduce the issue. Expected result: ---------------- We haven't found a specific way to reproduce the issue. -- Edit bug report at https://bugs.php.net/bug.php?id=80862&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=80862&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=80862&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=80862&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=80862&r=needscript Try newer version: https://bugs.php.net/fix.php?id=80862&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=80862&r=support Expected behavior: https://bugs.php.net/fix.php?id=80862&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=80862&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=80862&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=80862&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=80862&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=80862&r=dst IIS Stability: https://bugs.php.net/fix.php?id=80862&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=80862&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=80862&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=80862&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=80862&r=mysqlcfg

« previous php.bugs (#232702) next »