Hello, glad to help. What is “disable_admin”..? Is it a plugin or something?
No … This is an element of the error message …
Let’s try this: what is the complete, full, entire error message that you are seeing?
“Notice: Undefined variable: disable_admin in /homepages/44/d555415071/htdocs/cosmopoliteclothing/wp-content/plugins/ga-google-analytics/ga-google-analytics.php on line 73”
So here the complete message
For information, this error message appears on the WordPress administration interface but also on my public site! Thus , I disabled the extension pending solution
Thanks, here are some points that may help:
1) That is not an error, it is a notice. Notices are perfectly fine in most cases and meant to provide developers with information on best practices, etc.
2) That particular notice just means that there is a new option that has yet to be saved to the database. It is simple to resolve by clicking the “Save Changes” button. You don’t need to make any changes to anything, just click the save button to store the new option, disable_admin, in the database. Then the notice will stop.
3) Notices, Warnings, and Errors from PHP/WP should never be displayed on production sites. But please understand that it is not up to individual plugins to determine whether or not notices, errors, etc. are displayed. Rather, it is up to your server settings and/or WP debug settings. It sounds currently like one or both of these is set to display notices/errors/etc. on your site. I recommend changing this so that such information is NOT displayed, for many reasons, most of which revolve around security.
I hope this information is useful for you.
Hello. First of all, thank you for your quick and detailed response . I did not see your answer, therefore I uninstalled the extension ( plugin) and I reinstalled. Apparently (at least for now ), the message does not appear …. You think I ‘ve solved the problem ? Thank you in advance.
For information , I also now error messages when I go on shopping pannier : ” Notice: Undefined index : in rate_type /homepages/44/d555415071/htdocs/cosmopoliteclothing/wp-content/plugins/envoimoinscher/includes/envoimoinscher_carrier.php on line 484 ” //////// I did not have it before ! it is since I just installed the new GA Application
Yep, re-installing the plugin is another way of clearing up the notice. Also, it sounds like you may need to re-read my previous reply, which explains clearly that:
1) what you are seeing is NOT an error (it is a notice)
2) you shouldn’t be seeing notices, warnings, or errors on production site
Further, I would point out that the new Notice that you are seeing is not from GA Google Analytics, but rather from a plugin that is named something like “envoimoinscher”, as clearly evidenced by the path provided in the notice itself:
/wp-content/plugins/envoimoinscher/includes/envoimoinscher_carrier.php
So it has nothing to do with GA plugin.
One last point for anyone paying attention, it is not wise to post the full server path publicly because it reveals sensitive information that could be used in an attack. It is better just to include the public-facing portion of the path, as I have done in this post. That’s more than enough to provide any useful/relevant information.
Okay. Thank you very much. Good continution .