Answers.Body: <p>So Brad tracked down the issue being Twig needs at least PHP 5.2.7 to run. As of 1.34, the minimum requirement was bumped to PHP 5.3.3. Craft bumped up Twig to 1.35 in version 2.6.3001</p>
  
  <p><a href="https://twig.symfony.com/doc/1.x/intro.html" rel="nofollow noreferrer">https://twig.symfony.com/doc/1.x/intro.html</a></p>
  
  <p>My clients server was actually running 5.3.29. The server default was 7, bumping it up to php 5.4 fixed the site.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-31T19:24:38.397Z
Answers.LastActivityDate: 2018-05-31T19:24:38.397Z
Answers.UserDisplayName: Tad Ward
Body: <p>I am moving a client site from my staging VPS to my clients preferred hosting. All of Crafts requirements check out just fine:</p>
  
  <p>PHP Version 7.0.29
  MySQL Version   10.2.12-MariaDB-log</p>
  
  <p>However, when going to either admin or main homepage I get the following warning:</p>
  
  <p><code>Wrong parameter count for class_alias()</code></p>
  
  <p>The file it is pointing to is <code>/craft/app/vendor/twig/twig/lib/Twig/LoaderInterface.php(57)</code></p>
  
  <p>What am I possibly missing?</p>
  
  <p>My VPS has the following settings:
  PHP Version 5.6.36
  MySQL Version   5.6.39</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-05-30T00:44:03.077Z
Comments.Text: What version of Craft?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-05-30T13:10:21.377Z
Comments.Text: Latest of version 2 (2.6.3016)
Comments.UserDisplayName: Tad Ward
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-05-30T21:24:53.037Z
Comments.Text: Hrm... Can you enable devMode and share the full stack trace leading up to that error in the original question?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-05-31T13:39:34.523Z
Comments.Text: Hey Brad, here is link to the full stack trace: https://www.dropbox.com/s/exi4a1xclc56ity/PHP%20warning.html?dl=0
Comments.UserDisplayName: Tad Ward
Tags: <php><hosting>
Title: Receiving PHP Warning on move to Production
ThreadText: # Receiving PHP Warning on move to Production
  
  (Asked by: username_0 on 2018-05-29)
  
  I am moving a client site from my staging VPS to my clients preferred hosting. All of Crafts requirements check out just fine:
  
  PHP Version 7.0.29
  MySQL Version 10.2.12-MariaDB-log
  
  However, when going to either admin or main homepage I get the following warning:
  
  `Wrong parameter count for class_alias()`
  
  The file it is pointing to is `/craft/app/vendor/twig/twig/lib/Twig/LoaderInterface.php(57)`
  
  What am I possibly missing?
  
  My VPS has the following settings:
  PHP Version 5.6.36
  MySQL Version 5.6.39
  
  **Tags:** php, hosting
  
  > **Comments:**
  > **username_1**: What version of Craft?  
  > **username_0**: Latest of version 2 (2.6.3016)  
  > **username_1**: Hrm... Can you enable devMode and share the full stack trace leading up to that error in the original question?  
  > **username_0**: Hey username_1, here is link to the full stack trace: https://www.dropbox.com/s/exi4a1xclc56ity/PHP%20warning.html?dl=0  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2018-05-31. Score: 2 | Accepted answer
  
  So username_1 tracked down the issue being Twig needs at least PHP 5.2.7 to run. As of 1.34, the minimum requirement was bumped to PHP 5.3.3. Craft bumped up Twig to 1.35 in version 2.6.3001
  
  <https://twig.symfony.com/doc/1.x/intro.html>
  
  My clients server was actually running 5.3.29. The server default was 7, bumping it up to php 5.4 fixed the site.
  
  
  ---
  
  