• Resolved maxwelle

    (@maxwelle)


    HI!

    Can you help me fix this, please?


    Warning: Undefined property: WP_Post_Type::$term_id in all-in-one-content-restriction/includes/classes/protections/class-hide-from-loop.php on line 63

    line 60-63
    $query->set( 'post__not_in', $exclude_posts );
    
    	if ( is_archive () ) {
    	$c_term_id = get_queried_object()->term_id;

    Thank you!

    • This topic was modified 2 years, 9 months ago by maxwelle.
    • This topic was modified 2 years, 9 months ago by maxwelle.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Faruk Ahmed

    (@himrfaruk)

    Hello @maxwelle ,

    This issue should be fixed with the latest release, version 1.6.8. Please update the plugin and inform me if it is functioning correctly on your end or if you require further assistance.

    Thanks,
    Faruk

    Plugin Support Faruk Ahmed

    (@himrfaruk)

    As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support ticket if you continue to encounter issues, or reopen this topic & we’d be happy to assist.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Undefined property’ is closed to new replies.