We are moving our CiviCRM site over from Drupal to Wordpress. We have this fully working on our developer's server (nginx), but on our live server (Apache), we see an error when loading some CiviCRM pages.
Notice: Undefined index: path in /var/www/etcetcetcetc/wp-content/plugins/civicrm/civicrm/Civi/Core/Paths.php on line 200
You can see the error at https://culturalenterprises.org.uk/?page=CiviCRM&q=civicrm%2Fevent%2Finfo&id=285&reset=1
It also appears on some back end screens (attached below).
I have asked our developer to look into what is causing the error in the first place, but I am also completely unable to prevent display of the 'notice' error.
In wp-config.php I have:
ini_set('display_errors','Off'); ini_set('error_reporting', E_ALL ); define('WP_DEBUG', false); define('WP_DEBUG_DISPLAY', false);
In civicrm.settings.php, I have added:
ini_set('display_errors','Off'); ini_set('error_reporting', E_ALL );
In php.ini, I have set:
display_errors = Off error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT
And I have also tried disabling all plugins other than CiviCRM in case one of them is overriding these settings.
Debug is off in CiviCRM settings, and it is 'Production' mode.
Is there anything else I can do!?
CiviCRM 5.13.4 Wordpress 5.2.1