• Resolved IndiGoTravelAsia

    (@indigotravelasia)


    Hi

    Congratulations on a nice plugin with a balanced toolbox of customizations.
    However, when using WPML and translating a page with a gallery I encounter the following line:

    Warning: Creating default object from empty value in /customers/6/7/c/indigotravel.se/httpd.www/wp-content/plugins/modula-best-grid-gallery/lib/gallery-class.php on line 87

    Any idea how to get rid of this warning and why does it occur?

    Cheers.

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

    (@greentreelabs)

    Hi, do you perhaps have WP_DEBUG set to true in your wp-config.php ?

    Thread Starter IndiGoTravelAsia

    (@indigotravelasia)

    Hi there,

    Nope, WP_DEBUG is set to false in wp-config.php

    define(‘WP_DEBUG’, false);

    In any case it matters, there is no mention of WP_DEBUG_DISPLAY either in the config file.

    Any other ideas as to why it shows?

    Thread Starter IndiGoTravelAsia

    (@indigotravelasia)

    Hi, any further feedback on the issue?

    Page is live here: http://indigotravel.se/no/volontarer-berattar/

    Thanks.

    Thread Starter IndiGoTravelAsia

    (@indigotravelasia)

    Hi again, problem not resolved, any further comments on the issue at all?

    Diego

    (@greentreelabs)

    Hi, sorry for the late response.

    1) With WP_DEBUG set to false there should not any warning in output, if that happens there’s probably another plugin (or theme) that changes the error_reporting value.

    2) I’ve checked my code in gallery-class.php on line 87 but I don’t understand the reason of that warning.

    I don’t have WPML so I’m not able to do tests. I have to say I asked the team of WPML for support a couple of years ago but they weren’t much collaborative so I stopped working on integration with WPML.

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

The topic ‘PHP-Warning when using on multilingual site’ is closed to new replies.