WordPress.org

Ready to get started?Download WordPress

Forums

Help with NextGen Gallery in Thesis (2 posts)

  1. Malopuff
    Member
    Posted 3 years ago #

    For some reason, the NextGen gallery stopped letting me upload images. I searched around and tried this fix

    http://wordpress.org/support/topic/plugin-nextgen-gallery-fatal-error-cannot-redeclare-ngg_getonlyimages?replies=3

    After trying that, I now get an error message appear above all my posts on my website.

    include_once(dirname (__FILE__) . '/functions.php'); include_once(dirname (__FILE__) . '/actions.php');

    Any help would be much appreciated.

  2. CreationNation
    Member
    Posted 2 years ago #

    I was having this issue as well and found the problem.

    It's not really a NextGen problem, as I think NextGen has coded their files properly. What you more than likely have is another plugin that's conflicting with NextGen.

    Mine was WP Buttons. In the wp-buttons.php file they had a call to functions.php as:
    require('functions.php');

    I changed this to:
    require_once (dirname (__FILE__) . '/functions.php');

    Everything works great now!

    So, if you aren't running WP Buttons, I would search through your plugins, or turn them off and turn back on one by one, until you find the culprit. Look for calls to functions.php and try changing to what I did above and see if that solves it for you.

    Good luck!

Topic Closed

This topic has been closed to new replies.

About this Topic