[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 (was: PHP 8.0 issue)
WordPress Trac
noreply at wordpress.org
Sun Nov 8 17:30:17 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: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: trunk
Severity: normal | Resolution:
Keywords: php8 | Focuses:
--------------------------+------------------------------
Changes (by SergeyBiryukov):
* component: General => Editor
Old description:
> Hi
>
> Is wordpress latest beta php 8.0 compatible as i am getting a fatal error
> what used to work perfect in php 7.4 or before
>
> https://share.getcloudapp.com/P8uyPYw4?utm_source=show
>
> Fatal error: Uncaught TypeError: is_file(): Argument #1 ($filename) must
> be of type string, array given in /var/docs/wpdemo.tst/public/wp-includes
> /class-wp-editor.php on line 489
> ( ! ) TypeError: is_file(): Argument #1 ($filename) must be of type
> string, array given in /var/docs/wpdemo.tst/public/wp-includes/class-wp-
> editor.php on line 489
New description:
Hi
Is wordpress latest beta php 8.0 compatible as i am getting a fatal error
what used to work perfect in php 7.4 or before
https://share.getcloudapp.com/P8uyPYw4?utm_source=show
{{{
Fatal error: Uncaught TypeError: is_file(): Argument #1 ($filename) must
be of type string, array given in /var/docs/wpdemo.tst/public/wp-includes
/class-wp-editor.php on line 489
( ! ) TypeError: is_file(): Argument #1 ($filename) must be of type
string, array given in /var/docs/wpdemo.tst/public/wp-includes/class-wp-
editor.php on line 489
}}}
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51729#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list