Sunday, 20 March 2016

Call to undefined function token() in opencart 2

Check if in system/helper you have file general.php and inside function token.

If yes, open in system dir file startup.php and look for:


<code>
require_once(DIR_SYSTEM . 'helper/general.php');

</code>
If is not here add this line.
got this issue in opencart 2.0.1.0

Problem solved!