Title: Keep getting error email
Last modified: August 12, 2024

---

# Keep getting error email

 *  Resolved [digbymaass](https://wordpress.org/support/users/digbymaass/)
 * (@digbymaass)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/keep-getting-error-email/)
 * Although the site seems to be working fine I keep getting a WordPress email about
   a ‘fatal’ error:
 * Active theme: eleven40 Pro Theme (version 2.0)
   Current plugin: NextGEN Gallery(
   version 3.59.4)PHP version 8.2.21 Error Details
 * An error of type E_ERROR was caused in line 147 of the file /home/carnethy/public_html/
   wp-content/plugins/nextgen-gallery/src/Util/Transient.php. Error message: Uncaught
   TypeError: in_array(): Argument #2 ($haystack) must be of type array, string 
   given in /home/carnethy/public_html/wp-content/plugins/nextgen-gallery/src/Util/
   Transient.php:147
   Stack trace: 0 /home/carnethy/public_html/wp-content/plugins/
   nextgen-gallery/src/Util/Transient.php(147): in_array(‘2899230903’, ‘A’) 1 /home/
   carnethy/public_html/wp-content/plugins/nextgen-gallery/src/Util/Transient.php(
   168): Imagely\NGG\Util\Transient->_track_key(‘5__2899230903’) 2 /home/carnethy/
   public_html/wp-content/plugins/nextgen-gallery/src/Util/Transient.php(256): Imagely\
   NGG\Util\Transient->set(‘5__2899230903’, Array, 1800) 3 /home/carnethy/public_html/
   wp-content/plugins/nextgen-gallery/src/DataMapper/DriverBase.php(89): Imagely\
   NGG\Util\Transient::update(‘5__2899230903’, Array) 4 /home/carnethy/public_html/
   wp-content/plugins/nextgen-gallery/src/DataMapper/DriverBase.php(63): Imagely\
   NGG\DataMapper\DriverBase->update_columns_cache() 5 /home/carnethy/public_html/
   wp-content/plugins/nextgen-gallery/src/DataMapper/WPPostDriver.php(31): Imagely\
   NGG\DataMapper\DriverBase->lookup_columns() 6 /home/carnethy/public_html/wp-content/
   plugins/nextgen-gallery/src/DataMapper/DriverBase.php(23): Imagely\NGG\DataMapper\
   WPPostDriver->lookup_columns() 7 /home/carnethy/public_html/wp-content/plugins/
   nextgen-gallery/src/DataMapper/WPPostDriver.php(26): Imagely\NGG\DataMapper\DriverBase-
   >__construct(‘display_type’) 8 /home/carnethy/public_html/wp-content/plugins/
   nextgen-gallery/src/DataMappers/DisplayType.php(27): Imagely\NGG\DataMapper\WPPostDriver-
   >__construct(‘display_type’) 9 /home/carnethy/public_html/wp-content/plugins/
   nextgen-gallery/src/DataMappers/DisplayType.php(36): Imagely\NGG\DataMappers\
   DisplayType->__construct() 10 /home/carnethy/public_html/wp-content/plugins/nextgen-
   gallery/products/photocrati_nextgen/modules/marketing/module.marketing.php(169):
   Imagely\NGG\DataMappers\DisplayType::get_instance() 11 /home/carnethy/public_html/
   wp-includes/class-wp-hook.php(324): M_Marketing->{closure}(”) 12 /home/carnethy/
   public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, 
   Array) 13 /home/carnethy/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(
   Array) 14 /home/carnethy/public_html/wp-settings.php(700): do_action(‘init’) 
   15 /home/carnethy/public_html/wp-config.php(94): require_once(‘/home/carnethy/…’)
   16 /home/carnethy/public_html/wp-load.php(50): require_once(‘/home/carnethy/…’)
   17 /home/carnethy/public_html/wp-admin/admin-ajax.php(22): require_once(‘/home/
   carnethy/…’) 18 {main}
 * thrown
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fkeep-getting-error-email%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Barsha Paudel](https://wordpress.org/support/users/barsha05/)
 * (@barsha05)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/keep-getting-error-email/#post-17958317)
 * Hi [@digbymaass](https://wordpress.org/support/users/digbymaass/),
 * Thanks for reaching out!
 * While checking on our setup we couldn’t replicate the issue while using the PHP
   8.2 and NextGEN Gallery. I suggest you download a fresh copy of the latest NextGen
   Gallery and, then replace the one from your site’s **Dashboard > Plugins > Add
   new plugin > Upload plugin > Choose File** (with the files’ override when being
   asked) to see if that’ll fix the issue?
 * Re-installing NextGen Gallery wouldn’t affect your existing galleries.
 * Thanks!
 *  Thread Starter [digbymaass](https://wordpress.org/support/users/digbymaass/)
 * (@digbymaass)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/keep-getting-error-email/#post-17958886)
 * Ok I’ll try that.
 *  Thread Starter [digbymaass](https://wordpress.org/support/users/digbymaass/)
 * (@digbymaass)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/keep-getting-error-email/#post-17959030)
 * Nope. Just got another error email. I think it’s the same as the others…
 * Error Details
 * An error of type E_ERROR was caused in line 147 of the file /home/carnethy/public_html/
   wp-content/plugins/nextgen-gallery/src/Util/Transient.php. Error message: Uncaught
   TypeError: in_array(): Argument #2 ($haystack) must be of type array, string 
   given in /home/carnethy/public_html/wp-content/plugins/nextgen-gallery/src/Util/
   Transient.php:147
   Stack trace: 0 /home/carnethy/public_html/wp-content/plugins/
   nextgen-gallery/src/Util/Transient.php(147): in_array(‘2899230903’, ‘A’) 1 /home/
   carnethy/public_html/wp-content/plugins/nextgen-gallery/src/Util/Transient.php(
   168): Imagely\NGG\Util\Transient->_track_key(‘5__2899230903’) 2 /home/carnethy/
   public_html/wp-content/plugins/nextgen-gallery/src/Util/Transient.php(256): Imagely\
   NGG\Util\Transient->set(‘5__2899230903’, Array, 1800) 3 /home/carnethy/public_html/
   wp-content/plugins/nextgen-gallery/src/DataMapper/DriverBase.php(89): Imagely\
   NGG\Util\Transient::update(‘5__2899230903’, Array) 4 /home/carnethy/public_html/
   wp-content/plugins/nextgen-gallery/src/DataMapper/DriverBase.php(63): Imagely\
   NGG\DataMapper\DriverBase->update_columns_cache() 5 /home/carnethy/public_html/
   wp-content/plugins/nextgen-gallery/src/DataMapper/WPPostDriver.php(31): Imagely\
   NGG\DataMapper\DriverBase->lookup_columns() 6 /home/carnethy/public_html/wp-content/
   plugins/nextgen-gallery/src/DataMapper/DriverBase.php(23): Imagely\NGG\DataMapper\
   WPPostDriver->lookup_columns() 7 /home/carnethy/public_html/wp-content/plugins/
   nextgen-gallery/src/DataMapper/WPPostDriver.php(26): Imagely\NGG\DataMapper\DriverBase-
   >__construct(‘display_type’) 8 /home/carnethy/public_html/wp-content/plugins/
   nextgen-gallery/src/DataMappers/DisplayType.php(27): Imagely\NGG\DataMapper\WPPostDriver-
   >__construct(‘display_type’) 9 /home/carnethy/public_html/wp-content/plugins/
   nextgen-gallery/src/DataMappers/DisplayType.php(36): Imagely\NGG\DataMappers\
   DisplayType->__construct() 10 /home/carnethy/public_html/wp-content/plugins/nextgen-
   gallery/products/photocrati_nextgen/modules/marketing/module.marketing.php(169):
   Imagely\NGG\DataMappers\DisplayType::get_instance() 11 /home/carnethy/public_html/
   wp-includes/class-wp-hook.php(324): M_Marketing->{closure}(”) 12 /home/carnethy/
   public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, 
   Array) 13 /home/carnethy/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(
   Array) 14 /home/carnethy/public_html/wp-settings.php(700): do_action(‘init’) 
   15 /home/carnethy/public_html/wp-config.php(94): require_once(‘/home/carnethy/…’)
   16 /home/carnethy/public_html/wp-load.php(50): require_once(‘/home/carnethy/…’)
   17 /home/carnethy/public_html/wp-admin/admin-ajax.php(22): require_once(‘/home/
   carnethy/…’) 18 {main}
 * thrown
 *  [Barsha Paudel](https://wordpress.org/support/users/barsha05/)
 * (@barsha05)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/keep-getting-error-email/#post-17981073)
 * Hi [@digbymaass](https://wordpress.org/support/users/digbymaass/),
 * Sorry for the trouble,
 * It looks like there might be a conflict between NextGEN Gallery and other third-
   party plugin activated on your site:
   Based on this, I’d recommend either of the
   following options:
 * 1) If feasible, you could deactivate all the activated except NextGEN Gallery
   plugin on your site. Before doing this, it’s a good idea to create a backup of
   your site.
 * 2) After you have found the defect plugin, you could reach out to the plugin’s
   author/support team to share details of the conflict this plugin seems to be 
   causing. They’d hopefully be able to help!
 * Let me know how it goes!
 *  Thread Starter [digbymaass](https://wordpress.org/support/users/digbymaass/)
 * (@digbymaass)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/keep-getting-error-email/#post-17981121)
 * That’s completely unfeasible as I get the error emails once every few days, or
   more. I can’t turn off all the plugins indefinitely. It often seems to happen
   after an edit or some other back end operation. Also there are a lot of google
   results of a similar nature which might give you some clue as to what is going
   on.
 *  Thread Starter [digbymaass](https://wordpress.org/support/users/digbymaass/)
 * (@digbymaass)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/keep-getting-error-email/#post-18068523)
 * A question – nearly every line of the error message quotes nextgen-gallery or
   NGG. Why does another plugin have to be the source of a conflict?

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Keep getting error email’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [digbymaass](https://wordpress.org/support/users/digbymaass/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/keep-getting-error-email/#post-18068523)
 * Status: resolved