PHP Fatal error: Uncaught Error: getLogger() (WPOD)

Hi!

I have a problem accessing Owncloud. When I surf to the index page I get nothing, just a white page...

Steps to reproduce
1. Go to main page
2.
3.

Expected behaviour
The login page should appear?

Actual behaviour
White Page Of Death (WPOD)

Server configuration
Operating system: Linux Mint 18 64bit
Web server: apache 2 (2.4.18-2ubuntu3.1)
Database: mysql (5.7.13-0ubuntu0.16.04.2)
PHP version: 7.0 (1:7.0+35ubuntu6, i think)
ownCloud version (see ownCloud admin page):
OC_Version = array(9,1,0,15);
OC_VersionString = '9.1.0';
OC_Edition = '';
OC_Channel = 'stable';
OC_VersionCanBeUpgradedFrom = array(9,0);
OC_Build = '2016-07-20T09:15:56+00:00 b642b26f7229c99b33e49cde86b38fdc6e8e5f21';

Updated from an older ownCloud or fresh install: fresh install

ownCloud log (data/owncloud.log, see https://central.owncloud.org/t/how-to-find-webserver-or-oc-logfile-enable-php-logfile/808):

PHP Fatal error:  Uncaught Error: Call to a member function getLogger() on null in /srv/owncloud/index.php:57\nStack trace:\n#0 {main}\n  thrown in /srv/owncloud/index.php on line 57, referer: https://***.***.***.***/owncloud/

Special configuration (external storage, external authentication, reverse proxy, server-side-encryption):

Integrity status for oC9+

Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
See Actual Behavior

Also tried permissions

In a previous bug report, there was an issue with the permissions:

Could be worth trying this before submitting a bugreport on github.com/owncloud/core/issues.

Hmm, it was running fine... However I remember the last thing I did was updating a app. It was the Music app if I remember correctly.

I removed the folder but it still does not work.

I will try this but since my permissions were good... :wink:

I tried:

sudo chown www-data -R /srv/owncloud

I will try the data disk now.

Maybe this will help too but it is too long to include it all here:

{"reqId":"kQhLkN3KL6tnJfgYdpAN","remoteAddr":"94.213.128.14","app":"PHP","message":"PHP Startup: Unable to load dynamic library '\/usr\/lib\/php\/20151012\/pdo_msql.so' - \/usr\/lib\/php\/20151012\/pdo_msql.so: cannot open shared object file: No such file or directory at Unknown#0","level":3,"time":"2016-08-25T06:00:36+00:00","method":"POST","url":"\/owncloud\/index.php\/login","user":"ivdadmin"}
{"reqId":"jVCnzdxSSNDpIn4WA+WP","remoteAddr":"94.213.128.14","app":"PHP","message":"PHP Startup: Unable to load dynamic library '\/usr\/lib\/php\/20151012\/pdo_msql.so' - \/usr\/lib\/php\/20151012\/pdo_msql.so: cannot open shared object file: No such file or directory at Unknown#0","level":3,"time":"2016-08-25T06:00:38+00:00","method":"GET","url":"\/owncloud\/index.php\/apps\/files\/","user":"ivdadmin"}
{"reqId":"Mk+TNae9P9z5mf9OouPT","remoteAddr":"94.213.128.14","app":"PHP","message":"PHP Startup: Unable to load dynamic library '\/usr\/lib\/php\/20151012\/pdo_msql.so' - \/usr\/lib\/php\/20151012\/pdo_msql.so: cannot open shared object file: No such file or directory at Unknown#0","level":3,"time":"2016-08-25T06:00:41+00:00","method":"GET","url":"\/owncloud\/ocs\/v2.php\/apps\/notifications\/api\/v1\/notifications?format=json","user":"ivdadmin"}
{"reqId":"y3IB69QkP7ZAUT6bihnq","remoteAddr":"94.213.128.14","app":"PHP","message":"PHP Startup: Unable to load dynamic library '\/usr\/lib\/php\/20151012\/pdo_msql.so' - \/usr\/lib\/php\/20151012\/pdo_msql.so: cannot open shared object file: No such file or directory at Unknown#0","level":3,"time":"2016-08-25T06:00:50+00:00","method":"GET","url":"\/owncloud\/index.php\/core\/preview.png?file=%2Fdocuments%2Fboeken%2FPHP+Solutions+2e+%5BA4%5D.pdf&c=872695fdc8240dbb703a61921cc53c04&x=32&y=32&forceIcon=0","user":"ivdadmin"}
{"reqId":"aI267LaL4x04Rp2NLD5j","remoteAddr":"94.213.128.14","app":"files_antivirus","message":"OCA\Files_Antivirus\BackgroundScanner::run, exception: An exception occurred while executing 'SELECT fc.fileid FROM oc_filecache fc LEFT JOIN oc_files_antivirus fa ON fa.fileid = fc.fileid INNER JOIN oc_storages ss ON (fc.storage = ss.numeric_id) AND ((ss.id LIKE 'local::%') OR (ss.id LIKE 'home::%')) WHERE (fc.mimetype <> '2') AND ((fa.fileid IS NULL) OR (fc.mtime > fa.check_time)) AND (fc.path LIKE 'files\/%') AND (fc.size <> 0) LIMIT 5':\n\nSQLSTATE[42S22]: Column not found: 1054 Unknown column '0' in 'where clause'","level":3,"time":"2016-08-25T06:01:36+00:00","method":"GET","url":"\/owncloud\/cron.php","user":"--"}
{"reqId":"vvdfNT5Y3AXCpSVTsj31","remoteAddr":"192.168.178.18","app":"core","message":"Trusted domain error. \"192.168.178.18\" tried to access using \"192.168.178.12\" as host.","level":2,"time":"2016-08-25T06:48:06+00:00","method":"GET","url":"\/owncloud\/index.php","user":"--"}
{"reqId":"vvdfNT5Y3AXCpSVTsj31","remoteAddr":"192.168.178.18","app":"PHP","message":"PHP Startup: Unable to load dynamic library '\/usr\/lib\/php\/20151012\/pdo_msql.so' - \/usr\/lib\/php\/20151012\/pdo_msql.so: cannot open shared object file: No such file or directory at Unknown#0","level":3,"time":"2016-08-25T06:48:06+00:00","method":"GET","url":"\/owncloud\/index.php","user":"--"}
{"reqId":"m54pbKPyGHvjJgf0nim6","remoteAddr":"192.168.178.18","app":"core","message":"Trusted domain error. \"192.168.178.18\" tried to access using \"192.168.178.12\" as host.","level":2,"time":"2016-08-25T06:48:07+00:00","method":"GET","url":"\/owncloud\/index.php\/core\/js\/oc.js?v=be50520626dffad1c8d91790d20fccc6","user":"--"}
{"reqId":"rG+9SYrvKCb3Mzg1EB6c","remoteAddr":"192.168.178.18","app":"core","message":"Trusted domain error. \"192.168.178.18\" tried to access using \"192.168.178.12\" as host.","level":2,"time":"2016-08-25T06:48:08+00:00","method":"GET","url":"\/owncloud\/index.php\/core\/js\/oc.js?v=be50520626dffad1c8d91790d20fccc6","user":"--"}
{"reqId":"HA63ffrpik1fCdp2igUy","remoteAddr":"192.168.178.18","app":"core","message":"Trusted domain error. \"192.168.178.18\" tried to access using \"192.168.178.12\" as host.","level":2,"time":"2016-08-25T06:48:11+00:00","method":"GET","url":"\/owncloud\/cron.php","user":"--"}
{"reqId":"HA63ffrpik1fCdp2igUy","remoteAddr":"192.168.178.18","app":"PHP","message":"PHP Startup: Unable to load dynamic library '\/usr\/lib\/php\/20151012\/pdo_msql.so' - \/usr\/lib\/php\/20151012\/pdo_msql.so: cannot open shared object file: No such file or directory at Unknown#0","level":3,"time":"2016-08-25T06:48:11+00:00","method":"GET","url":"\/owncloud\/cron.php","user":"--"}

You can't load the mysql-pdo module. Have you installed php7.0-mysql? Or is this just a broken link:

PHP Startup: Unable to load dynamic library '\/usr\/lib\/php\/20151012\/pdo_msql.so

Then you should also fix your trusted domain settings in your config/config.php:

Trusted domain error. \"192.168.178.18\" tried to access using \"192.168.178.12\" as host.

Hi! :smiley:

Well lets see. I get this when I install php7.0-mysql:

php7.0-mysql is reeds de nieuwste versie (7.0.8-0ubuntu0.16.04.2)

which means I have the newest version of php7.0-mysql :wink:

I can't look into this now since owncloud is disabled by this problem. However, I have seen it :wink:

Thank you for helping! :smiley:

If there are anymore things I can try then I'm open to suggestions :wink:

Can you run a phpinfo(); in a small test-script and check if php-pdo is enabled in your php configuration. Also check in your php config (/etc/php*/*) where this reference comes from:
/usr/lib/php/20151012/pdo_msql.so, perhaps it's just a leftover from an old setup.