Jump to content

Smarty Error from 1.4.8 to 1.6.1


Recommended Posts

I just upgraded from 1.4.8, and I got a white screen when trying to access the website, so I turned on the debugging feature and the error I get is below (all official error words in bold italics)...........

 

Notice: Undefined property: SmartyCustom::$_version in /homepages/27/d39260020/htdocs/leosden/shop14test/tools/smarty/Smarty.class.php on line 738
 

Fatal error: Uncaught --> Smarty: Call of unknown method 'register_function'. <-- thrown in /homepages/27/d39260020/htdocs/leosden/shop14test/tools/smarty/sysplugins/smarty_internal_templatebase.php on line 858

Does that mean anything ? Seems to be coming from the Smarty folder. No matter what I change in the Smarty section in the back office it seems to still give me the error. I have checked the lines it mentions, and those are below.

 

On line 738 of the Smarty.class.php file I see the following.......

trigger_error('Undefined property: ' . get_class($this) . '::$' . $name, E_USER_NOTICE);

And on line 858 of smarty_internal_templatebase.php I get.............

throw new SmartyException("Call of unknown method '$name'.");

 

Anyone have any idea ? Thankfully this is just a test site I created of my real site, which I thought was safest to test out first. It is within a different folder on the same domain as my main site. I disabled all "non PrestaShop modules" in the feature under Performance, but it hasn't helped.

Edited by BlizzardUK (see edit history)
Link to comment
Share on other sites

Hi, I have tried with both my 1.4 theme and also the default theme. When I upgraded I made sure I ticked "change to default theme" which I think is bootstrapper or something. Neither seem to work. I have just copied across the tools folder as suggested from a different 1.6 installation but I get the exact same error message.

 

I am really stuck on what to do. Any more ideas ?

 

Thanks for your help.

Link to comment
Share on other sites

if the back office is working, then i would go into the advanced parameters > performance page and disable non-ps modules and overrides.  then try the main store front office again.  you likely have old modules/theme installed which do not work.

 

the autoupgrade module also does a poor job of installing the default bootstrap theme and positions during an upgrade, so you will likely have to re-install a new theme to fix that

  • Like 1
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...