[wp-trac] [WordPress Trac] #57332: setcookie() not working with null

WordPress Trac noreply at wordpress.org
Thu Dec 15 09:42:42 UTC 2022


#57332: setcookie() not working with null
--------------------------+-----------------------------
 Reporter:  kikanirita    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 After upgrade PHP 8.1+, I cannot pass null value in setcookie().
 I got the error in my site Deprecated: setcookie(): Passing null to
 parameter #2 ($value) of type string is deprecated in...

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57332>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list