Developer
Supported
Popular - The Advanced View Counter for ExpressionEngine
ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From Notebleu
Message: in_array() expects parameter 2 to be array, string given
Bug Report
petenice
|
Posted: 19 November 2014 08:05 PM |
|
|
|
Unfortunately, error appears in CP.
Message: in_array() expects parameter 2 to be array, string given
Filename: popular/tab.popular.php
Here’s what’s on the system already
Assets
CP Analytics
DataGrab
Freeform Pro
Henshu
Sitemap
Wygwam
Zenbu
|
|
|
Notebleu
|
Posted: 19 November 2014 08:53 PM |
# 1
|
|
Developer
|
Thanks, petenice. Interesting that you’re seeing that warning. Out of curiosity, what version of ExpressionEngine are you running? The tab expects one of the settings from the Extension to be passed to it as an array and clearly in this case EE was instead returning a string. How many channels do you have set to be tracked by Popular in the Extension’s Settings?
I’ve pushed an update to Github that I believe should resolve the issue you’re seeing:
https://github.com/notebleu/popular
Please install this latest version and let me know if you are still experiencing the issue, along with the version of EE that you’re running.
Best,
Will
|
|
|
petenice
|
Posted: 19 November 2014 09:13 PM |
# 2
|
|
|
Whoop! Working! Cool! Version of EE is v2.9.2 - Build Date: 20141004
|
|
|
Notebleu
|
Posted: 19 November 2014 09:22 PM |
# 3
|
|
Developer
|
Oh, so not an older version at all! Clearly I need to install 2.9.2 and do some testing! Glad it’s set.
|
|
|