Support » Plugin: Count per Day » unpack and array_merge warning error meesages
3 years, 9 months 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 ]
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?
Please update the GeoIP database on settings page.
Updated to 3.2.6 and now get same warnings as OP in user pages on
Warnings still occur having updated the GeoIP DB as suggested.
Sorry for the inconvenience.
Try this version of counter.php. Download and extract it to the Plugin directory.
Many Thanks Tom! Works a treat.
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.
updated to 3.2.7