Support » Plugin: WP Statistics » lot of undefined index or variables

  • Resolved gverhaeg

    (@gverhaeg)


    I installed your WP-Statistics plugin Version 4.5 on a WordPress 3.5.1
    When I select setting > Statistics > Overview
    I received a lots of error messages:
    Undefined index: type in /…/wp-statistics.php on line 254
    Undefined index: manage_option in /…/wp-statistics.php on line 97
    Undefined variable: search_query in /…/functions.php on line 209
    Undefined variable: search_query in /…/functions.php on line 226
    Undefined variable: search_query in /…/functions.php on line 219
    or > Optimisation
    Undefined index: populate in /…/optimization-geoip.php on line 89
    or > Parameters
    Undefined variable: option_list in /…/settings.php on line 138

    Many thanks for your help

    http://wordpress.org/plugins/wp-statistics/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Greg Ross

    (@gregross)

    You probably have debug mode enabled, they are warnings only and the plugin will function fine.

    Plugin Contributor Greg Ross

    (@gregross)

    All known messages should now be resolved in version 4.6.

    Version 4.6 installed

    Again one error message on settings>Statistics>Overview or Navigator, Hits, …
    Undefined index: manage_option in /…/wp-statistics.php on line 109

    Plugin Contributor Greg Ross

    (@gregross)

    Will be fixed in the next release.

    Plugin Contributor Greg Ross

    (@gregross)

    If your desperate for a fix, replace line 109 in wp-stastics.php with:

    if( array_key_exists( $capability, $all_caps ) ) { return $capability; }
    Plugin Contributor Greg Ross

    (@gregross)

    Closing topic.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘lot of undefined index or variables’ is closed to new replies.