Post by straightlight » Mon Oct 30, 2017 5:28 am

In that file, find:

Code: Select all

if ($product_option_value_info) {
replace with:

Code: Select all

if (!empty($product_option_value_info['weight_prefix'])) {

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Legendary Member
Online

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by d3z1gnr » Fri May 18, 2018 6:37 am

I'm getting a slightly different error (but very similar) when running a shipping list...

Warning: A non-numeric value encountered in /home/vapemonk/public_html/admin/controller/sale/order.php on line 1799

What seems to work for me is changing (on line 1768):

$option_weight = '';

to

$option_weight = 0;

Mike Little
Director / Developer
Creative Digital Limited
http://www.creativedigital.co.nz


User avatar
Active Member

Posts

Joined
Mon Jan 18, 2010 2:59 pm
Location - Auckland, New Zealand
Who is online

Users browsing this forum: No registered users and 5 guests