[wp-trac] [WordPress Trac] #51729: "Uncaught TypeError: is_file(): Argument #1 ($filename) must be of type string, array given" when using the 'mce_external_languages' filter

WordPress Trac noreply at wordpress.org
Tue Nov 10 09:16:04 UTC 2020


#51729: "Uncaught TypeError: is_file(): Argument #1 ($filename) must be of type
string, array given" when using the 'mce_external_languages' filter
--------------------------+----------------------
 Reporter:  BackuPs       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Editor        |     Version:
 Severity:  normal        |  Resolution:  invalid
 Keywords:  php8          |     Focuses:
--------------------------+----------------------

Comment (by ayeshrajans):

 Thanks a lot for the detailed explanation @jrf. I didn't realize the `@`
 suppression operator there.

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


More information about the wp-trac mailing list