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 2 replies - 1 through 2 (of 2 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 1 week, 4 days ago by Pixelbart.

    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.

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