Title: [Plugin: NextGEN Gallery] Replace has_cap
Last modified: August 20, 2016

---

# [Plugin: NextGEN Gallery] Replace has_cap

 *  [rukbat](https://wordpress.org/support/users/rukbat/)
 * (@rukbat)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-replace-has_cap/)
 * Hi, thx for the plugin.
 * With define(‘WP_DEBUG’, true); in wp-config.php there are several php notice 
   errors
 * Could you replace all the deprecated functions like has_cap() ??
 * Thx 😀
 * [http://wordpress.org/extend/plugins/nextgen-gallery/](http://wordpress.org/extend/plugins/nextgen-gallery/)

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

 *  [Alex Rabe](https://wordpress.org/support/users/alexrabe/)
 * (@alexrabe)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-replace-has_cap/#post-2367584)
 * On which page do use receive this message ?
 *  Thread Starter [rukbat](https://wordpress.org/support/users/rukbat/)
 * (@rukbat)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-replace-has_cap/#post-2367596)
 * In the backend (Dashboard e.g.) with WP_DEBUG true.
 * Thx.
 *  Thread Starter [rukbat](https://wordpress.org/support/users/rukbat/)
 * (@rukbat)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-replace-has_cap/#post-2367621)
 * **Update**: only in WordPress Multi site installation. (in my case a subdir install)
 *  [Alex Rabe](https://wordpress.org/support/users/alexrabe/)
 * (@alexrabe)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-replace-has_cap/#post-2367652)
 * Can you please post the message you receive ? I’m checked this here, but didn’t
   get any notice about has_cap()
 *  Thread Starter [rukbat](https://wordpress.org/support/users/rukbat/)
 * (@rukbat)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-replace-has_cap/#post-2367653)
 * :/ Just tried with wp 3.3 beta2 multisite and I can’t reproduce the notices on
   has_cap…
 * But there are 2 other notices:
 * Notice: Undefined index: wpmuStyle in /my-path/wp-content/plugins/nextgen-gallery/
   admin/admin.php on line 452
 * Notice: Undefined index: wpmuRoles in /my-path/wp-content/plugins/nextgen-gallery/
   admin/admin.php on line 452
 * Thx…
 *  [Alex Rabe](https://wordpress.org/support/users/alexrabe/)
 * (@alexrabe)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-replace-has_cap/#post-2367655)
 * Ok, that’s something I can work on
 *  [ccarey75](https://wordpress.org/support/users/ccarey75/)
 * (@ccarey75)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-replace-has_cap/#post-2367768)
 * Any update on this?
    I have a new 3.4 intall (multi site) with the most recent
   NextGen and I also see this message (albeit with a different line number than
   reported above)
 * Notice: Undefined index: wpmuStyle in ….\wp-content\plugins\nextgen-gallery\admin\
   admin.php on line 525

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

The topic ‘[Plugin: NextGEN Gallery] Replace has_cap’ 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/)

 * 7 replies
 * 3 participants
 * Last reply from: [ccarey75](https://wordpress.org/support/users/ccarey75/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-replace-has_cap/#post-2367768)
 * Status: not resolved