Title: multiple fatal errors, doesn&#039;t work
Last modified: August 24, 2016

---

# multiple fatal errors, doesn't work

 *  Resolved [kchayka](https://wordpress.org/support/users/kchayka/)
 * (@kchayka)
 * [11 years ago](https://wordpress.org/support/topic/multiple-fatal-errors-doesnt-work/)
 * Running on WAMP localhost to test out, using WP 4.2.2 and the latest version 
   of FooGallery.
 * First, the plugin causes a fatal error on activation:
    Fatal error: Call to undefined
   function is_plugin_active() in path/to/wp-content/plugins/foogallery-captions/
   foogallery-individual-captions.php on line 32
 * Comment out the offending `is_plugin_active` wrapper lines and it activates.
 * Next, go to an existing gallery to add captions. Click on the little icon in 
   the bottom left corner of a thumb and a popup box displays for caption, etc. 
   entry. Seems good, but the data does not save.
 * Scrolling down, at the bottom of the foogallery screen is another error:
    Warning:
   Invalid argument supplied for foreach() in path/to/wp-content/plugins/foogallery-
   captions/foogallery-individual-captions.php on line 111
 * I gave up after that.
 * [https://wordpress.org/plugins/foogallery-captions/](https://wordpress.org/plugins/foogallery-captions/)

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

 *  Plugin Author [tormorten](https://wordpress.org/support/users/tormorten/)
 * (@tormorten)
 * [11 years ago](https://wordpress.org/support/topic/multiple-fatal-errors-doesnt-work/#post-6114885)
 * Thanks for letting me know. This was a huge error on my behalf and I’m really
   sorry. Both these errors should be fixed with the latest update (1.0.1) which
   was just released.
 *  [Nivicious](https://wordpress.org/support/users/nivicious/)
 * (@nivicious)
 * [11 years ago](https://wordpress.org/support/topic/multiple-fatal-errors-doesnt-work/#post-6114964)
 * Hi, I’m getting this error:
    Parse error: syntax error, unexpected ‘[‘ in /home/
   polkadot/public_html/wp-content/plugins/foogallery-captions/foogallery-individual-
   captions.php on line 196.
 * Anything I can do?
 *  Plugin Author [tormorten](https://wordpress.org/support/users/tormorten/)
 * (@tormorten)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/multiple-fatal-errors-doesnt-work/#post-6114990)
 * Hi,
 * Please try updating the plugin to the latest version (1.0.2). This error occurs
   when you have an older version of PHP (prior to 5.4) where shorthand arrays are
   not introduced.
 * 1.0.2 fixes this issue.
 * For matters in the future, please start a new thread.

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

The topic ‘multiple fatal errors, doesn't work’ is closed to new replies.

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

 * 3 replies
 * 3 participants
 * Last reply from: [tormorten](https://wordpress.org/support/users/tormorten/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/multiple-fatal-errors-doesnt-work/#post-6114990)
 * Status: resolved