• Resolved dudeltrieb

    (@dudeltrieb)


    Since WordPress 6.7. the following issue occurs:
    (non-english WordPress)

    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the foogallery 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 /home/creiter/Code/Private/mandragorawebsite/wordpress/wp-includes/functions.php on line 6114

    I noticed that many other plugins have the same problem. For me the notifications crashing the structure of the page. With many follow-up issues.

    My workaround was to fix this like that:

    // class-foogallery-thumb-manager.php

    class FooGallery_Thumb_Manager {

    function __construct() {
    // add_action( 'plugins_loaded', array( $this, 'init_active_engine' ) );
    // Workaround
    add_action( 'init', array( $this, 'init_active_engine' ) );
    }
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support elviiso

    (@elviiso)

    Hi @dudeltrieb

    Thanks for alerting us to this and for sharing the workaround. We will attempt to replicate this and implement a fix to resolve this.

    First, just so that we can have the information needed, kindly navigate to FooGallery -> System Info. Copy the information displayed on that page and share them with us in this thread and we’ll take it from there. Thanks.

    Regards,
    Elvis

    elsatutu

    (@elsatutu)

    hello

    i have the same issue here on one of my website. It’s breaking the website and I can’t access the back office without changing the name of the folder in /plugin folder.

    my error message is

    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the foogallery 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 /homepages/5/d4297285957/htdocs/wordpress/wp-includes/functions.php on line 6114

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/5/d4297285957/htdocs/wordpress/wp-includes/functions.php:6114) in /homepages/5/d4297285957/htdocs/wordpress/wp-includes/pluggable.php on line 1435

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/5/d4297285957/htdocs/wordpress/wp-includes/functions.php:6114) in?/homepages/5/d4297285957/htdocs/wordpress/wp-includes/pluggable.php?on line?1438

    thAnks for your help

    Thread Starter dudeltrieb

    (@dudeltrieb)

    @elviiso Here is the system info: (german WordPress)

    FooGallery-Version : 2.4.22
    WordPress-Version : 6.7
    Aktiviertes Theme : ******** (custom)
    WordPress-URL : ********
    PHP-Version : 8.1.30
    Thumb Engine : default
    PHP GD : Geladen (V2)
    PHP Imagick : Geladen
    WP Image Editor : FooGallery_Thumb_Image_Editor_Imagick
    Vorschaubild-Erzeugungstest : https://********/wp-content/uploads/2019/09/001.jpg
    HTTPS Thumb Mismatch : Keine
    Available Image Editors : Array
    (
    [0] => FooGallery_Thumb_Image_Editor_Imagick
    [1] => FooGallery_Thumb_Image_Editor_GD
    )

    PHP Open SSL : Geladen
    PHP HTTP Wrapper : Gefunden
    PHP HTTPS Wrapper : Gefunden
    PHP Config[allow_url_fopen] : 1
    PHP Config[allow_url_include] : 0
    Aktive Funktionen : Array
    (
    [0] => default_templates
    [1] => foobox
    [2] => foobox-image-lightbox
    )

    Galerie-Vorlagen : Array
    (
    [0] => default
    [1] => image-viewer
    [2] => justified
    [3] => masonry
    [4] => simple_portfolio
    [5] => thumbnail
    [6] => carousel
    [7] => polaroid_promo
    [8] => grid_promo
    [9] => slider_promo
    [10] => product_promo
    )

    Lightboxes : Array
    (
    [foogallery] => FooGallery Lightbox
    [foobox] => FooBox
    )

    Einstellungen : Array
    (
    [enable_html_cache] => on
    [gallery_template] => default
    [gallery_sorting] =>
    [default_gallery_settings] => 0
    [caption_title_source] => caption
    [caption_desc_source] => desc
    [gallery_creator_role] =>
    [album_creator_role] => inherit
    [thumb_engine] => default
    [thumb_jpeg_quality] => 90
    [default_crop_position] => center,center
    [thumb_resize_upscale_small_color] => rgb(0,0,0)
    [language_imageviewer_prev_text] => Zurück
    [language_imageviewer_next_text] => Vor
    [language_imageviewer_of_text] => von
    [language_images_count_none_text] => Keine Bilder
    [language_images_count_single_text] => 1 Bild
    [language_images_count_plural_text] => %s Bilder
    [enable_custom_ready] => on
    [force_hide_trial] => on
    [custom_js] =>
    [custom_css] =>
    [default_retina_support] => Array
    (
    [2x] => false
    [3x] => false
    [4x] => false
    )

    [gallery_capabilities_set] => administrator
    [allowed_custom_post_types] => Array
    (
    [product] => false
    )

    )

    Aktive Plugins : Array
    (
    [0] => polylang/polylang.php
    [1] => wp-data-access/wp-data-access.php
    [2] => add-from-server/add-from-server.php
    [3] => all-in-one-wp-security-and-firewall/wp-security.php
    [4] => atum-stock-manager-for-woocommerce/atum-stock-manager-for-woocommerce.php
    [5] => cache-enabler/cache-enabler.php
    [6] => clearfy/clearfy.php
    [7] => contact-form-7/wp-contact-form-7.php
    [8] => coupon-generator-for-woocommerce/woocommerce-coupon-generator.php
    [9] => foobox-image-lightbox/foobox-free.php
    [10] => foogallery/foogallery.php
    [11] => one-stop-shop-woocommerce/one-stop-shop-woocommerce.php
    [12] => smartcrawl-seo/wpmu-dev-seo.php
    [13] => welcome-block/welcome-block.php
    [14] => woo-poly-integration/__init__.php
    [15] => woo-store-vacation/woo-store-vacation.php
    [16] => woocommerce-delivery-notes/woocommerce-delivery-notes.php
    [17] => woocommerce-germanized/woocommerce-germanized.php
    [18] => woocommerce-paypal-payments/woocommerce-paypal-payments.php
    [19] => woocommerce-services/woocommerce-services.php
    [20] => woocommerce/woocommerce.php
    )

    Plugin Support elviiso

    (@elviiso)

    Hi @dudeltrieb and @elsatutu

    Thanks for alerting us to this and for sharing the system info.

    I can confirm that we are currently actively working on a fix to address this and will release an update soon to resolve the issue permanently. In the meantime, if this is not a development site, I recommend disabling the debug mode in your wp-config.php file to prevent these notices from being displayed. You can refer to this guide for instructions:?Disable Debug Mode.

    Thank you for your patience, understanding, and continued support as we work on this resolution.

    Kind regards,

    Elvis

    Plugin Author bradvin

    (@bradvin)

    hi @dudeltrieb & @elsatutu
    This has been fixed in v2.4.27 – please update and all should be resolved.

    cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.