Title: Error when using with Nextgen
Last modified: August 22, 2016

---

# Error when using with Nextgen

 *  [andyvb](https://wordpress.org/support/users/andyvb/)
 * (@andyvb)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/error-when-using-with-nextgen/)
 * Only Nextgen & WR Pagebuilder are active.
 * Strict Standards: Declaration of C_DataMapper_Driver_Base::define() should be
   compatible with C_Component::define($context = false) in /home/coordina/public_html/
   wijnen/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/
   datamapper/class.datamapper_driver_base.php on line 744
 * Strict Standards: Declaration of C_Lightbox_Library_Mapper::define() should be
   compatible with C_CustomPost_DataMapper_Driver::define($object_name, $context
   = false) in /home/coordina/public_html/wijnen/wp-content/plugins/nextgen-gallery/
   products/photocrati_nextgen/modules/lightbox/class.lightbox_library_mapper.php
   on line 7
 * [https://wordpress.org/plugins/wr-pagebuilder/](https://wordpress.org/plugins/wr-pagebuilder/)

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

 *  Plugin Contributor [Adam](https://wordpress.org/support/users/hieudm/)
 * (@hieudm)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-when-using-with-nextgen/#post-5534514)
 * Hi [@andyvb](https://wordpress.org/support/users/andyvb/),
 * Could you please provide which WordPress / PHP / WR PageBuilder are you using
   so I can try to reproduce the problem at my end ?
 *  Thread Starter [andyvb](https://wordpress.org/support/users/andyvb/)
 * (@andyvb)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-when-using-with-nextgen/#post-5534516)
 * WordPress Version: 4.0.1
    PHP Version: 5.5.17 WR Pagebuilder 2.4.2
 *  Plugin Contributor [Adam](https://wordpress.org/support/users/hieudm/)
 * (@hieudm)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-when-using-with-nextgen/#post-5534532)
 * Hi,
 * Thanks for the info, please stay tuned while I’m investigating the problem and
   will let you know the result asap.
 * Best regards,
 * Adam.
 *  Plugin Contributor [Adam](https://wordpress.org/support/users/hieudm/)
 * (@hieudm)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-when-using-with-nextgen/#post-5534533)
 * Hi there,
 * Sorry for the delay, I also found some threads about this problem, look like 
   the code of NextGEN Gallery doesn’t fully compatible with new PHP version :
 * 1. [With WPLinkedIn](https://wordpress.org/support/topic/latest-update-broke-page?replies=18)
 * 2. [PHP 5.4 Strict Errors](https://wordpress.org/support/topic/php-54-strict-errors?replies=4)
 * 3. [PHP Strict Standards](https://wordpress.org/support/topic/php-strict-standards?replies=6)
 * So you might want to open root_folder/wp-config.php and add this code at the 
   end of file then recheck :
 * `error_reporting(E_ALL & ~E_STRICT);`
 * Best regards,
 * Adam.
 *  [alorenz17013](https://wordpress.org/support/users/alorenz17013/)
 * (@alorenz17013)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-when-using-with-nextgen/#post-5534572)
 * Actually… the correct answer is within your own plugin file titled “wr-pagebuilder.
   php”… the setting below is over-riding the server’s own error reporting which
   is causing the error. My question is why are you over-riding this for no real
   reason. Please remove the code as it’s not needed and screwing a lot of stuff
   up in the process. To fix the issue, just comment the below out. Just remember
   that until this is fixed by the plug-in authors that you’ll have to do this “
   fix” each time they update their code.
 * <?php
    /** * Plugin Name: WR PageBuilder * Plugin URI: [http://www.woorockets.com](http://www.woorockets.com)*
   Description: Awesome content builder for WordPress websites * Version: 2.4.3 *
   Author: WooRockets Team <support@www.woorockets.com> * Author URI: [http://www.wordpress.org/plugins/wr-pagebuilder](http://www.wordpress.org/plugins/wr-pagebuilder)*
   License: GNU/GPL v2 or later [http://www.gnu.org/licenses/gpl-2.0.html](http://www.gnu.org/licenses/gpl-2.0.html)*/
 * // Set custom error reporting level
    error_reporting( E_ALL ^ E_NOTICE ); <<<
   <<<COMMENT THIS LINE OUT TO FIX!!!!
 *  Plugin Contributor [Adam](https://wordpress.org/support/users/hieudm/)
 * (@hieudm)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/error-when-using-with-nextgen/#post-5534573)
 * Hi [@alorenz17013](https://wordpress.org/support/users/alorenz17013/),
 * Thanks for pointing that out. I sent a report about this problem and our development
   team will fix it in next version.
 * Best regards,
 * Adam.

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

The topic ‘Error when using with Nextgen’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wr-pagebuilder_4b6759.svg)
 * [Page Builder by WooRockets.com](https://wordpress.org/plugins/wr-pagebuilder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wr-pagebuilder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wr-pagebuilder/)
 * [Active Topics](https://wordpress.org/support/plugin/wr-pagebuilder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wr-pagebuilder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wr-pagebuilder/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Adam](https://wordpress.org/support/users/hieudm/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/error-when-using-with-nextgen/#post-5534573)
 * Status: not resolved