Page 1 of 1

Returns Problem 3.0.2.0

Posted: Wed Feb 14, 2018 6:41 pm
by ashon
i have removed the option Model From return page and the twig but i have checked my error logs and im gettings this when someone completes a return form - 2018-02-14 10:35:43 - PHP Notice: Undefined index: model in /home1/removed/public_html/catalog/model/account/return.php on line 4

Re: Returns Problem 3.0.2.0

Posted: Thu Feb 15, 2018 5:38 am
by uksitebuilder
If you have removed it from the twig template file, you should also remove it from the associated controller and model files or they will be looking for data that is no longer getting passed, hence the error you are receiving

Re: Returns Problem 3.0.2.0

Posted: Thu Feb 15, 2018 5:53 am
by ashon
uksitebuilder wrote:
Thu Feb 15, 2018 5:38 am
If you have removed it from the twig template file, you should also remove it from the associated controller and model files or they will be looking for data that is no longer getting passed, hence the error you are receiving
i deleted all from controller, is there a file in model folder to ?

Re: Returns Problem 3.0.2.0

Posted: Thu Feb 15, 2018 6:09 am
by uksitebuilder
The answer to that is in the error message you are getting:

/home1/removed/public_html/catalog/model/account/return.php