[wp-trac] [WordPress Trac] #55119: Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /home/peoplesofthesalmon/public_html/wp-includes/block-supports/layout.php on line 167

WordPress Trac noreply at wordpress.org
Thu Apr 6 13:49:35 UTC 2023


#55119: Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type
string is deprecated in /home/peoplesofthesalmon/public_html/wp-includes
/block-supports/layout.php on line 167
-----------------------------+------------------------------
 Reporter:  oneearth27       |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Editor           |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  php81 has-patch  |     Focuses:
-----------------------------+------------------------------

Comment (by hellofromTonya):

 >Running WP 5.9 and upon visiting the website, am now getting several
 repetitions of the same message:
 >`Deprecated: preg_match(): Passing null to parameter #2 ($subject) of
 type string is deprecated in /home/peoplesofthesalmon/public_html/wp-
 includes/block-supports/layout.php on line 167`

 [comment:4 As @ramonopoly noted], this was fixed via [53420] / #55567,
 which included [https://github.com/WordPress/gutenberg/pull/39927
 Gutenberg PR 39927].

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


More information about the wp-trac mailing list