• Resolved V.E.L

    (@vezraimanuel)


    Hi, I got so many warnings like this in my php error.log:

    PHP Warning: Undefined property: stdClass::$post_type in /plugins/wp-rss-aggregator/v4/src/Handlers/FeedTemplates/HidePublicTemplateContentHandler.php on line 52

    WP RSS Aggregator Version 5.0.2 (Premium)

    PHP version PHP 8.4.11

    many thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Hendra Setiawan

    (@hendcorp)

    Hi @vezraimanuel

    Thanks for reporting this and for including the error details, it’s much appreciated.

    Since you’re using the Premium version of Aggregator, we kindly ask that you contact us via our support form for further assistance. We aren’t able to offer premium support here in the forum, as per its rules.

    Looking forward to helping you further there!

    Thread Starter V.E.L

    (@vezraimanuel)

    Thank you for you reply, I’ve fixed the problem by changing line 52 into this:

    if ( property_exists($post, ‘post_type’) ) { if (!is_object($post) || $post->post_type !== $this->cpt) {

    The problem goes away for now, not sure if I’m doing it correctly though.

    • This reply was modified 9 months, 1 week ago by V.E.L.
    • This reply was modified 9 months, 1 week ago by Jan Dembowski.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Undefined property: stdClass::$post_type’ is closed to new replies.