• Resolved mrthiemann

    (@mrthiemann)


    Hello Community,

    on my DEBUG_DISPLAY i found this Message:

    Notice: Undefined property: WP_Post_Type::$term_id in ../wp-content/plugins/sharethis-share-buttons/php/class-minute-control.php on line 374

    code:

    					if ( ! in_array( (string) $queried_object->term_id, array_values( $current_cats ), true ) ) {
    

    How can I solve this problem?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @mrthiemann,

    Many thanks for reaching out! 😀

    Can you please provide me a bit more information on the steps you took to reproduce this so for me to provide you with a quick yet solid solution?

    Best,
    Andres

    Hi Andres, Our team is getting the same warning when we set WP_Debug to true.

    Notice: Undefined property: WP_Post_Type::$term_id in C:\Sites\mx-corp\wp-content\plugins\sharethis-share-buttons\php\class-minute-control.php on line 374

    This warning is not displayed on all pages. Maybe pages that are not displaying social links?

    We are calling the inline share buttons via php in out single.php template:

    <?php echo sharethis_inline_buttons(); ?>

    Hi Andres, Any word on a fix for this bug?

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

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