Hi all,
I’ve installed GetGrav in a subdirectory by uploading the unzipped files. Whenever I go to http://mydomain.com/gravsub it always displays
Whoops \ Exception \ ErrorException (E_CORE_WARNING)
Module ‘PDO’ already loaded
When I reload it, everything is fine and I could open all pages. But when I close the browser and come back later it again shows this error message. So the problem is repeatable.
Any ideas?
From a quick Google of your error, it looks like maybe you switched from an older PHP to PHP 5.4? And perhaps you have a php.ini file from that older version of PHP that is manually loading the pdo.so module.
Grav doesn’t even use PDO, and this is purely a PHP setup error. I suggest finding your php.ini file and commenting out the PDO modular installation line and then restart apache.
You will need to contact your hosting provider then. This is a PHP error that will show up no matter what PHP script you use, this isn’t related to Grav at all.
Might be, yes. But it seems that the problem is also solved now: In my admin interface I have a “PHP Switcher”. Currently 5.4.36 was selected, now I changed it to 5.6.4 and it the error did not appear anymore Many thanks for your support!