after installing uberpos while there are existing uc_orders in the database, the old orders do not ge tinserted into the up_orders table.

fix 1: at installation of the tables, insert old uc_order table data into up_orders

fix 2: change:

$order = (object) array_merge((array) $order, $additions);

to

if($additions) {
  $order = (object) array_merge((array) $order, $additions);
}

Comments

koffieschaap’s picture

full error (text got cut off):
warning: array_merge(): Argument #2 is not an array in /var/www/uc_verwijderingsbijdrage/sites/all/modules/uberpos/uberpos.module on line 354.