Title: Strict Standards Error
Last modified: August 22, 2016

---

# Strict Standards Error

 *  Resolved [jmessick9](https://wordpress.org/support/users/jmessick9/)
 * (@jmessick9)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/strict-standards-error-20/)
 * I am receiving the following error after updating to the latest release:
 *     ```
       Strict Standards: Declaration of C_DataMapper_Driver_Base::define() should be compatible with that of C_Component::define() in /home/content/74/5020774/html/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 that of C_CustomPost_DataMapper_Driver::define() in /home/content/74/5020774/html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/class.lightbox_library_mapper.php on line 7
       ```
   
 * I have debug turned off in the wp-config file, I have added turing off error 
   reporting in the php.ini and .htaccces file also. I rolled back to an older version
   and still receive the error.
 * Any ideas on how to get this error to go away?
 * [https://wordpress.org/plugins/nextgen-gallery/](https://wordpress.org/plugins/nextgen-gallery/)

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

 *  Thread Starter [jmessick9](https://wordpress.org/support/users/jmessick9/)
 * (@jmessick9)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/strict-standards-error-20/#post-5529905)
 * Found something on the net after one more look. Dropped it into a plugin errors
   are gone.
 *     ```
       $ignore = E_STRICT;
       if (defined('DEBUG_IGNORE_DEPRECATED') && DEBUG_IGNORE_DEPRECATED) {
           $ignore |= E_DEPRECATED;
       }
       error_reporting(E_ALL ^ $ignore);
       ini_set('log_errors', 0);
       ini_set('display_errors', 0);
       ini_set('error_log', WP_CONTENT_DIR . '/debug.log');
       ```
   
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/strict-standards-error-20/#post-5530048)
 * [@jmessick9](https://wordpress.org/support/users/jmessick9/) – Thanks for sharing
   this work-around. Usually the “Strict Standards” messages are only shown if the
   error reporting is set too high and the snippet you shared is correcting for 
   that.
 * – Cais.
 *  [chrisonga](https://wordpress.org/support/users/chrisonga/)
 * (@chrisonga)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/strict-standards-error-20/#post-5530248)
 * [@jmessick9](https://wordpress.org/support/users/jmessick9/),
 * Would you mind expanding on what you mean by ‘Dropped it into a plugin’?
 * Have located the script (debug-log-not-strict.php) but not sure where to put 
   it.
 * Thanks in advance for any assistance,
    Chris
 *  [chrisonga](https://wordpress.org/support/users/chrisonga/)
 * (@chrisonga)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/strict-standards-error-20/#post-5530249)
 * OK found the solution myself!
    Dropped it into the Plugins folder and activated
   on the plugin page of the wordpress backend! Chris
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/strict-standards-error-20/#post-5530250)
 * [@chrisonga](https://wordpress.org/support/users/chrisonga/) – Thanks for sharing
   your experience.
 * – Cais.

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

The topic ‘Strict Standards Error’ 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

 * [strict standards](https://wordpress.org/support/topic-tag/strict-standards/)

 * 5 replies
 * 3 participants
 * Last reply from: [photocrati](https://wordpress.org/support/users/photocrati/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/strict-standards-error-20/#post-5530250)
 * Status: resolved