Title: Invalid argument supplied for foreach()
Last modified: February 8, 2021

---

# Invalid argument supplied for foreach()

 *  Resolved [GreatWarlord](https://wordpress.org/support/users/6x7/)
 * (@6x7)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/api-error-60/)
 * I’ve got an error with 1.7.5:
 * In admin and on the site:
    Warning: Invalid argument supplied for foreach() in/
   home/oproer/public_html/site/wp-content/plugins/better-font-awesome/vendor/mickey-
   kay/better-font-awesome-library/better-font-awesome-library.php on line 875
 * In admin:
 * > Better Font Awesome
   > API Error
   >  The attempt to reach the jsDelivr API server failed with the following
   > error: 404: Not Found (URL: [https://cdn.jsdelivr.net/gh/FortAwesome/Font-Awesome@5.15.2/advanced-options/metadata/icons.yml](https://cdn.jsdelivr.net/gh/FortAwesome/Font-Awesome@5.15.2/advanced-options/metadata/icons.yml))
   > Don’t worry! Better Font Awesome will still render using the included fallback
   > version: 4.7.0
   > Solution
   >  Dit kan het gevolg zijn van een tijdelijk server- of verbindingsprobleem
   > dat binnenkort zal worden opgelost. Als het probleem zich blijft voordoen, 
   > dien dan een ondersteuningsticket in op het plugin forum, onder verwijzing 
   > naar de hierboven vermelde fouten.
    -  This topic was modified 5 years, 3 months ago by [GreatWarlord](https://wordpress.org/support/users/6x7/).

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Mickey Kay](https://wordpress.org/support/users/mcguive7/)
 * (@mcguive7)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/api-error-60/#post-14017650)
 * Ah shoot, I didn’t catch this. Thanks for the heads up. I’ve rolled back to v1.7.4
   as the latest stable release. I’ll do my best to get a fix in ASAP. Thanks again
   for your patience (I’m doing my best to get to this between my full-time job 
   and parenting our 6-month old baby).
 *  Thread Starter [GreatWarlord](https://wordpress.org/support/users/6x7/)
 * (@6x7)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/api-error-60/#post-14017882)
 * Take care. I also rolled back, but the error was still there.
 *  [cc007](https://wordpress.org/support/users/cc007/)
 * (@cc007)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/api-error-60/#post-14129204)
 * Warning: Inv-awesome/vendor/mickey-kay/better-font-awesome-library/better-font-
   awesome-library.php on line 875
 * can you delate this error??????
    -  This reply was modified 5 years, 3 months ago by [cc007](https://wordpress.org/support/users/cc007/).
 *  Plugin Author [Mickey Kay](https://wordpress.org/support/users/mcguive7/)
 * (@mcguive7)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/api-error-60/#post-14129426)
 * Which version of the plugin are you using?
 *  Plugin Author [Mickey Kay](https://wordpress.org/support/users/mcguive7/)
 * (@mcguive7)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/api-error-60/#post-14164966)
 * Marking as resolved. Please see [https://wordpress.org/support/topic/2-0-1-released-fixes-hard-coded-missing-v4-icons/](https://wordpress.org/support/topic/2-0-1-released-fixes-hard-coded-missing-v4-icons/)
   for all the details.
 * Thanks again!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Invalid argument supplied for foreach()’ is closed to new replies.

 * ![](https://ps.w.org/better-font-awesome/assets/icon-256x256.png?rev=1186438)
 * [Better Font Awesome](https://wordpress.org/plugins/better-font-awesome/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-font-awesome/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-font-awesome/)
 * [Active Topics](https://wordpress.org/support/plugin/better-font-awesome/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-font-awesome/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-font-awesome/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Mickey Kay](https://wordpress.org/support/users/mcguive7/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/api-error-60/#post-14164966)
 * Status: resolved