Bug #78106 [Opn->Fbk]: PHP Fatal error: Uncaught Error: Class 'Phpfastcache\Config\Config' not found

From: Date: Tue, 04 Jun 2019 21:21:27 +0000
Subject: Bug #78106 [Opn->Fbk]: PHP Fatal error: Uncaught Error: Class 'Phpfastcache\Config\Config' not found
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-221123@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78106&edit=1 ID: 78106 Updated by: cmb@php.net Reported by: mbiebl at messageconcept dot com Summary: PHP Fatal error: Uncaught Error: Class 'Phpfastcache\Config\Config' not found -Status: Open +Status: Feedback Type: Bug Package: *General Issues Operating System: Windows Server 2016 / IIS 10 PHP Version: 7.2.19 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Does this happen with and without Opcache being enabled? Previous Comments: ------------------------------------------------------------------------ [2019-06-04 19:34:51] mbiebl at messageconcept dot com As one more data point: 7.3.6 does not seem to be affected ------------------------------------------------------------------------ [2019-06-04 18:54:29] mbiebl at messageconcept dot com The setup is identical between 7.2.18 and 7.2.19. The application is unchanged, php.ini is the same. The PHP version I'm using is the Windows x86 NTS build. IIS uses PHP via FCGI. The application is a CardDAV server built on top of sabre/dav. I tried to create a minimal test case which simply does ``` <?php require_once 'vendor/autoload.php'; $config = new \Phpfastcache\Config\Config(); ``` but this works just fine and doesn't trigger the fatal error, so I'm a bit stuck at providing a minimal test case. What I can do offer to do, is to try test builds. Unfortunately I don't have the toolchain to build those windows binaries myself, but if you can provide such binaries, we could do a git bisect run this way. Other then that, I'd be glad to provide you with more information or try any debugging steps. Just let me know. ------------------------------------------------------------------------ [2019-06-04 18:14:01] requinix@php.net I don't see anything in the 7.2.19 changelog that looks relevant, and it's going to be hard to reproduce and test without being able to see it happening... How much debugging have you done? Is the autoloader running? Can it locate the class/file? What happens if you require() the file manually? Does the 7.2.19 setup exactly match the 7.2.18 setup? What else is changing besides the version of PHP? ------------------------------------------------------------------------ [2019-06-04 18:08:49] mbiebl at messageconcept dot com Unfortunately I don't have a short reproducer script aside from the application itself ------------------------------------------------------------------------ [2019-06-04 18:04:03] krakjoe@php.net Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=78106 -- Edit this bug report at https://bugs.php.net/bug.php?id=78106&edit=1

« previous php.bugs (#221123) next »