Jump to content

Got error 'PHP message: PHP Fatal error: Uncaught --> Smarty Compiler: Syntax error in template


ifs-net

Recommended Posts

Hello,

After cloning my site to a new server on cloudways, I am having the error message below. 

And my site is down. The only change from live site to clone site is the mariana database and debian version upgrade.

I do not know how to fix that and I need help pls 

 

Got error 'PHP message: PHP Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "module:module:stmegamenuviewstemplatesh" on line 24 "{if isset($megamenu_custom_css) && $megamenu_custom_css}" unknown tag 'if' <-- \n thrown in /home/718743.cloudwaysapps.com/qndngdkwzh/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 24\n'

Link to comment
Share on other sites

After cloning did you clear /var/cache? The error is pointing to a template error from module stmegamenu - if clearing cache does not work try to reset the module (you might loose its configuration, so take backups)

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...