Title: Error on loading theme
Last modified: May 25, 2017

---

# Error on loading theme

 *  [chattago2002](https://wordpress.org/support/users/chattago2002/)
 * (@chattago2002)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-on-loading-theme/)
 * Hi everybody.
 * In last days I’ve a terrible problem with Gantry 5 (v 5.4.12) on WordPress (v
   4.7.5) and Helium theme for Gantry.
    Initially all worked correctly but in last
   few days, without known reasons, I receive an error (on a blank page): `Theme
   cannot be used. For more information, please see the notice in administration.`
   and in the admin section the error is described as following: `Failed to load
   theme: Please run composer in Gantry 5 Library!`. I’ve used Gantry 5 and Helium
   in other projects with no problems. Why I have this problem? On Google/StackOverflow/
   RocketTheme Forums there aren’t useful topics for this.
 * P.S. What is the “composer” in Gantry 5 Library?

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

 *  Plugin Author [Gantry](https://wordpress.org/support/users/gantry/)
 * (@gantry)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-on-loading-theme/#post-9172321)
 * Composer is a tool for dependency management in PHP. You shouldn’t need to do
   anything with it manually. Where did you download your Gantry 5 from? Gantry 
   website, WordPress plugin directory, GitHub?
 * Thanks,
    Jakub
 *  Thread Starter [chattago2002](https://wordpress.org/support/users/chattago2002/)
 * (@chattago2002)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-on-loading-theme/#post-9172510)
 * I found the real problem but not understanding the reason. I have a VPS and installed
   two different website on it, each one has a WordPress installation with Gantry
   5 and Helium theme. It seems that only one Helium (or Gantry?) can be executed
   at a time; if I change the theme to another one (like one of the defaults), also
   in only one website, both are visible, also if Gantry plugin is still installed
   and active.
    So I can think there’s something I have to change or setup on my
   VPS to allow the multiple execution of the same theme on different virtualhost
   of the same VPS. Ideas?
 * Thanks for the reply.
    -  This reply was modified 8 years, 11 months ago by [chattago2002](https://wordpress.org/support/users/chattago2002/).
 *  Plugin Author [Gantry](https://wordpress.org/support/users/gantry/)
 * (@gantry)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-on-loading-theme/#post-9175933)
 * If these are two separate installations it shouldn’t matter. Did you install 
   Gantry 5 from the WP.org or from the GitHub or from the gantry.org site?
 *  Thread Starter [chattago2002](https://wordpress.org/support/users/chattago2002/)
 * (@chattago2002)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-on-loading-theme/#post-9176304)
 * Yes, these are 2 different installations, only the VPS is the same.
    I downloaded
   Gantry 5 directly from WP plugin directory (inside the /wp-admin of my websites)
   and themes from gantry.org…
 * I don’t know how to solve this problem…
 *  Plugin Author [Gantry](https://wordpress.org/support/users/gantry/)
 * (@gantry)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-on-loading-theme/#post-9176714)
 * Can you try deleting and re-uploading Gantry 5 and theme on the faulty instance?
 *  Thread Starter [chattago2002](https://wordpress.org/support/users/chattago2002/)
 * (@chattago2002)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-on-loading-theme/#post-9183616)
 * There’s not a faulty instance.
    Indeed if both themes ara active I can see only
   one of them (the last activated). So, to work with Site-1 I have to deactive 
   Site2 and vice versa if I’ve to work with Site2. I can try to re-install Gantry
   5 and theme… Is it better to download packages from gantry.org or using “wp-admin
   add plugin function”? I try with the first one because for these instances I 
   used the second one and I have this problem…
 *  Plugin Author [Gantry](https://wordpress.org/support/users/gantry/)
 * (@gantry)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-on-loading-theme/#post-9183783)
 * Well the thing that concerns me is that you wrote that it all worked fine initially
   but suddenly stopped. If it was working fine before, somethings must’ve happened
   and the question is what. Did you update anything on your VPS? Did you enabled
   any PHP modules? Installed new plugins? Are you using the same Gantry 5 version
   that when it was working fine?
 * If you have two separate instances of WordPress and two different set of files–
   all should be working fine.
    -  This reply was modified 8 years, 11 months ago by [Gantry](https://wordpress.org/support/users/gantry/).
 *  Thread Starter [chattago2002](https://wordpress.org/support/users/chattago2002/)
 * (@chattago2002)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-on-loading-theme/#post-9184190)
 * I’ve made another test. Everytime I restart Apache on my VPS and both instances
   have Helium (or Hydrogen, is the same) active, the visible instance become the
   first I visit (simply opening the related URL in a browser) and the other one
   returns with the error message (wrote in my first post); so if now I can see 
   Site1 (and not Site2), I can restart Apache, visit the Site2 Url with my browser
   and then Site2 is visible and Site1 goes down.
 * Instead, if I use other themes (not Gantry) or only one Gantry theme at time,
   everything works fine, before and after Apache restart.
 * So, I can think about a “strange” configuration of Apache that not works properly,
   but for some parts that Gantry needs, because Gantry-free WP instances works 
   fine with the same Apache configuration.
 * Can you help me? Is there an Apache base configuration for Gantry?
 * P.S. To answer your questions: no updates were made, no new PHP modules enabled
   or installed and I’ve alwayes used the latest Gantry version.
    -  This reply was modified 8 years, 11 months ago by [chattago2002](https://wordpress.org/support/users/chattago2002/).
    -  This reply was modified 8 years, 11 months ago by [chattago2002](https://wordpress.org/support/users/chattago2002/).
    -  This reply was modified 8 years, 11 months ago by [chattago2002](https://wordpress.org/support/users/chattago2002/).
 *  Plugin Author [Gantry](https://wordpress.org/support/users/gantry/)
 * (@gantry)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/error-on-loading-theme/#post-9189490)
 * I think that you’d have the same issue with any other plugin that uses Composer,
   not only Gantry 5. This sounds like an Apache misconfiguration. I’m sorry but
   I have no idea what could cause it.
 * Did you check Apache/PHP logs? You can also try to troubleshoot it following 
   these guides [https://getcomposer.org/doc/articles/troubleshooting.md#general](https://getcomposer.org/doc/articles/troubleshooting.md#general)

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

The topic ‘Error on loading theme’ is closed to new replies.

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

 * 9 replies
 * 2 participants
 * Last reply from: [Gantry](https://wordpress.org/support/users/gantry/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/error-on-loading-theme/#post-9189490)
 * Status: not resolved