Title: PHP 5.4 Strict Errors
Last modified: August 21, 2016

---

# PHP 5.4 Strict Errors

 *  [acrms](https://wordpress.org/support/users/acrms/)
 * (@acrms)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/php-54-strict-errors/)
 * Hi Folks
 * I’m using the latest version of the plugin, getting following errors – can you
   help?
 * Strict Standards: Declaration of C_DataMapper_Driver_Base::define() should be
   compatible with C_Component::define($context = false) in /var/www/vhosts/mydomain.
   com/httpdocs/wp/wp-content/plugins/nextgen-gallery/pope/lib/class.component_registry.
   php on line 939 Strict Standards: Declaration of C_Lightbox_Library_Mapper::define()
   should be compatible with C_CustomPost_DataMapper_Driver::define($object_name,
   $context = false) in /var/www/vhosts/mydomain.com/httpdocs/wp/wp-content/plugins/
   nextgen-gallery/products/photocrati_nextgen/modules/lightbox/class.lightbox_library_mapper.
   php on line 7
 * Thanks
    AC
 * [https://wordpress.org/plugins/nextgen-gallery/](https://wordpress.org/plugins/nextgen-gallery/)

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

 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/php-54-strict-errors/#post-5162590)
 * [@acrms](https://wordpress.org/support/users/acrms/) – Is `WP_DEBUG` set to true?
 * Also, you can define `NGG_HIDE_STRICT_ERRORS` to true as well which may help.
 * – Cais.
 *  Thread Starter [acrms](https://wordpress.org/support/users/acrms/)
 * (@acrms)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/php-54-strict-errors/#post-5162595)
 * Hi Cias
 * Added in
 * define( ‘NGG_HIDE_STRICT_ERRORS’, TRUE );
 * And checked that wp_debug set to FALSE, error still persists.
 * Any other thoughts?
 * AC
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/php-54-strict-errors/#post-5162602)
 * [@acrms](https://wordpress.org/support/users/acrms/) – Where specifically on 
   your site are you seeing this message, can you provide a URL for it?
 * Thanks!
 * – Cais.

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

The topic ‘PHP 5.4 Strict Errors’ 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/)

## Tags

 * [nextgen](https://wordpress.org/support/topic-tag/nextgen/)
 * [php 5.4](https://wordpress.org/support/topic-tag/php-5-4/)
 * [Strict](https://wordpress.org/support/topic-tag/strict/)

 * 3 replies
 * 2 participants
 * Last reply from: [photocrati](https://wordpress.org/support/users/photocrati/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/php-54-strict-errors/#post-5162602)
 * Status: not resolved