Support » Plugin: Helpful » Notice: Trying to get property ‘ID’ of non-object

  • Resolved Daniel Zimmermann

    (@optimiertes)


    Hello,
    thank you for your amazing plugin!

    I get this PHP notice from class-helpful-shortcodes.php on line 70.

    Thanks for helping me to fix this.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Pixelbart

    (@pixelbart)

    @optimiertes

    It looks like Helpful can’t find the post. The only way to solve this is to disable the automatic insertion of Helpful and to work with [helpful] shortcode.

    If I would solve the problem, Helpful would not be shown if the post is not found. Therefore you would have to disable Helpful and use the shortcode instead.

    Helpful > Settings > Details > General > Hide Helpful in post content

    • This reply was modified 7 months, 1 week ago by Pixelbart.
    Thread Starter Daniel Zimmermann

    (@optimiertes)

    Thanks for your prompt answer.

    It looks like Helpful can’t find the post. The only way to solve this is to disable the automatic insertion of Helpful and to work with [helpful] shortcode.

    Do you mean under Details > Post-Types having none checked? If yes then that is already the case for me.

    Just saw your updated comment. Thanks this worked!

    Actually, still having this issue.
    I am using Divi and the notice shows in the frontend editor at any spot I am using any shortcode.
    I may be worth mentioning that this issue appeared after one of the recent Helpful updates.

    Thread Starter Daniel Zimmermann

    (@optimiertes)

    Thanks, the updated 4.4.5 eventually solved the issue.

    Plugin Author Pixelbart

    (@pixelbart)

    @optimiertes

    Great. Sorry for not answering earlier, I didn’t get any info because you had edited your entry. In the future it’s better to simply write a new message for updates.

    Thank you for your feedback and stay healthy!

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