Title: PHP Warning
Last modified: February 26, 2017

---

# PHP Warning

 *  Resolved [AYEUNG](https://wordpress.org/support/users/ayeung/)
 * (@ayeung)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/php-warning-118/)
 * after installed gf2pdf 2.1.10 . It shows bellow :
 * **PHP Warning: Invalid argument supplied for foreach() in /…~/plugins/gf2pdf/
   class/gravity_merges.class.php on line 131
    PHP Warning: curl_setopt() expects
   parameter 1 to be resource, null given in /…~/plugins/gf2pdf/class/pdftk-live-
   api-library.php on line 28 PHP Warning: Invalid argument supplied for foreach()
   in /…~/plugins/gf2pdf/includes/gravity_merges_update.php on line 181

The topic ‘PHP Warning’ is closed to new replies.

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

 * 0 replies
 * 1 participant
 * Last reply from: [AYEUNG](https://wordpress.org/support/users/ayeung/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/php-warning-118/)
 * Status: resolved