Title: PHP7 Error
Last modified: February 21, 2017

---

# PHP7 Error

 *  Resolved [ollihb](https://wordpress.org/support/users/ollihb/)
 * (@ollihb)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/php7-error-10/)
 * My PHP Error-Log is full of:
 * PHP Warning: Invalid argument supplied for foreach() in wp-content/plugins/lightbox/
   lightbox.php on line 210

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

 *  [mariosagathokleous](https://wordpress.org/support/users/mariosagathokleous/)
 * (@mariosagathokleous)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/php7-error-10/#post-8869775)
 * Mine too!
 *  [huge-it-support-1](https://wordpress.org/support/users/huge-it-support-1/)
 * (@huge-it-support-1)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/php7-error-10/#post-8873258)
 * Dear ollihb and mariosagathokleous,
 * Thank you for contacting us.
    Please, be kindly informed that this kind of error
   is connected with PHP version or the database. Kindly asking you to send us an
   email to info [at] huge-it.com so that our specialists could check what the issue
   is and fix it. Looking forward to hearing from you soon. In the case of other
   questions, please, let us know. Thank you.
    -  This reply was modified 9 years, 3 months ago by [huge-it-support-1](https://wordpress.org/support/users/huge-it-support-1/).
 *  [feniksdv](https://wordpress.org/support/users/feniksdv/)
 * (@feniksdv)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php7-error-10/#post-9091256)
 * I also, on PHP 7.
    [error] 1142#1142: *630067 fastcgi sent in stderr: “PHP message:
   PHP warning: invalid argument supplied for foreach() in /var/www/27sysday.ru/
   data/www/27sysday.ru/wp-content/plugins/lightbox/lightbox.php line 211” while
   reading response header from upstream, client: 85.25.43.151, server: 27sysday.
   ru request: “post /wp-admin/admin-ajax.php http/1.1”, upstream: “fastcgi://environment
   in/var/www/PHP-FPM/feniksdv.sock:”, host: “27sysday.ru”, referrer: “[http://27sysday.ru/kak-ustanovit-videokartu/&#8221](http://27sysday.ru/kak-ustanovit-videokartu/&#8221);
 *  [huge-it-support-1](https://wordpress.org/support/users/huge-it-support-1/)
 * (@huge-it-support-1)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php7-error-10/#post-9103050)
 * Dear feniksdv,
 * Thank you for contacting us.
    According to the warning you have, the image descriptions
   are empty and “foreach” is empty (**foreach()**) and this causes the issue? You
   can send us an email to info [at] huge-it.com, we will be happy to assist you
   in solving the issue you have.
 * Please, include this forum link in your email as well.
    Regards

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

The topic ‘PHP7 Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/lightbox_2d8f90.svg)
 * [Lightbox](https://wordpress.org/plugins/lightbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/lightbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/lightbox/)
 * [Active Topics](https://wordpress.org/support/plugin/lightbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/lightbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/lightbox/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [huge-it-support-1](https://wordpress.org/support/users/huge-it-support-1/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/php7-error-10/#post-9103050)
 * Status: resolved