Support » Plugin: NextGEN Gallery - WordPress Gallery Plugin » Upgrade.php file is missing 1.9.12

  • Resolved freedombuilders


    I’ve an error calling for upgrade.php

    wp-content/plugins/nextgen-gallery/admin/upgrade.php) [function.include-once]: failed to open stream: No such file or directory in /…/…/public_html/wp-content/plugins/nextgen-gallery/admin/settings.php on line 201

    Well that upgrade.php file is not in the zip. I checked by manually re-downloading and it’s not in there, but it IS in the previous version.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author photocrati


    Hi @freedom Builders , the upgrade.php file was removed as of v1.9.10 in preparation for v2.0 and is no longer needed. It is still mentioned in one file, causing the error that you saw, to show in some rare cases, which we are including a fix for in our next upgrade. Until we release the next upgrade, you can resolve this issue 1 of 2 ways:

    a) add "error_reporting(0);" to wp-config.php
    b) in settings/admin.php, remove line #201: include_once (dirname (__FILE__) . '/upgrade.php');

    That should do the trick! 🙂

    The thought of this getting phased out had crossed my mind and yet I would have though any reference pertaining to it would have been eliminated already. Thanks for the reply and POA (plan of action)

    Hi @photocrati,
    thanks for the great plugin. but does the answer you have happen to have a typo? shouldn’t b be

    admin/settings.php, remove line #201: include_once (dirname (__FILE__) . '/upgrade.php');

    I could only find upgrade.php there

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Upgrade.php file is missing 1.9.12’ is closed to new replies.