• Resolved Lea

    (@leac)


    Hi

    I just updated to the latest version, and in my debug.log file this message occures repeatedly:

    Trying to get property of non-object in /wp-content/plugins/display-all-image-sizes/display-all-image-sizes.php on line 109

    What could the problem be?
    Thank you.

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

    (@enso)

    It’s probably because of the parameter to the function get_intermediate_image_sizes () called on line 109. Since the function doesn’t actually take a parameter you can delete the “$post->ID” parameter and likely eliminate the notice. You can remove it from the call on line 19, too.

    Plugin Author pressupinc

    (@pressupinc)

    Thank you very much! Have changed that and am releasing a minor update.

    You’re welcome.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error in debug mode – Trying to get property of non-object’ is closed to new replies.