I use a shopsystem that got updated from smarty 2 to smarty 3, which led to a list of problems on our site. The worst one is that all the Smarty variables we assigned to use them in PHP don't work anymore.
A short example:
{assign var=test value=$ORDER_NUMBER}
{php}
$order = $this->get_template_vars('test');
echo $order;
{/php}
This results in following error:
FATAL ERROR(1): "Using $this when not in object context"
Now on the Smarty Page i found some lines of code that do the same but look a bit different, for example this one:
$order = $smarty->getTemplateVars('test');
which results in:
FATAL ERROR(1): "Call to a member function getTemplateVars() on null"
None of all these "solutions" i found work anymore since Smarty 3.