• Resolved sadesades

    (@sadesades)


    I am getting the following error:

    Warning: Undefined array key “count” in /var/www/html/wp-content/plugins/search-analytics/admin/includes/class.stats-table.php on line 288

    The way to replicate this is

    Set Time filters: All time
    Set Results filters: All
    Set Group By: Term
    Click on “No. of results” to order it ASC or DESC
    Click on Group By: No Group

    On the settings, I do have “Save Search By User” checked on, but I tested this with or without that option checked, and it displays a tone of error warnings.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Cornel Raiu

    (@cornelraiu-1)

    Hi,

    I am sorry you are having issues with the plugin. Let’s try to fix it really fast.

    Can you tell me which WP version you are using?

    Thanks!

    Plugin Author Cornel Raiu

    (@cornelraiu-1)

    Thanks for the detailed replication steps. I was able to replicate it.

    Just to confirm: You are sorting by “No. of Searches” on the “Group By: Term” and then seeing the warnings when trying to set “Group By: No Group“. Please correct me if I’m wrong.

    I also found a really slow query when “Group By: No Group” is set and trying to sort by “Average no. of results“.

    I’ll work on a fix for these 2 issues and release an update later today or tomorrow.

    Thanks again for the detailed report!

    • This reply was modified 11 months, 3 weeks ago by Cornel Raiu.
    Thread Starter sadesades

    (@sadesades)

    Running on WordPress 6.4.1
    And for your question yes when I have it sort on terms and switch to no group is when I see the error.

    Thanks

    Plugin Author Cornel Raiu

    (@cornelraiu-1)

    Hi,

    I have just released an update ( v1.4.9 ) that fixes this issue.

    Please confirm it’s fixed.

    Thanks!

    Plugin Author Cornel Raiu

    (@cornelraiu-1)

    Hi,

    I will close this ticket because there is no activity and I will assume that the issue is no longer present in any situation.

    Thank you,
    Cornel Raiu

    Thread Starter sadesades

    (@sadesades)

    Sorry, yes this is fixed after the update, thank you.

    Plugin Author Cornel Raiu

    (@cornelraiu-1)

    Thank you for confirming!

    Cornel Raiu

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Bug – Undefined array key “count”’ is closed to new replies.