[wp-trac] [WordPress Trac] #51572: PHP Warning - wp-admin

WordPress Trac noreply at wordpress.org
Tue Oct 20 18:36:08 UTC 2020


#51572: PHP Warning - wp-admin
--------------------------+----------------------
 Reporter:  somethumb     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  5.5.1
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by sabernhardt):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Old description:

> Warning: Invalid argument supplied for foreach() in
> /home/stcnet/public_html/afdp/wp-admin/includes/plugin.php on line 1769

New description:

 Warning: Invalid argument supplied for foreach() in /.../wp-
 admin/includes/plugin.php on line 1769

--

Comment:

 Hi @somethumb !

 That error has been reported for several plugins in the support forums.
 https://wordpress.org/search/Invalid+argument+supplied+for+foreach()+in+plugin.php?in=support_forums

 Try deactivating each plugin until you find which one is causing the error
 message, and then you can create a topic in the support forum for that
 plugin. If it still shows the message with no active plugins, you could
 try switching the theme to Twenty Twenty.

 Here's the link to all support forums if you need help:
 https://wordpress.org/support/forums/

 I'm closing the ticket here because it should not be a core bug. If
 deactivating plugins and switching the theme does not remove the error, or
 if someone on the support forums identifies a related core bug, please
 reopen this ticket.

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


More information about the wp-trac mailing list