[wp-trac] [WordPress Trac] #36277: 4.4.2 using constructor method for WP_Widget deprecated since 4.3.0

WordPress Trac noreply at wordpress.org
Sun Mar 20 01:36:10 UTC 2016


#36277: 4.4.2 using constructor method for WP_Widget deprecated since 4.3.0
--------------------------+----------------------
 Reporter:  jcrasco       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Editor        |     Version:  4.4.2
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by dd32):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 The errors you're seeing are not caused by WordPress, rather it's caused
 by a plugin you're running and theme.

 You'll need to update the Yoast SEO premium plugin, or contact them to
 file a bug report. The notices generated by the theme are only deprecated
 warnings, which you don't really need to worry about.

 For the reference of others, the errors within the originally attached
 file were:
 {{{

 Notice: register_sidebar was called incorrectly. No id was set in the
 arguments array for the "Why Valence" 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
 /srv/www/htdocs/wp-includes/functions.php on line 3792

 N o t i c e :   T h e   c a l l e d   c o n s t r u c t o r   m e t h o d 
  f o r   W P _ W i d g e t   i s   d e p r e c a t e d   s i n c e 
  v e r s i o n   4 . 3 . 0 !   U s e   _ _ c o n s t r u c t ( ) 
  i n s t e a d .   i n 
  / s r v / w w w / h t d o c s / w p - i n c l u d e s / f u n c t i o n s . p h p 
  o n   l i n e   3 6 2 4 

  F a t a l   e r r o r :   C a n n o t   i n s t a n t i a t e 
  a b s t r a c t   c l a s s 
  W P S E O _ R e d i r e c t _ M a n a g e r   i n 
  / s r v / w w w / h t d o c s / w p - c o n t e n t / p l u g i n s / w o r d p r e s s - s e o - p r e m i u m / p r e m i u m / c l a s s e s  / c l a s s - p o s t - s l u g - w a t c h e r . p h p 
  o n   l i n e   4 8
 }}}

 This Trac is for reporting bugs within WordPress itself, and not plugins,
 as such I'm marking this as invalid.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36277#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list