Answers.Body: <p>I had the same issue. In our case it were the i18n and the vendor files that were being excluded by a too restrictive gitignore file.</p>
  
  <p>Never use the default gitignore from Craft 3 on a Craft 2 setup. :-)</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-03T19:19:54.773Z
Answers.LastActivityDate: 2018-03-03T19:19:54.773Z
Answers.UserDisplayName: Diederik
Body: <p>When requesting the control panel I get the following error: </p>
  
  <pre><code>Fatal error: Call to a member function getTimeFormat() on a non-object in
  /craft/app/etc/requirements/RequirementsChecker.php on line 103
  </code></pre>
  
  <p>Apparently  <code>craft()-&gt;locale</code> is null, but I have no idea why this is the case. I'm running craft locally, on <a href="http://[PROJECT].craft.dev/" rel="nofollow">http://[PROJECT].craft.dev/</a> and installed the Pro version.</p>
  
  <p>Any ideas?</p>
  
  <p>Edit: this turned out to be a too restrictive gitignore file, ignoring the craft/app/framework/i18n/data folder</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-02-17T18:06:29.963Z
Comments.Text: That is weird.  Can you hit us up at support@buildwithcraft.com so we can look into it?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-04-30T13:56:18.187Z
Comments.Text: Thanks for the follow-up.  Would you mind posting that as an official answer to the question?
Comments.UserDisplayName: Brad Bell
Tags: <control-panel><localization><error-message>
Title: craft()->locale->getTimeFormat() throws Fatal error
ThreadText: # craft()->locale->getTimeFormat() throws Fatal error
  
  (Asked by: username_0 on 2015-02-17)
  
  When requesting the control panel I get the following error:
  
  ```
  Fatal error: Call to a member function getTimeFormat() on a non-object in
  /craft/app/etc/requirements/RequirementsChecker.php on line 103
  
  ```
  
  Apparently `craft()->locale` is null, but I have no idea why this is the case. I'm running craft locally, on <http://[PROJECT].craft.dev/> and installed the Pro version.
  
  Any ideas?
  
  Edit: this turned out to be a too restrictive gitignore file, ignoring the craft/app/framework/i18n/data folder
  
  **Tags:** control-panel, localization, error-message
  
  > **Comments:**
  > **username_1**: That is weird.  Can you hit us up at support@buildwithcraft.com so we can look into it?  
  > **username_1**: Thanks for the follow-up.  Would you mind posting that as an official answer to the question?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2018-03-03. Score: 1
  
  I had the same issue. In our case it were the i18n and the vendor files that were being excluded by a too restrictive gitignore file.
  
  Never use the default gitignore from Craft 3 on a Craft 2 setup. :-)
  
  
  ---
  
  