[PHP-BUG] Bug #75199 [NEW]: Random php fatal error , Class contains 1 abstract method
[email protected] ("panying2000 at gmail dot com") Wed, 13 Sep 2017 05:58:10 GMT
| Newsgroups | php.standards |
|---|---|
| Message-ID | <[email protected]> |
From: panying2000 at gmail dot com Operating system: Apache/2.4.25 (Win64) PHP/7.0.17 PHP version: Irrelevant Package: PHP Language Specification Bug Type: Bug Bug description:Random php fatal error , Class contains 1 abstract method Description: ------------ It is an random issue , but if it happened , the error can't be skipped . In my case , php report Fatal error: Class MySqlSessionHandler contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (SessionHandlerInterface::read) Before restart apache , I tried to modify code , php run well before require that class file , but it report error once include that class file ( modify that class file doesn't help either ). Restart apache , fatal error go away . I don't enable opcache , so it is similar with https://bugs.php.net/bug.php?id=72112 , but not an opcache bug And in internet , it report similar issue around , https://stackoverflow.com/questions/42503240/intermittent-php-abstract-class-error My Apache Setting , wish can help, Apache Version Apache/2.4.25 (Win64) PHP/7.0.17 OpenSSL/1.0.2k Apache API Version 20120211 Virtual Server Yes Loaded Modules core mod_win32 mpm_winnt http_core mod_so mod_php7 mod_actions mod_alias mod_allowmethods mod_asis mod_auth_basic mod_authn_core mod_authn_file mod_authz_core mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_deflate mod_dir mod_env mod_filter mod_include mod_info mod_isapi mod_log_config mod_mime mod_negotiation mod_rewrite mod_setenvif mod_socache_shmcb mod_ssl mod_status -- Edit bug report at https://bugs.php.net/bug.php?id=75199&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75199&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75199&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75199&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=75199&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=75199&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=75199&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=75199&r=needscript Try newer version: https://bugs.php.net/fix.php?id=75199&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=75199&r=support Expected behavior: https://bugs.php.net/fix.php?id=75199&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=75199&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=75199&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=75199&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75199&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=75199&r=dst IIS Stability: https://bugs.php.net/fix.php?id=75199&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=75199&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=75199&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=75199&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=75199&r=mysqlcfg