Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   New Versions, & Updating (http://forum.bytesforall.com/forumdisplay.php?f=12)
-   -   [SOLVED] 'Register_sidebar' error after updating to latest version of wordpress (http://forum.bytesforall.com/showthread.php?t=23184)

msg-meteorites May 10, 2015 04:52 AM

[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

juggledad May 10, 2015 09:24 AM

Try swapping to twenty-fifteen then swapping back to Atahualpa
What version of atahualpa?

msg-meteorites May 10, 2015 12:40 PM

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

juggledad May 10, 2015 05:22 PM

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);
and changing it to
HTML Code:

define('WP_DEBUG', false);
This will be addressed in a future release.

msg-meteorites May 11, 2015 02:51 AM

Thank you very much, that sorted it instantly. Much appreciated :-)

Cheers

Martin

juggledad May 11, 2015 06:43 PM

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.