[wp-trac] [WordPress Trac] #56010: apache_mod_loaded returns fatal TypeError in some environments with PHP 8

WordPress Trac noreply at wordpress.org
Mon Jun 20 18:27:39 UTC 2022


#56010: apache_mod_loaded returns fatal TypeError in some environments with PHP 8
----------------------------+---------------------
 Reporter:  engahmeds3ed    |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  6.1
Component:  General         |     Version:
 Severity:  major           |  Resolution:
 Keywords:  php8 has-patch  |     Focuses:
----------------------------+---------------------

Comment (by engahmeds3ed):

 Amazing as usual!

 You are totally right, returning null was the host's problem and this
 shouldn't be the case we rely on in CORE.
 falling back to the phpinfo solution will fix the issue and return the
 real expected value.

 Thanks

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


More information about the wp-trac mailing list