Jump to content

Fatal error: Uncaught --> Smarty Compiler: Syntax error in template


angelart

Recommended Posts

Hi guys, 

It's since yesterday I have the HTTP 500 ERROR when I try to click the products pages.

All the other pages work well, back office is fine, but the product pages are not.

 

The website is https://www.shopsmart.it

I did the debug mode and I got this error: 

 

Warning: Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128' (this will throw an Error in a future version of PHP) in /home/cristalc/public_html/shopsmart.it/classes/Rijndael.php on line 124

 

Warning: count(): Parameter must be an array or an object that implements Countable in /home/cristalc/public_html/shopsmart.it/controllers/front/ProductController.php on line 254

 

Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/home/cristalc/public_html/shopsmart.it/themes/default-bootstrap/product.tpl" on line 25 "<div itemprop = "offers" itemtype = "http://schema.org/Offer" itemscope > <meta itemprop = "url" content = "{$ product.url}" /> <meta itemprop = "availability" content = "https://schema.org/InStock" /> <meta itemprop = "priceCurrency" content = "{$ currency.iso_code}" />" - Unexpected " ", expected one of: "{" , "identifier" <-- thrown in /home/cristalc/public_html/shopsmart.it/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 25

 

Anyone knows what can I do about it?

I already cleared cache, disabled and enabled smarty cache, without positive results.

 

I attach the product.tpl and smarty_internal_templatecompilerbase.php

 

Thanks in advance.

 

product.tpl smarty_internal_templatecompilerbase.php

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...