How to Fix Error Suffusion Theme ‘suffusion_mega_menu_walker’
How to Fix Error Suffusion Theme ‘suffusion_mega_menu_walker’ https://jesandy.com/wp-content/uploads/2013/01/fixerror.jpg 410 307 Jesandy Krisano https://jesandy.com/wp-content/uploads/2013/01/fixerror.jpg
Suffusion is one of the best theme i ever used but when download some plugin on, get this error on the site back end.
Warning: call_user_func_array() [
function.call-user-func-array
]: First argument is expected to be a valid callback, ‘suffusion_mega_menu_walker’ was given in /home/sitename/public_html/sitesubname/wp-includes/plugin.php on line 170
Sites front end still working well, but the warning just keep appears on the backend
How to fix error Suffusion mega menu:
>> go to your FTP >> go to your Suffusion theme folder >> open: functions.php line 213 >> and locate this function
if (current_theme_supports('mega-menus')) {
add_filter('walker_nav_menu_start_el', 'suffusion_mega_menu_walker', 10, 4);
}Replace with
if (current_theme_supports('mega-menus') && !is_admin()) {
add_filter('walker_nav_menu_start_el', 'suffusion_mega_menu_walker', 10, 4);
}hope it will fix yours
Check on 6 Best Wedding Website Layouts and Design – I know this Suffusion theme no longer update, but back in 2013, when I first shared a list of wedding website layouts, the focus was mostly on full layouts that looked pretty on screen, big fullscreen photos, looping background music, maybe a slideshow if you wanted to impress. It was all about aesthetic impact
Leave a Reply