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

sreejith_35 created an issue. See original summary.

cilefen’s picture

Status: Active » Postponed (maintainer needs more info)

Has this gone away with newer PHP versions?

prabhakarb’s picture

Find 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!

cilefen’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
patelmayank7552’s picture

Thanks this helped me while setting a multilingual site.

slhemanthkumar’s picture

Whooooooooooooooooooooo.... After Restarting Apache that issue fixed for me too!!!!!!!!!

ahabib01’s picture

Restarting the Apache solved the issue for me as well. Thank you

sunil singh’s picture

Just restart the Apache and flush the cache, issue has been fixed.

pralaxsoftware’s picture

Restart the Apache and clear the cache table and session table from database.

rwilson0429’s picture

Thanks @prabhakarb. Restarting Apache worked for me too.