The MU forums have moved to WordPress.org

bastats error + get_settings (3 posts)

  1. arctork
    Inactive
    Posted 17 years ago #

    Hi,

    Sorry, not sure if this is the right place but couldn't decide on a better one.
    I am having a problem with bastats. I get the following error in firefox only

    Warning: in_array(): Wrong datatype for second argument in /home/easyv7/www/easy-visa-usa.com/wp-content/plugins/BAStats_logger.php on line 114

    I am attempting to find out why I am getting this error I have have looked at the function in_array in the php manuals but I can't find anything about get_settings or what it does or where its from? which is used in the following code which produces the error

    $options = get_settings('bas_options');
    $settings = get_settings('bas_settings');
    if(in_array('log_spam', $options) && in_array('referer_spam', $settings))
    {
    ...
    }

    If anyone has any information - please anything would be appreciated.

    Thanks

  2. donncha
    Key Master
    Posted 17 years ago #

    We got rid of most of the bundled plugins including BAstats. You could probably get more help from the author.

  3. arctork
    Inactive
    Posted 17 years ago #

    He's no longer working on it. I guess I should just look for something else.

    Thanks donncha

    kevin

About this Topic