WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Automatic Updates
[resolved] Call to undefined function plugin_basename() (6 posts)

  1. pieterquarre
    Member
    Posted 1 year ago #

    I can't seem to get the Automatic Updater to work. When I trigger the automatic-updater.php file directly I get the following error:

    Fatal error: Call to undefined function plugin_basename() in xxxx/wp-content/plugins/automatic-updater/automatic-updater.php on line 23

    Please help..

    http://wordpress.org/extend/plugins/automatic-updater/

  2. Gary Pendergast
    Member
    Plugin Author

    Posted 1 year ago #

    Automatic Updater is not meant to be accessed directly, it's a plugin for WordPress.

    In wp-admin, go to Settings -> Automatic Updater to configure it.

  3. pieterquarre
    Member
    Posted 1 year ago #

    Hi Gary,
    The reason why I accessed it directly is because the plugin doesn't update my wordpress installation. I don't get an error or receive an email. I figured that if I access it directly I will be able to find out why it doesn't work.

    The plugin is properly installed and is activated. Do you have any clue why it won't initiate?

  4. Gary Pendergast
    Member
    Plugin Author

    Posted 1 year ago #

    A few thoughts:

    * On the settings page, do you have all the options checked to keep WordPress, your themes and plugins up to date? (Only the WordPress core option is checked by default.)
    * Do you have the Better WP Security plugin installed? If so, you will need to stop it from hiding updates.
    * When you normally click the Update button, does everything update automatically? Do you need to type in FTP login details?

  5. pieterquarre
    Member
    Posted 1 year ago #

    Thanks for your thoughts. After I added my FTP settings to the wp-config.php file the plugin started working perfectly!

  6. Gary Pendergast
    Member
    Plugin Author

    Posted 1 year ago #

    Great to hear!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic