Support » Plugin: Content Control - User Access Restriction Plugin » Errors with Content Control

  • Resolved steplab

    (@steplab)


    I have debug.log full of there errors:
    PHP Notice: Trying to get property of non-object in …/wp-content/plugins/content-control/classes/Site/Posts.php on line 23
    PHP Notice: Trying to get property of non-object in …/wp-content/plugins/content-control/classes/Site/Posts.php on line 24
    PHP Notice: Trying to get property of non-object in …/wp-content/plugins/content-control/classes/Site/Posts.php on line 27

    Some times when loading a page that have sidebar with widgets with Content Control filters I get error like server internal error or bad gateway error.

    WordPress version is 4.9.9

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author danieliser

    (@danieliser)

    @steplab – Thanks for the report, will see if anything on those lines jumps out at me.

    Can you tell me what you have it set up to do currently so I can try to duplicate it as close as possible?

    I have a page template with a sidebar, inside the sidebar I have 4 widget element of Login-Logout widget, the first is for logged out users, second is for logged in users with role Customer, the third is for logged in and three roles (Instructor, Shop Manager, Vendor), the fourth is for a custom role I created.
    Inside same sidebar I have also a Menu widget only for logged in user for Customer role. Users can have one or more than one role.
    In particular I have plugins like Woocommerce, Yith Multi Vendor, LearnPress.
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.