[wp-trac] [WordPress Trac] #58176: when using php8.0 error: call_user_func_array(): Argument #1 ($callback) must be a valid callback...
WordPress Trac
noreply at wordpress.org
Mon Apr 24 18:49:13 UTC 2023
#58176: when using php8.0 error: call_user_func_array(): Argument #1 ($callback)
must be a valid callback...
--------------------------+------------------------
Reporter: urseetaeler | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Widgets | Version: 6.2
Severity: blocker | Resolution: duplicate
Keywords: php8 | Focuses:
--------------------------+------------------------
Changes (by SergeyBiryukov):
* status: reopened => closed
* resolution: => duplicate
* milestone: Awaiting Review =>
Comment:
Replying to [comment:2 urseetaeler]:
> When I eleminated the MiniMeta Widget, with php8.0 another error
disabled my website:
>
> {{{
> ArgumentCountError thrown
>
> Too few arguments to function WP_Widget::__construct(), 0 passed in wp-
includes/class-wp-widget-factory.php on line 62 and at least 2 expected
> }}}
Thanks for the report! We're already tracking this issue in #56127.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58176#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list