Title: Fatal error when using foo gallery
Last modified: April 22, 2023

---

# Fatal error when using foo gallery

 *  Resolved [joejones](https://wordpress.org/support/users/joejones/)
 * (@joejones)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-using-foo-gallery/)
 * Hi, i installed the foo gallery premium trial but my wordpress site gets a fatal
   error when using it, ill include the logs below
 * [https://gyazo.com/68b5c752ce012190a6341af7c4cc9d28](https://gyazo.com/68b5c752ce012190a6341af7c4cc9d28)

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

 *  Plugin Support [elviiso](https://wordpress.org/support/users/elviiso/)
 * (@elviiso)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-using-foo-gallery/#post-16682725)
 * Hi [@joejones](https://wordpress.org/support/users/joejones/)
 * I’m sorry to learn about the fatal error, and thanks for sharing the logs with
   us.
 * Analyzing the logs, I can see that the error is actually happening because of
   a plugin conflict, and the error is actually coming from the wp-content/plugins/
   dreamhost-panel-login.php file.
 * It’s really difficult to find out which plugin this file is from but if the plugin
   is disabled, then this error will disappear. You may need to deactivate the plugins
   one by one to find out which plugin the file is for. Here’s a guide from us on
   how to safely do this: [https://fooplugins.com/documentation/general/general-troubleshooting/health-check-debug/](https://fooplugins.com/documentation/general/general-troubleshooting/health-check-debug/)
 * Kindly try this and let us know how it goes.
 * Kind regards,
   Elvis.
 *  Thread Starter [joejones](https://wordpress.org/support/users/joejones/)
 * (@joejones)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-using-foo-gallery/#post-16682746)
 * Hi, thanks for getting back to me, that dream host plugin is integrated into 
   my website through the host, I can deactivate it by contacting them but they 
   said to contact someone at foogallery to see if there’s a possible update for
   the conflicting plugins, would there be a possibility of using both plugins without
   it crashing?
 *  Plugin Support [elviiso](https://wordpress.org/support/users/elviiso/)
 * (@elviiso)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-using-foo-gallery/#post-16687618)
 * Hi [@joejones](https://wordpress.org/support/users/joejones/)
 * Thanks for getting back to me with that update.
 * I’d like to ask you to try a different solution. I’d like to kindly ask you to
   download, install and activate this plugin which is a fixer that may resolve 
   this issue: [https://drive.google.com/file/d/1z2mVijlLUCS6gmaG2I6Qv2g2vqwCnqDW/view?usp=share_link](https://drive.google.com/file/d/1z2mVijlLUCS6gmaG2I6Qv2g2vqwCnqDW/view?usp=share_link)
 * Once activated, click on the “Fix -Clean Up and Deactivate” button, which will
   be the second button. Here’s a guide to explain to you more about this fixer:
   [https://fooplugins.com/documentation/foogallery/troubleshooting-foogallery/freemius-errors/](https://fooplugins.com/documentation/foogallery/troubleshooting-foogallery/freemius-errors/)
 * Kindly try this and let us know how it goes.
 * Kind regards,
   Elvis.
 *  Thread Starter [joejones](https://wordpress.org/support/users/joejones/)
 * (@joejones)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-using-foo-gallery/#post-16697396)
 * Hi, i have tried what you said above and still get a fatal error, it only seems
   to happen when i activate the woocommerce plugin
 *  Plugin Author [bradvin](https://wordpress.org/support/users/bradvin/)
 * (@bradvin)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-using-foo-gallery/#post-16697427)
 * Hey [@joejones](https://wordpress.org/support/users/joejones/) I would like to
   help you to get this working today. Please contact me on brad @ fooplugins dot
   com and then we can invite you to our slack which will make things a lot easier,
   as we need info about your plugins and will send you plugin versions with fixes
   to help resolve this asap
 *  Plugin Author [bradvin](https://wordpress.org/support/users/bradvin/)
 * (@bradvin)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-using-foo-gallery/#post-16704824)
 * just closing the loop on this one…
 * After extensive investigation and stepping through the code, I found where it
   is coming from and why.
 * Freemius (embedded within FooGallery and other plugins) makes calls to [wordpress.org](http://wordpress.org/)
   API within the file “class-fs-plugin-updater.php” : 
 * [https://github.com/Freemius/wordpress-sdk/blob/master/includes/class-fs-plugin-updater.php#L928](https://github.com/Freemius/wordpress-sdk/blob/master/includes/class-fs-plugin-updater.php#L928)
 * Dreamhost deploys the following plugin to all of their WordPress sites and activates
   it by default:
 * [https://gist.github.com/bradvin/54bfdb40b72f6faae396ed71f1212ed5](https://gist.github.com/bradvin/54bfdb40b72f6faae396ed71f1212ed5)
 * There is no way to disable the plugin, as they remove the row from the plugin
   listing page within the WP admin.
 * [https://gist.github.com/bradvin/54bfdb40b72f6faae396ed71f1212ed5#file-dreamhost-panel-login-php-L173](https://gist.github.com/bradvin/54bfdb40b72f6faae396ed71f1212ed5#file-dreamhost-panel-login-php-L173)
 * They also intercept all HTTP requests and check if the call was the update endpoint
   on [wp.org](http://wp.org/) and manipulate the response. They do not cater for
   the calls that Freemius SDK makes to that endpoint mentioned above, and a fatal
   error ensues.
 * To fix the bugs, a simple check can be made to check as commented on that gist
   page. Unfortunately, this needs to be done by Dreamhost and rolled out to all
   their sites.
 * Anyone with this issue, please contact Dreamhost and link to this ticket and 
   ask them to fix their plugin code.

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

The topic ‘Fatal error when using foo gallery’ is closed to new replies.

 * ![](https://ps.w.org/foogallery/assets/icon-256x256.gif?rev=2602542)
 * [Photo Gallery by FooGallery : Responsive Image Gallery, Masonry Gallery & Carousel](https://wordpress.org/plugins/foogallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/foogallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/foogallery/)
 * [Active Topics](https://wordpress.org/support/plugin/foogallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/foogallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/foogallery/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [bradvin](https://wordpress.org/support/users/bradvin/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-using-foo-gallery/#post-16704824)
 * Status: resolved