[wp-trac] [WordPress Trac] #47774: PHP 7.2 > Warning: count(): Parameter must be an array or an object that implements Countable in .../wp-admin/user-edit.php on line 285
WordPress Trac
noreply at wordpress.org
Thu Aug 1 14:42:03 UTC 2019
#47774: PHP 7.2 > Warning: count(): Parameter must be an array or an object that
implements Countable in .../wp-admin/user-edit.php on line 285
-----------------------------------------+------------------------------
Reporter: denismack | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: 5.2.2
Severity: normal | Resolution: invalid
Keywords: has-patch reporter-feedback | Focuses:
-----------------------------------------+------------------------------
Changes (by denismack):
* status: new => closed
* resolution: => invalid
Comment:
Replying to [comment:1 jorbin]:
> Can you provide steps to reproduce this? Using a stock install of
WordPress, I'm unable to replicate it. It would appear as though a piece
of custom code is overriding the global variable `$_wp_admin_css_colors`
and that is causing the notice for you.
>
You're right. It's a plugin error while overwriting the `$
_wp_admin_css_colors` global variable.
Thank you @jorbin
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47774#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list