Navigation überspringen

Dieses Thema ist gelöst. Hier finden Sie eine Beschreibung des Problems und der Lösung.

Problem:
The client reported that their Italian website was not working, while the German, French, and English versions were functioning correctly. They provided a PHP Fatal error log indicating an ArgumentCountError in the Avada theme's files.
Solution:
We recommended that the client install the String Translation add-on for WPML. This would allow us to scan the translation files and investigate the issue with the specific string mentioned in the error log. The problem seemed to be related to an issue with the Avada translated .po file, similar to a known issue discussed in our support forum.

If you're experiencing a similar issue, we recommend you try installing the String Translation add-on from your WPML account. Once installed, you can scan your translation files for any inconsistencies or errors that might be causing the problem.

Please note that the solution provided might be irrelevant due to it being outdated or not applicable to your case. If after trying the recommended steps the issue persists, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please do not hesitate to open a new support ticket in the WPML support forum.

Dies ist das technische Support-Forum für WPML – das mehrsprachige WordPress-Plugin.

Mitlesen können alle, doch nur WPML-Kunden können hier Fragen veröffentlichen. Das WPML-Team antwortet im Forum an 6 Tagen pro Woche, 22 Stunden am Tag.

Heute stehen keine Supporter zur Arbeit im German-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

Schlagwörter: 

Dieses Thema enthält 6 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Bruno Kos Vor 7 Monaten, 2 Wochen.

Assistiert von: Bruno Kos.

Verfasser Beiträge
April 3, 2024 unter 9:59 am

carinaJ

Italian website does not work

April 3, 2024 unter 10:05 am
April 3, 2024 unter 10:07 am #15477342

Bruno Kos
Supporter

Sprachen: Englisch (English ) Deutsch (Deutsch ) Französisch (Français )

Zeitzone: Europe/Zagreb (GMT+01:00)

Can you do this:

1. Edit wp-config.php and insert the following lines (just before /* That's all, stop editing! Happy publishing. */ part)

define( 'WP_DEBUG', true);
define( 'WP_DEBUG_LOG', true);
define( 'WP_DEBUG_DISPLAY', false);

2. Reproduce the issue - visit versteckter Link

3. Locate the debug log in: /wp-content/debug.log

4. Paste the latest lines here. No need to paste the entire log file, just 10 lines or so will do. Please censor any sensitive information.

https://codex.wordpress.org/Debugging_in_WordPress

April 3, 2024 unter 10:10 am #15477351

carinaJ

Hi,

Thanks! Here:

[03-Apr-2024 10:09:02 UTC] PHP Fatal error: Uncaught ArgumentCountError: 3 arguments are required, 2 given in /home/www/speckeria.at/wp-content/themes/Avada/includes/metaboxes/tabs/tab_header.php:83
Stack trace:
#0 /home/www/speckeria.at/wp-content/themes/Avada/includes/metaboxes/tabs/tab_header.php(83): sprintf('Scegliere di im...', ' Impostazione p...')
#1 /home/www/speckeria.at/wp-content/themes/Avada/includes/metaboxes/metaboxes.php(270): avada_page_options_tab_header(Array)
#2 /home/www/speckeria.at/wp-content/themes/Avada/includes/class-fusion-dynamic-css-from-options.php(160): PyreThemeFrameworkMetaboxes->get_options()
#3 /home/www/speckeria.at/wp-content/themes/Avada/includes/class-fusion-dynamic-css-from-options.php(126): Fusion_Dynamic_CSS_From_Options->init('PO')
#4 /home/www/speckeria.at/wp-includes/class-wp-hook.php(324): Fusion_Dynamic_CSS_From_Options->dynamic_css_array_filter_po(Array)
#5 /home/www/speckeria.at/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
#6 /home/www/speckeria.at/wp-content/themes/Avada/includes/lib/inc/class-fusion-dynamic-css-helpers.php(390): apply_filters('fusion_dynamic_...', Array)
#7 /home/www/speckeria.at/wp-content/themes/Avada/includes/lib/inc/class-fusion-dynamic-css.php(306): Fusion_Dynamic_CSS_Helpers->get_dynamic_css()
#8 /home/www/speckeria.at/wp-content/themes/Avada/includes/lib/inc/class-fusion-dynamic-css-helpers.php(374): Fusion_Dynamic_CSS->generate_final_css()
#9 /home/www/speckeria.at/wp-content/themes/Avada/includes/lib/inc/class-fusion-dynamic-css-file.php(113): Fusion_Dynamic_CSS_Helpers->get_dynamic_css_id()
#10 /home/www/speckeria.at/wp-content/themes/Avada/includes/lib/inc/class-fusion-dynamic-css-file.php(180): Fusion_Dynamic_CSS_File->file('filename')
#11 /home/www/speckeria.at/wp-content/themes/Avada/includes/lib/inc/class-fusion-dynamic-css-file.php(55): Fusion_Dynamic_CSS_File->can_write()
#12 /home/www/speckeria.at/wp-content/themes/Avada/includes/lib/inc/class-fusion-dynamic-css.php(212): Fusion_Dynamic_CSS_File->__construct(Object(Fusion_Dynamic_CSS))
#13 /home/www/speckeria.at/wp-includes/class-wp-hook.php(324): Fusion_Dynamic_CSS->init('')
#14 /home/www/speckeria.at/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#15 /home/www/speckeria.at/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#16 /home/www/speckeria.at/wp-includes/script-loader.php(2265): do_action('wp_enqueue_scri...')
#17 /home/www/speckeria.at/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts('')
#18 /home/www/speckeria.at/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#19 /home/www/speckeria.at/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#20 /home/www/speckeria.at/wp-includes/general-template.php(3050): do_action('wp_head')
#21 /home/www/speckeria.at/wp-content/themes/Avada/header.php(21): wp_head()
#22 /home/www/speckeria.at/wp-includes/template.php(810): require_once('/home/www/speck...')
#23 /home/www/speckeria.at/wp-includes/template.php(745): load_template('/home/www/speck...', true, Array)
#24 /home/www/speckeria.at/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)
#25 /home/www/speckeria.at/wp-content/themes/Avada/100-width.php(15): get_header()
#26 /home/www/speckeria.at/wp-includes/template-loader.php(106): include('/home/www/speck...')
#27 /home/www/speckeria.at/wp-blog-header.php(19): require_once('/home/www/speck...')
#28 /home/www/speckeria.at/index.php(17): require('/home/www/speck...')
#29 {main}
thrown in /home/www/speckeria.at/wp-content/themes/Avada/includes/metaboxes/tabs/tab_header.php on line 83

Regards

April 3, 2024 unter 11:07 am #15477651

Bruno Kos
Supporter

Sprachen: Englisch (English ) Deutsch (Deutsch ) Französisch (Français )

Zeitzone: Europe/Zagreb (GMT+01:00)

Can you install String Translation?
versteckter Link

I believe this to be the same issue as https://wpml.org/forums/topic/spanish-translation-has-vanished-only-blank-page-appears/page/2/#post-9858729, so something within the Avada translated .po file.

I need String Translation so I could scan the translation files and see about this string there.

April 3, 2024 unter 11:40 am #15477780

carinaJ

Thanks! String Translation has been installed.

April 3, 2024 unter 11:51 am #15477898

carinaJ

I uploaded the Avada po file via FTP - now it works. with you, too? Thanks

April 3, 2024 unter 12:07 pm #15478028

Bruno Kos
Supporter

Sprachen: Englisch (English ) Deutsch (Deutsch ) Französisch (Français )

Zeitzone: Europe/Zagreb (GMT+01:00)

Yes, I can confirm that versteckter Link works for me as well.