• I believe this only came up after I upgraded to WP3.9.1 yesterday, but I may be mistaken.

    I recently deactivated and then reactivated NextGEN and got the following Strict Standards error messages when I try to reactivate:

    Strict Standards: Declaration of C_DataMapper_Driver_Base::define() should be compatible with C_Component::define($context = false) in /homepages/35/path/htdocs/newsite/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/datamapper/class.datamapper_driver_base.php on line 741

    Strict Standards: Declaration of C_Lightbox_Library_Mapper::define() should be compatible with C_CustomPost_DataMapper_Driver::define($object_name, $context = false) in /homepages/35/path/htdocs/newsite/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/class.lightbox_library_mapper.php on line 7

    WordPress 3.9.1
    NextGEN 2.0.65
    PHP 5.4.28
    MySQL 5.1.73
    PHP safe mode is off.
    Hosted with 1&1
    Using the “Divi” theme from Elegant Themes – theme isn’t the issue as I get the same messages using Twenty Fourteen.

    It appears to be a conflict with Xenword – a bridge between WordPress and the Xenforo forum which I’m talking to the developer about. But is there a fix at this end that stands out from the error messages?

    Thank you kindly.

    Do you have any ideas, please?

    https://ww.wp.xz.cn/plugins/nextgen-gallery/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Xonnie316

    (@xonnie316)

    I’m experiencing the same error with NextGen, once I de-activate the plugin the error is gone.

    Strict Standards: Declaration of C_DataMapper_Driver_Base::define() should be compatible with C_Component::define($context = false) in /home/clubital/public_html/website/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/datamapper/class.datamapper_driver_base.php on line 741

    Here’s the link to the website: http://ow.ly/wISTc

    Would someone be able to help us out ?

    Plugin Contributor photocrati

    (@photocrati)

    @sitwi & @xonnie316 – Do you have WP_DEBUG set to true? This is often the case for why these notices show on a site.

    – Cais.

    Xonnie316

    (@xonnie316)

    Just checked wp-config.php and WP_DEBUG is set to false.

    Any other suggestions ?

    Plugin Contributor photocrati

    (@photocrati)

    There is this option:

    define( 'NGG_HIDE_STRICT_ERRORS', TRUE ); <– goes in wp-config.php

    – Cais.

    Xonnie316

    (@xonnie316)

    Hi photocrati, I’ve added:

    define( ‘NGG_HIDE_STRICT_ERRORS’, TRUE ); to wp-config.php

    And it still brings up the error.

    Link: http://ow.ly/wISTc

    Plugin Contributor photocrati

    (@photocrati)

    @xonnie316 – We may have to get a closer look at your site to see why those errors are still appearing. Can you submit a Bug Report (http://www.nextgen-gallery.com/report-bug/ … please reference this topic) with your site’s specifics.

    We will also need log in and FTP credentials for your WordPress installation as well, please include this with your Bug Report.

    Thanks!

    – Cais.

    This is a massive problem affecting hundreds or thousands of sites as you can see from this Google search. https://www.google.com/#q=nextgen-gallery%5Cproducts%5Cphotocrati_nextgen%5Cmodules%5Cdatamapper%5Cclass.datamapper_driver_base.php+on+line+741&start=0

    Has there been any ideas on how to get rid of this? I’m actually getting the error when I kick out the_content()

    Plugin Contributor photocrati

    (@photocrati)

    @neuralchris – You can turn down the error checking level on the site, production environments generally do not have a high-enough error-checking level for this to be an issue.

    You can also try adding to your wp-config.php file the following:
    define( 'NGG_HIDE_STRICT_ERRORS', true );

    If you have something specific to your site to be addressed, please start a new topic for your issue(s).

    Thanks!

    – Cais.

    @photocrati. I’m also getting this error after several attempts to correct the issue with various solutions from the web. Would you please provide me with an email so that I can send you login credentials to take a look at the site?

    Thanks for your time

    Plugin Contributor photocrati

    (@photocrati)

    @matmox – It would have been best for you to create your own support topic but you are welcome to use our Bug Report form here: http://nextgen-gallery.com/report-bug/

    Thanks!

    – Cais.

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

The topic ‘Strict standards error’ is closed to new replies.