register_my_menus warning
-
I just transferred a WP site that I am building to the localhost of my new computer. Everything was working fine on my old computer, but now I am receiving this warning message:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'register_my_menus' not found or invalid function name in C:\xampp\htdocs\j--------i\wordpress\wp-includes\plugin.php on line 406
Here’s line 406 from plugin.php:
call_user_func_array($the_['function'], array_slice($args, 0, (int) $the_['accepted_args']));
Also, further down the page, I see this warning:
Warning: Missing argument 1 for ResponsiveColumnWidgets(), called in C:\xampp\htdocs\j--------i\wordpress\wp-content\themes\blankslate\footer.php on line 5 and defined in C:\xampp\htdocs\j--------i\wordpress\wp-content\plugins\responsive-column-widgets\responsive-column-widgets.php on line 137
Here’s footer.php line 5:
<div id="footer-widgets"><?php ResponsiveColumnWidgets(); ?></div>
And here’s resonsive-column-widgets.php line 137:
function ResponsiveColumnWidgets( $arrParams ) {
I know very little of PHP so I would really appreciate help. Thanks.
- The topic ‘register_my_menus warning’ is closed to new replies.