Metabox AIO: There has been a critical error on this website (Arabic)

Support Meta Box AIO Metabox AIO: There has been a critical error on this website (Arabic)

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #48141
    Karen AyatKaren Ayat
    Participant

    Hi,

    We have issue on Arabic version of website (English default and Franch version are working properly), after updating MetaBox AIO from from Version 2.0.3.

    MetaBox AIO is used for property pages (custom fields) + one Custom Taxonomy (facilities) and one CPT (testimonials)

    After upating MetaBox AIO from Version 2.0.3. we got "There has been a critical error on this website" but only for AR version.

    When we restored backup, problem disappear (rolledback to Version 2.0.3.).

    Steps:

    - Tested on Live and Staging enviroment with WPML plugin team (de-install all plugins).
    - Error was removed only when MetaBox AIO extensions were disabled:
    a) MB Custom Post Type
    b) Meta Box Builder
    - Tested with new MetaBox Core plugin on Staging website - error still exist on Arabic version

    -

    Culd you please look into this issue? I would provide access to Staging enviroment.

    #48146
    PeterPeter
    Moderator

    Hello Karen,

    Please enable WP debug, activate all extensions of Meta Box AIO plugin to see the error and check the debug log. Let me know if you see any fatal errors in the log and share it with me.

    If you want to share the staging admin account, please submit this contact form https://metabox.io/contact/
    I will take a look.

    #48150
    Karen AyatKaren Ayat
    Participant

    Hello Peter,

    Ive enabled debug log.

    Please find below log.

    I will send access to Staging website via Contact form.

    Thank you

    ---

    Fatal error: Uncaught ArgumentCountError: 18 arguments are required, 2 given in /nas/content/live/swishmarbelstg/wp-content/plugins/wpml-string-translation/classes/translations-file-scan/wpml-st-translations-file-registration.php:100 Stack trace: #0 /nas/content/live/swishmarbelstg/wp-content/plugins/wpml-string-translation/classes/translations-file-scan/wpml-st-translations-file-registration.php(100): sprintf('/nas/content/li...', 'ar_LB') #1 /nas/content/live/swishmarbelstg/wp-content/plugins/wpml-string-translation/classes/translations-file-scan/wpml-st-translations-file-registration.php(65): WPML_ST_Translations_File_Registration->save_file_info('meta-box-post-t...', 'meta-box-post-t...', '/nas/content/li...') #2 /nas/content/live/swishmarbelstg/wp-includes/class-wp-hook.php(326): WPML_ST_Translations_File_Registration->cached_save_mo_file_info(false, 'meta-box-post-t...', '/nas/content/li...') #3 /nas/content/live/swishmarbelstg/wp-includes/plugin.php(205): WP_Hook->apply_filters(false, Array) #4 /nas/content/live/swishmarbelstg/wp-includes/l10n.php(769): apply_filters('override_load_t...', false, 'meta-box-post-t...', '/nas/content/li...', NULL) #5 /nas/content/live/swishmarbelstg/wp-content/plugins/wpml-string-translation/classes/TranslateWpmlString.php(152): load_textdomain('meta-box-post-t...', '/nas/content/li...') #6 /nas/content/live/swishmarbelstg/wp-content/plugins/wpml-string-translation/classes/TranslateWpmlString.php(90): WPML\ST\TranslateWpmlString->loadTextDomain('meta-box-post-t...', 'ar_LB') #7 /nas/content/live/swishmarbelstg/wp-content/plugins/wpml-string-translation/classes/TranslateWpmlString.php(177): WPML\ST\TranslateWpmlString->WPML\ST\{closure}('ar_LB') #8 /nas/content/live/swishmarbelstg/wp-content/plugins/wpml-string-translation/classes/TranslateWpmlString.php(111): WPML\ST\TranslateWpmlString->withMOLocale(NULL, Object(Closure)) #9 /nas/content/live/swishmarbelstg/wp-content/plugins/wpml-string-translation/classes/TranslateWpmlString.php(66): WPML\ST\TranslateWpmlString->translateByMOFile('meta-box-post-t...', 'label_name', 'Testimonials', NULL, NULL) #10 /nas/content/live/swishmarbelstg/wp-content/plugins/wpml-string-translation/inc/functions.php(270): WPML\ST\TranslateWpmlString->translate('meta-box-post-t...', 'label_name', 'Testimonials', false, NULL, NULL) #11 /nas/content/live/swishmarbelstg/wp-content/plugins/wpml-string-translation/inc/package-translation/inc/wpml-package.class.php(284): icl_translate('meta-box-post-t...', 'label_name', 'Testimonials') #12 /nas/content/live/swishmarbelstg/wp-content/plugins/wpml-string-translation/inc/package-translation/inc/wpml-package-translation-helper.class.php(235): WPML_Package->translate_string('Testimonials', 'label_name') #13 /nas/content/live/swishmarbelstg/wp-includes/class-wp-hook.php(324): WPML_Package_Helper->translate_string('Testimonials', 'label_name', Object(WPML_Package)) #14 /nas/content/live/swishmarbelstg/wp-includes/plugin.php(205): WP_Hook->apply_filters('Testimonials', Array) #15 /nas/content/live/swishmarbelstg/wp-content/plugins/mb-core/vendor/meta-box/mb-custom-post-type/src/Integrations/WPML/PostType.php(95): apply_filters('wpml_translate_...', 'Testimonials', 'label_name', Array) #16 /nas/content/live/swishmarbelstg/wp-includes/class-wp-hook.php(324): MBCPT\Integrations\WPML\PostType->use_translations(Array, Object(WP_Post)) #17 /nas/content/live/swishmarbelstg/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #18 /nas/content/live/swishmarbelstg/wp-content/plugins/mb-core/vendor/meta-box/mb-custom-post-type/src/PostTypeRegister.php(104): apply_filters('mbcpt_post_type', Array, Object(WP_Post)) #19 /nas/content/live/swishmarbelstg/wp-content/plugins/mb-core/vendor/meta-box/mb-custom-post-type/src/PostTypeRegister.php(69): MBCPT\PostTypeRegister->get_post_types() #20 /nas/content/live/swishmarbelstg/wp-content/plugins/mb-core/vendor/meta-box/mb-custom-post-type/src/Register.php(8): MBCPT\PostTypeRegister->register() #21 /nas/content/live/swishmarbelstg/wp-content/plugins/mb-core/vendor/meta-box/mb-custom-post-type/mb-custom-post-type.php(54): MBCPT\Register->__construct() #22 /nas/content/live/swishmarbelstg/wp-includes/class-wp-hook.php(324): mb_cpt_load('') #23 /nas/content/live/swishmarbelstg/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #24 /nas/content/live/swishmarbelstg/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #25 /nas/content/live/swishmarbelstg/wp-settings.php(727): do_action('init') #26 /nas/content/live/swishmarbelstg/wp-config.php(132): require_once('/nas/content/li...') #27 /nas/content/live/swishmarbelstg/wp-load.php(50): require_once('/nas/content/li...') #28 /nas/content/live/swishmarbelstg/wp-blog-header.php(13): require_once('/nas/content/li...') #29 /nas/content/live/swishmarbelstg/index.php(17): require('/nas/content/li...') #30 {main} thrown in /nas/content/live/swishmarbelstg/wp-content/plugins/wpml-string-translation/classes/translations-file-scan/wpml-st-translations-file-registration.php on line 100

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