Page 1 of 1

New to Opencart - Error Already :(

Posted: Thu Apr 23, 2020 9:05 am
by Asha90
Hello....

I downloaded a modification today:
Free 9 Invoice Layout Template
https://www.opencart.com/index.php?rout ... ber=aauwwo

After realizing the modification was not working for me, I decided to delete it. I done this by going into the admin panel > Extensions > Modification and deleting. (refreshed cache etc)

After removing the modification, I seem to be getting the below error message when viewing the "shipping list" under Sales > Orders

Error message:

Code: Select all

PHP Warning:  A non-numeric value encountered in /admin/controller/sale/order.php on line 1799
Does anyone know what this may be?

PS I am using the Journal3 theme, so not the default Opencart.

Re: New to Opencart - Error Already :(

Posted: Thu Apr 23, 2020 4:07 pm
by JNeuhoff
What's in your OpenCart error log? Also, try to temporarily switch back to the default theme, Journal3 can cause a lot of problems because it's buggy and not standard compliant. Also, try a refresh of all the caches, including:

Extensions > Modifications > refresh
Dashboard > Developer Settings > Theme > refresh
Dashboard > Developer Settings > SASS > refresh

Re: New to Opencart - Error Already :(

Posted: Thu Apr 23, 2020 5:48 pm
by letxobnav
I don't think it has to do with that extension.

Might be your php version and this:

Code: Select all

$option_weight = '';
then this:

Code: Select all

$option_weight += $product_option_value_info['weight'];

Re: New to Opencart - Error Already :(

Posted: Thu Apr 23, 2020 7:52 pm
by straightlight
About the $option_weight issue, see this solution regarding this controller file: viewtopic.php?f=202&t=216917&p=782099#p782007 .