NextGEN Gallery
Mandrill fix from the MailChimp gang (and possible fix for many other plugins) (1 post)

  1. treybo
    Posted 2 years ago #

    Developers original post is here. Copied below for convenience.


    Problem is that NextGEN is loading the following file in its constructor:
    include_once(path_join(ABSPATH, 'wp-includes/pluggable.php'));

    That files loads the whole library of WordPress pluggable functions which have not been loaded by the time it is included. Unfortunately wp_mail is one of those functions that gets loaded.

    So plugins fail (wpMandrill or NextGEN or whatever) when they try to override any pluggable function after NextGEN has been declared/loaded. wpMandrill, at least, fails gratefully! ;)

    They should try to makes NextGEN load after all other plugins have been loaded, or implement a lazy/delayed loading in their plugin.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic