Register Advertise with usHelp Desk Today's Posts Search

Thread Tools Search this Thread
Unread 7th Dec 2018, 11:55 PM   #1
HyperActive Warrior
War Room Member
 
Join Date: 2011
Location: San Antonio, TX
Posts: 271
Thanks: 43
Thanked 29 Times in 20 Posts
Default
Wordpress Error When Trying to Load Site
Share on: 
fb share twitter share gplus share more share

Hi,


I just recently updated plugins on my WP site. I may have also updated to WP 5.0. Now, I get this error:


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/walnaweb09a/b1544/pow.airindia/htdocs/optimallife/wp-includes/functions.php on line 4169 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/walnaweb09a/b1544/pow.airindia/htdocs/optimallife/wp-includes/functions.php on line 4169 Notice: add_custom_background is
deprecated
since version 3.4.0! Use add_theme_support( 'custom-background', $args ) instead. in /hermes/walnaweb09a/b1544/pow.airindia/htdocs/optimallife/wp-includes/functions.php on line 3861 Deprecated: Non-static method GoogleSitemapGeneratorLoader::Enable() should not be called statically in /hermes/walnaweb09a/b1544/pow.airindia/htdocs/optimallife/wp-includes/class-wp-hook.php on line 284 Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnaweb09a/b1544/pow.airindia/htdocs/optimallife/wp-includes/functions.php:4169) in /hermes/walnaweb09a/b1544/pow.airindia/htdocs/optimallife/wp-includes/pluggable.php on line 1223





My web hosting provider said it's a script error. Please heeeelllllP!

im1217 is offline   Reply With Quote
Unread 10th Dec 2018, 01:02 PM   #2
Advanced Warrior
War Room Member
 
micksss's Avatar
 
Join Date: 2008
Location: New England
Posts: 753
Thanks: 89
Thanked 100 Times in 93 Posts
Default
Re: Wordpress Error When Trying to Load Site
Share on: 
fb share twitter share gplus share more share

Do you have a recent backup you can restore from?

Web Hosting Reviews ► www.CastironHosting.com ◄ Read or Submit Feedback on Web Hosts.
Web Hosting Coupons, Deals & Promos!

Need a Virtual Private Server? www.VPSPlan.com
micksss is offline   Reply With Quote
Unread 10th Dec 2018, 03:14 PM   #3
HyperActive Warrior
War Room Member
 
Join Date: 2011
Location: San Antonio, TX
Posts: 271
Thanks: 43
Thanked 29 Times in 20 Posts
Default
Re: Wordpress Error When Trying to Load Site
Share on: 
fb share twitter share gplus share more share

How do I find the backup in my web hosting service? Does it automatically back it up? I think I had a plug-in that would backup my files.

im1217 is offline   Reply With Quote
Unread 12th Dec 2018, 04:11 PM   #4
Active Warrior
 
Join Date: 2015
Location: Kherson, Ukraine
Posts: 42
Thanks: 0
Thanked 8 Times in 8 Posts
Default
Re: Wordpress Error When Trying to Load Site
Share on: 
fb share twitter share gplus share more share

Hi im1217, you need to find in your theme all the functions "register_sidebar" and add "id" for it.

for example:

register_sidebar(
array(
'name' => 'sidebar',
'description' => '',
'before_widget' => '<div id="%1$s" class="side widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>'
)
)


had to changed like it:

register_sidebar(
array(
'id' => 'sidebar_1',
'name' => 'sidebar',
'description' => '',
'before_widget' => '<div id="%1$s" class="side widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>'
)
)
wordpress+expert is offline   Reply With Quote
Unread 14th Dec 2018, 02:41 AM   #5
Web Development Company
 
Join Date: 2017
Location: Ahmedabad
Posts: 79
Thanks: 0
Thanked 8 Times in 8 Posts
Default
Re: Wordpress Error When Trying to Load Site
Share on: 
fb share twitter share gplus share more share

You can search for a relevant solution from google. there are you can find a very much proper answer.
ncodetech is offline   Reply With Quote
Unread 21st Dec 2018, 12:54 AM   #6
Web Development Company
 
Join Date: 2017
Location: Ahmedabad
Posts: 79
Thanks: 0
Thanked 8 Times in 8 Posts
Default
Re: Wordpress Error When Trying to Load Site
Share on: 
fb share twitter share gplus share more share

It is because of the new WordPress version arrives in the market. So there may affect some plugin so that plugin not working properly.
ncodetech is offline   Reply With Quote
Unread 28th Dec 2018, 12:36 AM   #7
Yash Parmar
 
parmarjeet's Avatar
 
Join Date: 2012
Location: India
Posts: 193
Thanks: 17
Thanked 30 Times in 25 Posts
Default
RE: Wordpress Error When Trying to Load Site
Share on: 
fb share twitter share gplus share more share

One or 2 of your plugins may not be updated according to the latest WordPress 5.0. This will obviously give you error. Either deactivate that plugin or downgrade your Wordpress back to older version.

Free SEO Academy: Access over-the-shoulder video tutorials to crush Google and AI
parmarjeet is offline   Reply With Quote
Unread 28th Dec 2018, 03:23 PM   #8
HyperActive Warrior
War Room Member
 
Join Date: 2011
Location: San Antonio, TX
Posts: 271
Thanks: 43
Thanked 29 Times in 20 Posts
Default
Re: Wordpress Error When Trying to Load Site
Share on: 
fb share twitter share gplus share more share

Where in the theme editor do I find this?


Originally Posted by wordpress+expert View Post

Hi im1217, you need to find in your theme all the functions "register_sidebar" and add "id" for it.

for example:

register_sidebar(
array(
'name' => 'sidebar',
'description' => '',
'before_widget' => '<div id="%1$s" class="side widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>'
)
)


had to changed like it:

register_sidebar(
array(
'id' => 'sidebar_1',
'name' => 'sidebar',
'description' => '',
'before_widget' => '<div id="%1$s" class="side widget %2$s">',
'after_widget' => '</div>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>'
)
)
im1217 is offline   Reply With Quote
Unread 28th Dec 2018, 03:25 PM   #9
HyperActive Warrior
War Room Member
 
Join Date: 2011
Location: San Antonio, TX
Posts: 271
Thanks: 43
Thanked 29 Times in 20 Posts
Default
Re: Wordpress Error When Trying to Load Site
Share on: 
fb share twitter share gplus share more share

How do I know which plugins are causing the problem?

Also, how to downgrade my WP version?



Originally Posted by parmarjeet View Post

One or 2 of your plugins may not be updated according to the latest WordPress 5.0. This will obviously give you error. Either deactivate that plugin or downgrade your Wordpress back to older version.
im1217 is offline   Reply With Quote
Unread 23rd Jan 2019, 10:00 PM   #10
Svetoslav Marinov (SLAVI)
 
Join Date: 2011
Posts: 211
Thanks: 20
Thanked 27 Times in 26 Posts
Default
Re: Wordpress Error When Trying to Load Site
Share on: 
fb share twitter share gplus share more share

contact the theme author

Are you using WordPress? Have you tried qSandbox yet?
lordspace is offline   Reply With Quote


Bookmarks

Tags
error, load, site, wordpress


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 08:13 PM.