• Resolved Ludwig C.

    (@ludwig-c)


    Unfortunately since version 6.7.0 a lot of notices get thrown by the plugin when WP_DEBUG id enabled. In addition it floods the error log files.

    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the ultimate-maps-by-supsystic domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /app/public/wp-includes/functions.php on line 6114

    The problem happens when calling frameUms::_()->init(); that initialises some internal tables ($this->_extractTables()) where the labels are set using translation functions __().
    (for example see ultimate-maps-by-supsystic/classes/tables/marker.php)

    And after that a hook gets called (dispatcherUms::doAction('afterModulesInit');) that calls optionsUms->getAll() that again uses the translation functions __() that cause these notices.

    Translations should’t be used at that early time.

    While this bug is not fixed, it is not possible for us to update to WP 6.7.0 and later because in our development and staging environment we need the debug mode enabled.

    • This topic was modified 1 year, 3 months ago by Ludwig C..
Viewing 2 replies - 1 through 2 (of 2 total)
  • Same issue for me

    Plugin Author supsystic

    (@supsysticcom)

    Hi @ludwig-c @witters,
    Thanks so much for reaching out and flagging the issue!

    The bug has been fixed, and the updated version of the plugin will be available shortly — in approximately 15–20 minutes. While it wasn’t a critical issue, we completely agree that it impacted the user experience, which we always aim to keep at the highest standard.

    Appreciate your patience and support! 🙌

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

The topic ‘Function _load_textdomain_just_in_time was called incorrectly’ is closed to new replies.