Add a try catch block
Add a try catch block

This function might also be called before ownCloud is setup which results in a PHP fatal error. We therefore should gracefully catch errors in there.

whitekiba/server,IljaN/core,cernbox/core,pollopolea/core,whitekiba/server,lrytz/core,michaelletzgus/nextcloud-server,xx621998xx/server,pixelipo/server,pollopolea/core,IljaN/core,pollopolea/core,pmattern/server,nextcloud/server,owncloud/core,lrytz/core,endsguy/server,sharidas/core,endsguy/server,Ardinis/server,pixelipo/server,pmattern/server,xx621998xx/server,michaelletzgus/nextcloud-server,sharidas/core,owncloud/core,nextcloud/server,Ardinis/server,IljaN/core,xx621998xx/server,bluelml/core,endsguy/server,pmattern/server,andreas-p/nextcloud-server,andreas-p/nextcloud-server,pixelipo/server,xx621998xx/server,lrytz/core,owncloud/core,bluelml/core,cernbox/core,michaelletzgus/nextcloud-server,pixelipo/server,xx621998xx/server,pmattern/server,sharidas/core,nextcloud/server,nextcloud/server,endsguy/server,andreas-p/nextcloud-server,cernbox/core,andreas-p/nextcloud-server,phil-davis/core,jbicha/server,andreas-p/nextcloud-server,owncloud/core,whitekiba/server,IljaN/core,pollopolea/core,Ardinis/server,pmattern/server,sharidas/core,sharidas/core,owncloud/core,bluelml/core,cernbox/core,pollopolea/core,bluelml/core,Ardinis/server,bluelml/core,cernbox/core,lrytz/core,whitekiba/server,pixelipo/server,michaelletzgus/nextcloud-server,jbicha/server,jbicha/server,Ardinis/server,IljaN/core,jbicha/server,lrytz/core,whitekiba/server,jbicha/server,endsguy/server