Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    Hello.

    Did you add that Draft properties using agent role?

    Regards.

    I had exactly the same problem and don’t know the reason yet, but can provide a quick fix.

    The problem occurs when trying to filter either for “Draft” objects or “All” objects. Firebug then tells me that /wp-admin/admin-ajax.php?&action=wpp_ajax_list_table returns HTTP Code 500, or if WP_DEBUG is set to “true”, it will return 200 but tell me of a “TypeError: json is null.”

    {"sEcho":null,"iTotalRecords":3,"iTotalDisplayRecords":3,"aaData":null}

    Since this happens on our servers but NOT on my local machine I suspect that it might be a server configuration issue.

    While I couldn’t find the reason for this yet, something that works for me is commenting out line 246 in /wp-content/plugins/wp-property/core/ui/class_wpp_object_list_table.php like this:

    // $image_thumb_obj = wpp_get_image_link( $post->featured_image, $overview_thumb_type, array( 'return' => 'array' ) );

    This means that thumbnails will not be displayed anymore in the backend object list. However, I am now able to view and select “Draft” objects.

    Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    Hello,FnC.

    what theme and our add-ons do you use? I guess that happens because of one of the property in the list. Do you have FEPS on your site? Can you give more details that I will have ability to replicate this issue.

    Regards.

    Hello Maria,
    nothing fancy. Currently the project uses the Freak theme on the frontend. The only installed plugins are Google XML Sitemaps, User Role Editor and WP_Property. No FEPS, no addons. This is most likely not a frontend issue.

    Update: The problem only occurs if NONE of your “Draft” properties has a thumbnail. If at least one “Draft” property has a thumbnail, the list will load normally.

    Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    Ok. Thanks for detailed info. I will try to replicate.

    Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    Unfortunately with your steps I can’t replicate that issue on my site. Try also to disable third party plugins and switch theme to default one to troubleshoot the issue.

    Yeah, well. According to Usability Dynamics, the All properties page got refactored somewhere between v1.42 and v2.0.0. ??
    Now it works for me.

    Plugin Contributor Maxim Peshkov

    (@maximpeshkov)

    Hello,

    Yes, you are correct. ‘All Properties’ page was refactored in WP-Property 2.0.0
    I believe the mentioned issues in this topic should be solved for WP-Property 2.0.0 and higher.

    Please, mark the ticket as resolved if the problem is gone.

    Thank you!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Error when filtering draft properties on backend’ is closed to new replies.