[wp-trac] [WordPress Trac] #55411: Deprecated error in WordPress 5.9 on PHP 8.1

WordPress Trac noreply at wordpress.org
Thu Mar 17 10:18:43 UTC 2022


#55411: Deprecated error in WordPress 5.9 on PHP 8.1
---------------------------+-----------------------------
 Reporter:  meysamnorouzi  |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  General        |    Version:  5.9.2
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type
 string is deprecated in /opt/lampp/htdocs/wp/wp-includes/block-
 supports/layout.php on line 167

 Deprecated: setcookie(): Passing null to parameter #5 ($domain) of type
 string is deprecated in /opt/lampp/htdocs/wp/wp-includes/option.php on
 line 1109

 Deprecated: setcookie(): Passing null to parameter #5 ($domain) of type
 string is deprecated in /opt/lampp/htdocs/wp/wp-includes/option.php on
 line 1110

 Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string
 is deprecated in /opt/lampp/htdocs/wp/wp-includes/formatting.php on line
 2761

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


More information about the wp-trac mailing list