Title: Plugin throws PHP error
Last modified: July 18, 2021

---

# Plugin throws PHP error

 *  [kendawes](https://wordpress.org/support/users/kendawes/)
 * (@kendawes)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/plugin-throws-php-error/)
 * Hi!
    I’m getting the following PHP error…
 * [18-Jul-2021 16:54:48 UTC] PHP Warning: Invalid argument supplied for foreach()
   in /home/path/wp-content/plugins/responsive-lightbox/responsive-lightbox.php 
   on line 568
 * The error appears to have started after the 2.3 or 2.3.1 update.
 * My site is running PHP 7.4
 * Please correct the error and update the plugin soon!
 * Thanks!

The topic ‘Plugin throws PHP error’ is closed to new replies.

 * ![](https://ps.w.org/responsive-lightbox/assets/icon-256x256.png?rev=3460874)
 * [Responsive Lightbox & Gallery](https://wordpress.org/plugins/responsive-lightbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/responsive-lightbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/responsive-lightbox/)
 * [Active Topics](https://wordpress.org/support/plugin/responsive-lightbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/responsive-lightbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/responsive-lightbox/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [kendawes](https://wordpress.org/support/users/kendawes/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/plugin-throws-php-error/)
 * Status: not resolved