• Resolved xeldy

    (@xeldy)


    Hello,

    After I upgraded the plugin to its latest version (1.10), something like this appears on the top of the website: “Warning: array_count_values(): Can only count STRING and INTEGER values! in /home2/kdramapa/public_html/wp-content/plugins/advanced-ads/classes/display-conditions.php on line 118.”

    What happened? I tried to install the previous version but the message is still there. Please help me solve the problem. Thank you. (Not a techy person here)

    Best regards,
    Ram

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Thomas Maier

    (@webzunft)

    Hi xeldy,

    thanks for reaching out.

    I indeed touched this line of code in the update and will publish a fix tomorrow. I don’t know where it comes from, though. Does your site use tags and categories for posts?

    If you see this error even after you downgraded then it might be a caching issue on your site.

    Thanks,
    Thomas

    Thread Starter xeldy

    (@xeldy)

    Hi Thomas,

    Thanks for working on a fix. Yes, my site uses tags and categories for posts (and pages).

    I’ll try to solve the problem by addressing the caching issue.

    Thanks a lot.

    Plugin Author Thomas Maier

    (@webzunft)

    Hi xeldy,

    just wanted to let you know that the next update with the fix is on its way. Do you know if there are any other taxonomies used on your site? I believe that a third-party plugin did something wrong while registering one and would like to make them aware of it.

    Thanks,
    Thomas

    Thread Starter xeldy

    (@xeldy)

    Hi Thomas,

    I will be waiting for that. Thank you.

    I think there is no other taxonomy used on the site (not sure though). As for the 3rd party plugin, I have no idea which plugin it is.

    Best regards,
    Xeldy

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘“Warning: array_count_values…” appear on site’ is closed to new replies.