• gabyrau

    (@gabyrau)


    With Caldera Forms, current release 1.9.7, I’ve got the error “_load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>caldera-forms</code> domain was triggered too early.”

    I’ve found out that this is caused by Line 2110 in classes/admin.php where the constructor is loaded before plugins are loaded.

    So I changed the constructor and inserted the following lines after line 158 in admin.php:
    // Delay privacy settings initialization until WordPress init.
    remove_action( ‘caldera_forms_admin_init’, array( CLASS, ‘init_privacy_settings’ ) );
    add_action( ‘init’, array( CLASS, ‘init_privacy_settings’ ) );

    As this is not upgrade-safe, could you please consider to include this in your next release or fix the bug in another way.

    Best regards, Gaby

You must be logged in to reply to this topic.