Support » Plugin: CMS Tree Page View » Pages not displayed after updating to 1.3.2 (unknown column "ids")

  • erolha

    (@erolha)


    This wonderful plugin suddenly stopped working after the latest update.
    When trying to view pages I just get a message claiming “No posts found”. This happens even though in the “filter menu” at the top it has found all pages (All 238 | Public 235 | and so on).

    This only happens when trying to view pages, not posts or custom posts.

    This is the related error message:
    WordPress database error Unknown column 'ids' in 'field list' for query SELECT ids FROM 0_posts WHERE 1=1 AND post_type = 'page' AND ( 1=1 AND post_status NOT IN ('trash','auto-draft','inherit') AND post_parent = 0 ) ORDER BY menu_order,0_posts.post_title ASC gjort av require_once('wp-admin/admin.php'), do_action('pages_page_cms-tpv-page-page'), call_user_func_array, cms_tpv_pages_page, cms_tpv_print_common_tree_stuff, cms_tpv_print_childs, cms_tpv_get_pages, apply_filters('get_pages'), call_user_func_array, PP->flt_get_pages, PP_Hardway::flt_get_pages

    Does anyone have a suggestion for a fix?

    https://wordpress.org/plugins/cms-tree-page-view/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author eskapism

    (@eskapism)

    can you check if version 1.3.3 solves the problem?

    Thread Starter erolha

    (@erolha)

    Thank you for responding Pãr!

    Unfortunately, updating the plugin didn’t make any difference.

    However; commenting out line 1264 in functions.php did solve the problem!

    //"fields" => 'ids',

    steveua

    (@steveua)

    Yes! Thank you erolha, that fixed my same issue. 1.3.3 did not.

    Jonathan

    (@luckyduck288)

    1.3.3 did not fix this problem for me.

    Commenting out on line 1264 of functions.php does, though.

    Great temporary fix!

    Also experiencing the “No posts found” – only on the pages tree view. Post and CPT’s work as expected.

    I’m also experiencing this problem. Commenting line 1264 in functions.php fixes the problem. But that will undo the memory usage improvements.

    Same problem here. I’m on a network multisite, and commenting out line 1264 fixed it for me as well. Thanks, erolha!

    What’s the timeline for incorporating the fix that has been proposed in this thread? There hasn’t been an update for over 2 months!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Pages not displayed after updating to 1.3.2 (unknown column "ids")’ is closed to new replies.