WordPress.org

Ready to get started?Download WordPress

Forums

[plugin - Count per Day] Not recording visitors (3 posts)

  1. gffb
    Member
    Posted 1 year ago #

    Hi All,

    I have this plugin installed on a couple of site which work fine but for some reason they are not working on my latest install, I think it may be due to my host upgrading to the latest php version but I am not sure if thats why?

    Here is the error I am getting in the admin section of this plugin.

    Reads Per Country

    Warning: array_keys() expects parameter 1 to be array, null given in /home/harrowcw/public_html/wptest/wp-content/plugins/count-per-day/counter-core.php on line 1151
    
    Warning: array_multisort() [function.array-multisort]: Argument #1 is expected to be an array or a sort flag in /home/harrowcw/public_html/wptest/wp-content/plugins/count-per-day/counter-core.php on line 1152
    
    Warning: array_slice() expects parameter 1 to be array, null given in /home/harrowcw/public_html/wptest/wp-content/plugins/count-per-day/counter-core.php on line 1154
    
    Warning: Invalid argument supplied for foreach() in /home/harrowcw/public_html/wptest/wp-content/plugins/count-per-day/counter.php on line 1061

    Visitors Per Country

    Warning: array_keys() expects parameter 1 to be array, null given in /home/harrowcw/public_html/wptest/wp-content/plugins/count-per-day/counter-core.php on line 1151
    
    Warning: array_multisort() [function.array-multisort]: Argument #1 is expected to be an array or a sort flag in /home/harrowcw/public_html/wptest/wp-content/plugins/count-per-day/counter-core.php on line 1152
    
    Warning: array_slice() expects parameter 1 to be array, null given in /home/harrowcw/public_html/wptest/wp-content/plugins/count-per-day/counter-core.php on line 1154
    
    Warning: Invalid argument supplied for foreach() in /home/harrowcw/public_html/wptest/wp-content/plugins/count-per-day/counter.php on line 1061

    The install of the plugin went fine with no errors.

    Thanks for any help.

  2. PrinceOfPersia
    Member
    Posted 1 year ago #

    I have the same problem. Do you already have a fix for this?

  3. Tom Braider
    Member
    Posted 1 year ago #

    This was an error with a new installation without any counter entries.
    Is fixed since some months.

Topic Closed

This topic has been closed to new replies.

About this Topic