Title: Error_log PHP Warning: Invalid argument supplied
Last modified: November 22, 2022

---

# Error_log PHP Warning: Invalid argument supplied

 *  Resolved [lencw](https://wordpress.org/support/users/lencw/)
 * (@lencw)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error_log-php-warning-invalid-argument-supplied/)
 * Get a number of these errors a day, started late September.
    I have tried the
   usual turning off plugins to see about conflicts, nothing changes, so looks like
   a core Spectra error. Can you please look into this.
 * Litespeed server, PHP 7.4.
 * [22-Nov-2022 01:10:18 UTC] PHP Warning: Invalid argument supplied for foreach()
   in /home/beautifulgardenb/public_html/wp-content/plugins/ultimate-addons-for-
   gutenberg/classes/class-uagb-front-assets.php on line 121

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

 *  [BSF – Judith Pete](https://wordpress.org/support/users/judith0/)
 * (@judith0)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error_log-php-warning-invalid-argument-supplied/#post-16235380)
 * Hello [@lencw](https://wordpress.org/support/users/lencw/),
 * Thanks for writing to us.
 * Please let us know the event that triggered this error so that we can replicate
   on our end as well.
 * Looking forward to hearing from you.
 *  Thread Starter [lencw](https://wordpress.org/support/users/lencw/)
 * (@lencw)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error_log-php-warning-invalid-argument-supplied/#post-16235394)
 * Hi
    Problem is I can’t work out what’s triggering this. It’s happening on all
   websites I have installed it on. Can you give me some idea where to look, what
   might be happening when this triggers, there is a line number in the error message.
   Thanks
 *  [BSF – Judith Pete](https://wordpress.org/support/users/judith0/)
 * (@judith0)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error_log-php-warning-invalid-argument-supplied/#post-16238524)
 * Hello [@lencw](https://wordpress.org/support/users/lencw/),
 * Thanks for writing back.
 * Please try uninstalling the Spectra plugin and delete then install it afresh 
   then activate it. See whether the errors still show after this.
 * If the error still persists, I request, you open a support ticket with us from
   here: [https://wpspectra.com/support/](https://wpspectra.com/support/) so that
   we can help you better.
 * Please let us know how this goes.
 * Regards.
    Judith.
 *  [BSF – Judith Pete](https://wordpress.org/support/users/judith0/)
 * (@judith0)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/error_log-php-warning-invalid-argument-supplied/#post-16314389)
 * Hello [@lencw](https://wordpress.org/support/users/lencw/),
 * It’s been a while since we heard from you. I am going to mark this thread as 
   resolved. Please feel free to open a new thread in case of any other queries.
 * Regards.
 * Judith.

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

The topic ‘Error_log PHP Warning: Invalid argument supplied’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-addons-for-gutenberg/assets/icon-256x256.gif?rev
   =3240412)
 * [Spectra Gutenberg Blocks – Website Builder for the Block Editor](https://wordpress.org/plugins/ultimate-addons-for-gutenberg/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-addons-for-gutenberg/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/reviews/)

## Tags

 * [error_log](https://wordpress.org/support/topic-tag/error_log/)
 * [PHP Warning](https://wordpress.org/support/topic-tag/php-warning/)

 * 4 replies
 * 2 participants
 * Last reply from: [BSF – Judith Pete](https://wordpress.org/support/users/judith0/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/error_log-php-warning-invalid-argument-supplied/#post-16314389)
 * Status: resolved