Tautuxs Posted April 11, 2023 Share Posted April 11, 2023 When trying to get an invoice to pdf of the current day on prestashop 1.7.8.6 i get an error that the index doesn't exist. <br /> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'','pdf'=>'true'),$_smarty_tpl ) );?> </th> <th class="product header-right small" width="<?php echo $_smarty_tpl->tpl_vars['layout']->value['quantity']['width'];?> %"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Vnt','pdf'=>'true'),$_smarty_tpl ) );?> </th> <th class="product header-right small" width="<?php echo $_smarty_tpl->tpl_vars['layout']->value['total_tax_incl']['width'];?> %"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'Viso','pdf'=>'true'),$_smarty_tpl ) );?> <br /> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['l'][0], array( array('s'=>'','pdf'=>'true'),$_smarty_tpl ) );?> </th> </tr> </thead> Everything was working but once i got a new SSLS i got this error. Is this thing missing from database? Any help is appreciated Link to comment Share on other sites More sharing options...
endriu107 Posted April 11, 2023 Share Posted April 11, 2023 When you turn off debug mode issue still exist? 1 Link to comment Share on other sites More sharing options...
Tautuxs Posted April 11, 2023 Author Share Posted April 11, 2023 Why is that? That when disabled the debug mode. The error disapeared? Link to comment Share on other sites More sharing options...
endriu107 Posted April 11, 2023 Share Posted April 11, 2023 This is not error, it is only notice so it means that all should works fine with disabled debug mode. 1 Link to comment Share on other sites More sharing options...
Tautuxs Posted April 12, 2023 Author Share Posted April 12, 2023 22 hours ago, endriu107 said: This is not error, it is only notice so it means that all should works fine with disabled debug mode. Does debug mode turn on automatically or you can only turn it on manually? Link to comment Share on other sites More sharing options...
endriu107 Posted April 12, 2023 Share Posted April 12, 2023 You can turn it on only manually in BO of your store or in file. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now