Jump to content

avviso in inserimento ordine bo


Recommended Posts

Ciao a tutti.

Ho prestashop e attivando la modalità debug ho un "avviso" no "errore" al momento che provo ad inserire un ordine dal BO che mi piacerebbe eliminare.

l'avviso dice


Notice alla linea 1752 nel file /web/htdocs/www.overbags.com/home/var/cache/dev/smarty/compile/ab/09/ec/ab09eccf08742df8d716ce95eb97c7b71009decc_0.file.form.tpl.php
[8] Trying to get property 'name' of non-object

Notice alla linea 1753 nel file /web/htdocs/www.overbags.com/home/var/cache/dev/smarty/compile/ab/09/ec/ab09eccf08742df8d716ce95eb97c7b71009decc_0.file.form.tpl.php
[8] Trying to get property 'displayName' of non-object

mentre alla riga 1752 e 1753 del file ab09eccf08742df8d716ce95eb97c7b71009decc_0.file.form.tpl.php contiene


                                <option value="<?php echo $_smarty_tpl->tpl_vars['module']->value->name;?>
" <?php if (isset($_POST['payment_module_name']) && $_smarty_tpl->tpl_vars['module']->value->name == $_POST['payment_module_name']) {?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['module']->value->displayName;?>


allego una immagine dove è possibile vedere l'avviso e le righe in questione.



Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More