WordPress.org

Ready to get started?Download WordPress

Forums

WP Updates Notifier
[resolved] Version 1.1 breaks link between WP plugin directory (7 posts)

  1. katart17
    Member
    Posted 2 years ago #

    I've just noticed that I can't view plugin details within the WordPress admin and it seems to be caused by the WP Updates Notifier plugin. Have you seen this problem?

    http://wordpress.org/extend/plugins/wp-updates-notifier/

  2. Scott Cariss
    Member
    Plugin Author

    Posted 2 years ago #

    I cannot reproduce your problem...

    Can you give more info on your problem?

  3. katart17
    Member
    Posted 2 years ago #

    I've found this issue to be a little spotty. Some of my installs seem to be working correctly now. I'll keep you posted if I see this problem again.

    I did recieve the following message when I have PHP Error messages enabled:

    Fatal error: Cannot redeclare plugins_api() (previously declared in /xxxxxx/wp-admin/includes/plugin-install.php:29) in /xxxxxx/wp-admin/includes/plugin-install.php on line 57

  4. Scott Cariss
    Member
    Plugin Author

    Posted 2 years ago #

    My plugin makes sure that plugin-install.php is loaded using require_once() so if the file has already been required it wont load it again. The error above is happening because the plugin-install.php file has been loaded twice hence trying to redeclare the function plugins_api() again. I've looked through WP core and all occurrences of loading plugin install use _once so its not WP core that is causing the problem.

    This would point that there is another plugin that is loading the plugin-install.php but isn't loading it correctly. Have you got any other plugins that deal with plugin updates/tracking?

  5. Scott Cariss
    Member
    Plugin Author

    Posted 2 years ago #

    @katart17 can you try with version 1.2 that I just released?

    I think some left over code from the last version was causing this problem.

  6. gosherm
    Member
    Posted 2 years ago #

    @Scott, I've been having the same problem, and I can confirm that it went away with the 1.2 release. Thanks!

  7. katart17
    Member
    Posted 2 years ago #

    v1.2 fixes the problem. Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic