Jump to content

smarty error line 678 after update


taldoc

Recommended Posts

hi,

alter updating prestashop from 1.6.1.16 to 1.16117 or 20 or 1.6.1.22 latest version now, is there one error.

If i open invoice there is onlx a white page. on the Serverlog is the error messege:

AH01071: Got error 'PHP message: PHP Fatal error: Uncaught --> Smarty: Missing template name <-- \n thrown in /var/www/vhosts/"mydomainname"/httpdocs/tools/smarty/sysplugins/smarty_internal_template.php on line 678\n', referer: https://mywebsite/bytaldoc/index.php?controller=AdminOrders&id_order=31477&vieworder&token=xxxx

 

here the line 666 to 679

 

    /**
     * get Smarty property in template context
     *
     * @param string $property_name property name
     *
     * @throws SmartyException
     */
    public function __get($property_name)
    {
        switch ($property_name) {
            case 'source':
                if (strlen($this->template_resource) == 0) {
                    throw new SmartyException('Missing template name');
                }

 

 

how can i fix this problem please help me soon apossible

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