Tagged: 4.2, register_sidebar, wordpress
-
AuthorPosts
-
April 25, 2015 at 10:19 am #434656
after upgrade to wordpress 4.2 i have some errors:
Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the “Displayed Everywhere” 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 /home2/ikexpert/public_html/3dstudio/wp-includes/functions.php on line 3560
Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the “Sidebar Blog” 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 /home2/ikexpert/public_html/3dstudio/wp-includes/functions.php on line 3560
Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the “Sidebar Pages” 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 /home2/ikexpert/public_html/3dstudio/wp-includes/functions.php on line 3560
Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the “Footer – column1” 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 /home2/ikexpert/public_html/3dstudio/wp-includes/functions.php on line 3560
Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home2/ikexpert/public_html/3dstudio/wp-includes/functions.php:3560) in /home2/ikexpert/public_html/3dstudio/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 32
But i dont have register_sidebar() function in functions.php
How do I fix this?April 25, 2015 at 4:05 pm #434713I have exactly the same problem. Would like to know the solution as well. Thank you.
Update: so since WordPress 4.2 is pushing this message as a notice, you can turn it off if you disable debug mode.
Add this to your wp-config.php
define('WP_DEBUG', false);
But the real solution is to add an id to the register_sidebar functions.
https://wordpress.org/support/topic/error-after-updating-to-42It would be nice if the kriesi.at crew would fix this asap :)
- This reply was modified 9 years, 6 months ago by envis.
April 26, 2015 at 7:11 pm #434900!!!! How i can fixed it !! Your theme not working after upgrade WP 4.2 ??????????????????????????
April 27, 2015 at 12:14 am #434932I’m getting a similar thing with a header warning at end.
Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the “Displayed Everywhere” 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 /home/content/30/7792830/html/wp-includes/functions.php on line 3560
Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the “Sidebar Blog” 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 /home/content/30/7792830/html/wp-includes/functions.php on line 3560
Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the “Sidebar Pages” 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 /home/content/30/7792830/html/wp-includes/functions.php on line 3560
Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the “Footer – column1” 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 /home/content/30/7792830/html/wp-includes/functions.php on line 3560
Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the “Footer – column2” 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 /home/content/30/7792830/html/wp-includes/functions.php on line 3560
Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the “Forum” sidebar. Defaulting to “sidebar-6”. Manually set the id to “sidebar-6” 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 /home/content/30/7792830/html/wp-includes/functions.php on line 3560
Warning: Cannot modify header information – headers already sent by (output started at /home/content/30/7792830/html/wp-includes/functions.php:3560) in /home/content/30/7792830/html/wp-includes/pluggable.php on line 1196
I can see my website but I can’t access my site, please advise.
April 27, 2015 at 6:55 am #435039Why support ignores this problem ???
April 27, 2015 at 8:05 pm #435557Hi!
Please go to Enfold/includes/admin folder and open register-widget-area.php file and change the content with following one – http://pastebin.com/S1w39teR
Then go to Enfold/config-bbpress and open config.php file and change the content with following – http://pastebin.com/T2R4ebXvBest regards,
Yigit- This reply was modified 9 years, 6 months ago by Yigit.
April 28, 2015 at 5:23 am #435777Works great now! Thanks a bunch!
April 28, 2015 at 2:56 pm #436059 -
AuthorPosts
- You must be logged in to reply to this topic.