简体   繁体   中英

Drupal - Fatal error sessionhandler

I am receiving following errors when I try to access pages and the site becomes inaccessible(error 500).

PHP Fatal error: Class Drupal\\Core\\Database\\Statement contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Drupal\\Core\\Database\\StatementInterface::fetchObject) in /projects/core/lib/Drupal/Core/Database/Statement.php on line 16

PHP Fatal error: Class Drupal\\Core\\Session\\SessionHandler contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (SessionHandlerInterface::read) in /projects/core/lib/Drupal/Core/Session/SessionHandler.php on line 15

Restarting server will solve the issue for a limited time. Just found it was a memory issue. changed the memory_limit to 128, 256 and 512 but really seems to have happen randomly while browsing my website

Apache/2.4.29, PHP 7.0.26

Hey just need to delete cache or run drupal cron. for more details, please go to following the link.

https://www.drupal.org/project/drupal/issues/2668564

Hope it will useful for you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM