0
Hello,
Ever since I installed contenstats I get a lot of PHP Notice messages. The most common are the following

1. PHP Notice: Undefined index: cs_geolocation in xxx/plugins/system/contentstats/contentstats.php on line 426
2. Undefined index: value in xxx/plugins/system/contentstats/contentstats.php on line 251 referer: http://path_to_k2_article
3. PHP Notice: Undefined index: valuestring in xxx/plugins/system/contentstats/contentstats.php on line 251, http://path_to_JoomlaMenuItem
4. PHP Notice: Undefined variable: one_of_us in xxx/imarest/plugins/system/contentstats/contentstats.php on line 86, http://path_to_JoomlaMenuItem
5. Notice: Undefined variable: store in xxx/plugins/system/contentstats/contentstats.php on line 448
6. PHP Notice: Undefined index: HTTP_USER_AGENT in xxx/plugins/system/contentstats/contentstats.php on line 402

Note: xxx = the full site path (redacted for security)

There does not seem to be an obvious adverse effect to these notices (apart from log file sizes) and I don't want to turn error reporting off as we are constantly developing the site and we use the feature that all the time.

My questions are:
Can these be ignored? If not, how do I go about fixing the issues that cause this?

many thanks,
Responses (2)
  • Accepted Answer

    Tuesday, June 24 2014, 01:47 PM - #Permalink
    0
    Hello,

    You don't need to turn error reporting off, but the level you have now is maybe too high, you should consider decreasing the error reporting level to "simple" to hide the Notices. notices are really nothing to be concerned about. what's the current error reporting level on your website?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, June 24 2014, 01:55 PM - #Permalink
    0
    many thanks. It was set to Default in Joomla which is "E_ALL & ~E_DEPRECATED" on the system. I have set to Simple and will ignore them then :-)

    thanks again.
    The reply is currently minimized Show
Your Reply