PHP Fatal error when activating …
-
Hi,
Trying to use your plugin, I’m facing a Fatal error:
[Tue Feb 21 13:06:17.235632 2017] [:error] [pid 24285] [client 62.147.196.248:36531] PHP Warning: include(/srv/www/wp-content/wp-config.php): failed to open stream: No such file or directory in /srv/www/wp-content/dev.a2il.fr/plugins/zero-bs-crm/wild/welcome-to-zbs/index.php on line 4, referer: https://dev.a2il.fr/wp-admin/update.php?action=install-plugin&plugin=zero-bs-crm&_wpnonce=4bb336aceb
[Tue Feb 21 13:06:17.235707 2017] [:error] [pid 24285] [client 62.147.196.248:36531] PHP Warning: include(): Failed opening ‘/srv/www/wp-content/wp-config.php’ for inclusion (include_path=’.:/usr/share/php:/usr/share/pear’) in /srv/www/wp-content/dev.a2il.fr/plugins/zero-bs-crm/wild/welcome-to-zbs/index.php on line 4, referer: https://dev.a2il.fr/wp-admin/update.php?action=install-plugin&plugin=zero-bs-crm&_wpnonce=4bb336aceb
[Tue Feb 21 13:06:17.235743 2017] [:error] [pid 24285] [client 62.147.196.248:36531] PHP Fatal error: Call to undefined function admin_url() in /srv/www/wp-content/dev.a2il.fr/plugins/zero-bs-crm/wild/welcome-to-zbs/index.php on line 26, referer: https://dev.a2il.fr/wp-admin/update.php?action=install-plugin&plugin=zero-bs-crm&_wpnonce=4bb336acebThe reason is probably on the /wild/welcome-to-zbs/index.php using multiple dirname to include wp-config.php file.
Once admin page reloaded, all seems to works correctly…
Thanks in advance.
- The topic ‘PHP Fatal error when activating …’ is closed to new replies.