Skip to content

Warning: Undefined property: stdClass::$version -- /rt-plugin-report.php on line 503 and 506聽#96

Closed

Description

@oldrup

Hi!

Thank you for a fine plugin! Makes it quick to scan if something needs updating or replacement 馃檹

I just installed on a site, ran a scan, deactivated and removed a plugin, and after that these warnings are shown in Plugin Report...

Image

Got any idea why that might be?

WP 6.9.4 and PHP 8.3

Bjarne

Activity

  1. oldrup commented on May 31, 2026

    @oldrup
    Author
    • additional info: Clear cached plugin data and reload function got read of the warning. So issue is likely related to plugin being removed.
  2. Zodiac1978 commented on Jun 14, 2026

    @Zodiac1978
    Owner

    Hi @oldrup

    I tried to reproduce this, but had no luck. Could you please add some more detailed steps to reproduce it and about your environment?

    I enabled debug mode and ran a scan, deactivated a plugin and removed it via plugin list and reloaded the plugin report page, but no error is shown.

    Have you used 2.2.2 or 2.2.3 of Plugin report?

    I used PHP 8.3.30 (in Local) with WP 7.0 and there are no errors.

    Happy to check further if I can reproduce it!

  3. Zodiac1978 commented on Jun 14, 2026

    @Zodiac1978
    Owner

    Could you check if #92 would fix your issue?
    It seems that the missing check is causing this and #92 would hopefully close #30 #56 and this issue.

  4. Zodiac1978 commented on Jun 14, 2026

    @Zodiac1978
    Owner

    Is the plugin you deactivated and removed from the official directory or a custom plugin? And if the latter is the slug on wordpress.org already used? Is the Updater URI used in the header?

  5. oldrup commented on Jun 16, 2026

    @oldrup
    Author

    Sorry for the delay. I am hosting an artist these weeks. Since I posted the screenshot with the warning; I don't really recall seeing it again, and I did install Plugin Report on multiple sites afterwards.

    So let's consider this "issue" fixed. I'll keep an eye on whether it pops up again, and if a does, take more details notes, answering your questions, giving you something to work with.

    Again, thank you so much for this fine tool; I really appreciate it 馃檹

  6. Zodiac1978 commented on Jun 16, 2026

    @Zodiac1978
    Owner

    I think it is still unfixed, but #92 will fix it.

    The screenshot shows $version as the problematic variable and the reason is explained here:
    #30 (comment)

    And #56 also shows $version for second visits as the problem.

    Looks like this happens only with plugins not available in the official directory (and maybe some other things)

  7. Zodiac1978 commented on Aug 15, 2026

    @Zodiac1978
    Owner

    Fixed with #99

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions