[SOLVED] 'Register_sidebar' error after updating to latest version of wordpress
After updating to the latest wordpress version i have the following appear on all my pages:
Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the "Left Sidebar" sidebar. Defaulting to "sidebar-1". Manually set the id to "sidebar-1" to silence this notice and keep existing sidebar content. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /hermes/waloraweb018/b1263/moo.msgmeteoritescouk/wp-includes/functions.php on line 3560 Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the "Right Sidebar" sidebar. Defaulting to "sidebar-2". Manually set the id to "sidebar-2" to silence this notice and keep existing sidebar content. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /hermes/waloraweb018/b1263/moo.msgmeteoritescouk/wp-includes/functions.php on line 3560 Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the "Left Inner Sidebar" sidebar. Defaulting to "sidebar-3". Manually set the id to "sidebar-3" to silence this notice and keep existing sidebar content. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /hermes/waloraweb018/b1263/moo.msgmeteoritescouk/wp-includes/functions.php on line 3560 Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the "Right Inner Sidebar" sidebar. Defaulting to "sidebar-4". Manually set the id to "sidebar-4" to silence this notice and keep existing sidebar content. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /hermes/waloraweb018/b1263/moo.msgmeteoritescouk/wp-includes/functions.php on line 3560 Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the "Center Top widget area" sidebar. Defaulting to "sidebar-5". Manually set the id to "sidebar-5" to silence this notice and keep existing sidebar content. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /hermes/waloraweb018/b1263/moo.msgmeteoritescouk/wp-includes/functions.php on line 3560 Any ideas on what has caused this and how to make it go away? I am not a coder at all and am lost as to what to do. Any help much appreciated :-) Cheers Martin |
Try swapping to twenty-fifteen then swapping back to Atahualpa
What version of atahualpa? |
Thanks, just tried that with no difference when i switch back. Disappears on twenty-fifteen but then reappears when i switch back? Running Atahualpa 3.7.23
|
This is a wordpress 'new feature'?? For the longest time sidebars didn't need to use an 'id' when they were being created. As of WP 4.2, they have made it mandatory or they will issue these messages but everyhtning will stil work.
You can get rid of the messages by editing your wp-config.php and changing the line HTML Code:
define('WP_DEBUG', true); HTML Code:
define('WP_DEBUG', false); |
Thank you very much, that sorted it instantly. Much appreciated :-)
Cheers Martin |
created a patch for this see PATCH 3723-02: Notice: register_sidebar was called incorrectly.
|
All times are GMT -6. The time now is 11:29 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.