title: Joomla - Uncaught exception, Error 500 - less block
body: <p>I've migrated a Joomla site to a new server, updated the configuration.php file, and I'm getting these errors:</p>
  
  <pre><code>Fatal error: Uncaught exception 'RuntimeException' with message 'Less Parse Error: parse error: unclosed block' in
  /var/www/websites/alwaysevolving/libraries/gantry/core/gantry.class.php:1141 Stack trace: #0
  /var/www/websites/alwaysevolving/templates/rt_cerulean/features/styledeclaration.php(45): Gantry-&gt;addLess('mediaqueries.le...') #1
  /var/www/websites/alwaysevolving/libraries/gantry/core/gantry.class.php(415): GantryFeatureStyleDeclaration-&gt;init() #2
  /var/www/websites/alwaysevolving/libraries/gantry/gantry.php(289): Gantry-&gt;initTemplate() #3
  /var/www/websites/alwaysevolving/libraries/gantry/gantry.php(439): gantry_template_initialize() #4
  /var/www/websites/alwaysevolving/templates/rt_cerulean/lib/gantry/gantry.php(21): include('/var/www/websit...') #5
  /var/www/websites/alwaysevolving/templates/rt_cerulean/index.php(15): require_once('/var/www/websit...') #6
  /var/www/websites/alwaysevolving/libraries/joomla/document/html/html.php(531): require('/var/www/websit...') #7
  /var/www/websites/alwaysevolving/libraries/joomla/do in /var/www/websites/alwaysevolving/libraries/gantry/core/gantry.class.php on line 1141
  </code></pre>
  
  <p>It looks like there's a problem parsing one of the less files, but:</p>
  
  <ol>
  <li><p><strong>I can't tell which one of the less files has the issue</strong></p></li>
  <li><p><strong>The less files were fine on the other server</strong></p></li>
  <li><p><strong>The site seems fine, so it seems like something in this template doesn't like my new server.</strong></p></li>
  </ol>
  
  <p>Thoughts??</p>
  
  <p>Thanks!</p>