• Resolved davidwees

    (@davidwees)


    I’m using the WP Popular Posts Plugin, which I think comes with a sub-plugin called WP Popular Posts Sortable Columns. This plugin is throwing errors.

    Attempt to read property "query" on null => wp-content/plugins/wordpress-popular-posts-sortable-columns/wpp-sortable-columns.php:87

    Trying to access array offset on null => wp-content/plugins/wordpress-popular-posts-sortable-columns/wpp-sortable-columns.php:87

    Undefined array key “post_type” => wp-content/plugins/wordpress-popular-posts-sortable-columns/wpp-sortable-columns.php:108

    Undefined array key “post_type” => wp-content/plugins/wordpress-popular-posts-sortable-columns/wpp-sortable-columns.php:70

    I’m using WordPress version 7.0. I don’t know how long these errors have been present. There is no noticable effect and I would not have noticed these errors if I didn’t currently have a debugging plugin active.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hey @davidwees,

    The “WP Popular Posts Sortable Columns” plugin is indeed a “sub-plugin” but it doesn’t come bundled with WP Popular Posts. You have to install it manually on the site to get it.

    With that being said, I don’t think anyone has reported these PHP notices before. Could you please try this version and see if that fixes these notices?

    Plugin Author Hector Cabrera

    (@hcabrera)

    Alternatively, if you’re running WP Popular Posts 7.4.0 (which just came out) on your site you may also want to consider uninstalling the WP Popular Posts Sortable Columns plugin and switch to the built-in, newly added Display Views column option instead which works exactly the same way.

    Thread Starter davidwees

    (@davidwees)

    Thank you so much for the quick reply. I went with the second option as it seemed easiest.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.