WordPress.org

Ready to get started?Download WordPress

Forums

WP Statistics
[resolved] lot of undefined index or variables (7 posts)

  1. gverhaeg
    Member
    Posted 5 months ago #

    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/

  2. Greg Ross
    Member
    Plugin Author

    Posted 5 months ago #

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

  3. Greg Ross
    Member
    Plugin Author

    Posted 5 months ago #

    All known messages should now be resolved in version 4.6.

  4. gverhaeg
    Member
    Posted 5 months ago #

    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

  5. Greg Ross
    Member
    Plugin Author

    Posted 5 months ago #

    Will be fixed in the next release.

  6. Greg Ross
    Member
    Plugin Author

    Posted 5 months ago #

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

    if( array_key_exists( $capability, $all_caps ) ) { return $capability; }
  7. Greg Ross
    Member
    Plugin Author

    Posted 3 months ago #

    Closing topic.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.