[wp-trac] [WordPress Trac] #48599: Warning: count(): Parameter must be an array or an object that implements Countable in ../wp-admin/includes/plugin.php on line 1392
WordPress Trac
noreply at wordpress.org
Thu Nov 14 12:23:20 UTC 2019
#48599: Warning: count(): Parameter must be an array or an object that implements
Countable in ../wp-admin/includes/plugin.php on line 1392
----------------------------+---------------------
Reporter: ispreview | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.3.1
Component: Administration | Version: 5.3
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: ui
----------------------------+---------------------
Comment (by ispreview):
It's been found that disabling the "NextScripts: Social Networks Auto-
Poster" plugin stops this warning. According to the author of that plugin:
"Interesting enough, it’s not our bug. WordPress broke something in the
add_submenu_page() function. It gives this warning if the last optional
parameter is provided."
Apparently a temporary fix will be introduced in the next plugin release,
although WordPress still needs to fix the underlying issue.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48599#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list