[wp-trac] [WordPress Trac] #60003: PHP error in wp_match_mime_types()

WordPress Trac noreply at wordpress.org
Tue Jan 2 18:23:30 UTC 2024


#60003: PHP error in wp_match_mime_types()
-------------------------------------------------+-------------------------
 Reporter:  argaliano15                          |       Owner:  pbearne
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  General                              |     Version:  6.4
 Severity:  normal                               |  Resolution:
 Keywords:  reporter-feedback has-patch has-     |     Focuses:
  unit-tests                                     |
-------------------------------------------------+-------------------------

Comment (by pbearne):

 Replying to [comment:9 argaliano15]:
 > Another one:
 >
 > error generated from wp_get_attachment_metadata:
 >
 > "PHP Deprecated:  Automatic conversion of false to array is deprecated
 in ..."
 >
 > Apparently, ALL implicit type conversions are now deprecated. At this
 point, it is hard to guess what is coming. This is much worse than just
 the string conversion bug I reported earlier. Millions of lines of code
 will have to be checked and re-written. There aren't enough programmers on
 the planet. This is either breathtaking academic stupidity or a deliberate
 plan to take down the internet.
 >
 > And once again, I will say that moving all these checks and conversions
 from compiled code to interpreted code is not going to make anything
 faster or safer. The people in charge of php are idiots, and this is
 getting scary.
 >
 > Am I the only person who monitors error logs?

 Was this error with the patch installed?
 If so do you know what the parms passed were?

 Paul

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


More information about the wp-trac mailing list