Support » Plugin: Enhanced Category Pages » [PHP Error] Notice Thrown on post Categories

  • sjmur

    (@sjmur)


    To Replicate,

    WP Debug enabled

    Install plugin on clean install of 4.6.1

    Open the Posts > Categories page

    Getting this error on all categories

    Trying to get property of non-object in /srv/www/wordpress.dev/current/web/app/plugins/enhanced-category-pages/classes/ecp/Enhanced_Category.php on line 143

    • This topic was modified 3 years ago by sjmur.
Viewing 2 replies - 1 through 2 (of 2 total)
  • I am getting this same error with a clean install on 4.6.1. I will update this thread if I find a fix.

    Plugin Contributor danaila_iulian

    (@danaila_iulian)

    Hi guys, I have found the problem, although it shouldn’t happen, and have fix it, will roll it out in the next update. In the meantime, you can try to fix it by editing the file in the error and replace line 143 with:

    $post_id = isset($categories_posts_row->post_id)?$categories_posts_row->post_id:false;

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[PHP Error] Notice Thrown on post Categories’ is closed to new replies.