Tagged: theme error
Hi
My website, that is in development and hosted with WP Engine is not accessible. WP Engine support have activated another theme for me so I can login.
The error is with the theme:
PHP Fatal error: Cannot redeclare wpmlsupp_ls_patch() (previously declared in /nas/content/live/surmespieds/wp-content/themes/enfold-child/functions.php:138) in /nas/content/live/surmespieds/wp-content/themes/enfold/functions-enfold.php on line 1799
They tell me that I need to correct the theme to resolve this issue.
Can you please have a look ASAP because I’m getting to launch by the 29th.
I have added website access, FTP and WP Admin login credentials in the private area.
My website URL is: http://surmespieds.com
Thank you
Lyse
Hi tremblayly!
FTP logins are not working for me.
I have edited functions.php file of your child theme and updated following code
add_action('init', 'wpmlsupp_ls_patch_new');
function wpmlsupp_ls_patch_new() {
remove_filter( 'wp_nav_menu_items', 'avia_append_lang_flags', 20, 2 );
remove_filter( 'avf_fallback_menu_items', 'avia_append_lang_flags', 20, 2 );
}
Please try activating child theme now and if that does not work, please check FTP logins once again.
Cheers!
Yigit
Hi Yigit,
Sorry, FTP username is: surmespieds-KriesiSupport
That worked perfectly! You are awesome and thank you for being so prompt at responding!
Have a great day!
Lyse