Overview of the Issue
When using the Avada theme alongside WPML, users will encounter an issue while trying to reset the Avada caches through the theme’s options panel in secondary languages. Specifically, the action doesn’t execute as expected and triggers a ”403 Forbidden” error displayed in the browser console.
Workaround
This issue is fixed in Avada 7.11.3. Updating solves it on your site, so you only need this workaround if you can’t update yet.
Please, make sure of having a full backup of your site before proceeding.
- Open /wp-content/themes/Avada/includes/lib/inc/class-fusion-fusionredux.php file.
- Look for line 1537.
- Change:
check_ajax_referer( 'fusionredux_ajax_noncefusion_options', 'nonce' );
- For
// Get default language. $default_language = Fusion_Multilingual::get_default_language(); // Get current language $current_language = apply_filters('wpml_current_language', NULL); if ($current_language !== $default_language) { check_ajax_referer('fusionredux_ajax_noncefusion_options_' . $current_language . '', 'nonce'); } // Check English or All languages if ('' === $current_language || 'en' === $current_language) { check_ajax_referer('fusionredux_ajax_noncefusion_options', 'nonce'); }
Still Seeing This Issue?
If updating doesn’t fix it, ask a support question and we’ll look into it with you.
Ask a support question