WordPress.org

Forums

Count per Day
[resolved] unpack and array_merge warning error meesages (8 posts)

  1. ebiz98
    Member
    Posted 2 years ago #

    I upgraded to the latest version of Count per Day, and I am getting the following type of warning errors at the top of end-user facing pages. Any ideas?

    Warning: unpack() [function.unpack]: Type C: not enough input, need 1, have 0 in /..../mysite.com/wp-content/plugins/count-per-day/geoip/geoip.inc on line 516

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /.../mysite.com/wp-content/plugins/count-per-day/geoip/geoip.inc on line 516

    [Update: It appears to happen the first time a page is visited only ]

    Many thanks!

    http://wordpress.org/plugins/count-per-day/

  2. samjojos
    Member
    Posted 2 years ago #

    I also updated this plugin a few hours ago and am having the same error as described above.

    I deactivated the plugin while waiting for an answer here perhaps?

    thanls

  3. Tom Braider
    Member
    Plugin Author

    Posted 2 years ago #

    Please update the GeoIP database on settings page.

  4. Stuart Swales
    Member
    Posted 2 years ago #

    Me too.

    Updated to 3.2.6 and now get same warnings as OP in user pages on

    http://dadsareus.co.uk

    Warnings still occur having updated the GeoIP DB as suggested.

  5. Tom Braider
    Member
    Plugin Author

    Posted 2 years ago #

    Sorry for the inconvenience.
    Try this version of counter.php. Download and extract it to the Plugin directory.
    http://www.tomsdimension.de/downloads/counter.zip

  6. Stuart Swales
    Member
    Posted 2 years ago #

    Many Thanks Tom! Works a treat.

  7. Paul Farrelly
    Member
    Posted 2 years ago #

    I had the same problem (http://singletonbaptist.org.au/) doing the GeoIP DB update and loading the new counter.php seems to have worked. Thanks.

  8. Tom Braider
    Member
    Plugin Author

    Posted 2 years ago #

    updated to 3.2.7

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic