I am receiving following errors when i try to access pages
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
I have restarted the server error appears again after few hours. Just found it was a memory issue. changed memory_limit to 128, 256 and 512 but really seems to have happen randomly while browsing my website
Running Apache/2.4.29, PHP 7.0.26
Comments
Comment #2
cilefen commentedHas this gone away with newer PHP versions?
Comment #3
prabhakarb commentedFind the solution for the same issue https://www.drupal.org/project/drupal/issues/2711155#comment-12330404
Quick solution : After Restarting Apache that issue fixed for me!
Comment #4
cilefen commentedComment #5
patelmayank7552 commentedThanks this helped me while setting a multilingual site.
Comment #6
slhemanthkumar commentedWhooooooooooooooooooooo.... After Restarting Apache that issue fixed for me too!!!!!!!!!
Comment #7
ahabib01 commentedRestarting the Apache solved the issue for me as well. Thank you
Comment #8
sunil singh commentedJust restart the Apache and flush the cache, issue has been fixed.
Comment #9
pralaxsoftware commentedRestart the Apache and clear the cache table and session table from database.
Comment #10
rwilson0429 commentedThanks @prabhakarb. Restarting Apache worked for me too.