Two fixes I had to make to make this plugin work
-
I wasn’t able to get this plugin to work initially, but I ended up making a couple of fixes that made it work.
When I went to the Excel Export + page, the result preview never populated with anything and I got a 500 error everytime the page tried to call ‘ajax__fetch_posts_records_list’.
I need to include the pluggable.php file in order for get_usermeta to work in that function. So right after:
private function _fetch_posts_records_list() {
I added:
if (is_admin()) require_once(ABSPATH . 'wp-includes/pluggable.php');
That made the plugin useable. Then, I could not seem to get the Post Parent ID filter to work.
I had to make this change in the _set_query_args function:
From:case "parent_id": $args["parent_id"] = $filter_value_1;
To:
case "post_parent": $args["post_parent"] = $filter_value_1;
Hopefully this will help anyone else trying to use it and the developers can fix it in the next release.
- The topic ‘Two fixes I had to make to make this plugin work’ is closed to new replies.