astuce
This commit is contained in:
parent
ec3da9fd78
commit
a5bcdd322f
|
@ -301,8 +301,15 @@ il faut indiquer à Wordpress qu'on est bien en HTTPS, cela peut se faire via la
|
||||||
SetEnv HTTPS on
|
SetEnv HTTPS on
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
### PHP Fatal error: Uncaught Error: Call to undefined function is_admin()
|
||||||
|
|
||||||
|
Si vous obtenez `Call to undefined function is_admin()` par exemple avec WP-CLI :
|
||||||
|
|
||||||
|
~~~
|
||||||
|
PHP Fatal error: Uncaught Error: Call to undefined function is_admin() in phar:///home/stage3eme/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1334) : eval()'d code:89
|
||||||
|
~~~
|
||||||
|
|
||||||
|
c'est que vous avez probablement une vieille fonction `is_admin()` qui traîne dans `wp-config.php` ou autre.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue