mdbcfc:
Hi, I'm seeing this error in the cache log files:
[13-Apr-2011 11:44:37] PHP Warning: Missing argument 3 for update_status(), called in /home/XXXXXXX/public_html/parts/XXXX/includes/classes/super_order.php on line 230 and defined in /home/XXXXXXX/public_html/parts/XXXX/includes/functions/extra_functions/common_orders_functions.php on line 101
This happened when we marked some old orders as "Completed". Everything in the database looks good, and Super Orders seems to be functioning correctly, just throwing a few stray errors.
We're running V1.3.9h with Super Orders v. 3.0 and "Edit Orders" v3.03. I just thought I'd give a 'heads up'.
Thanks for the great add-on!
Mike
I had this as well.
In the admin folder under Includes > Functions > Extra Functions
Edit the common_orders_functions.php file:
Change line 77 from:
function update_status($oID, $new_status, $customer_notified, $comments = '', $track_id1, $track_id2, $track_id3, $track_id4, $track_id5) {
to:
function update_status($oID, $new_status, $customer_notified = 0, $comments = '', $track_id1 = '', $track_id2 = '', $track_id3 = '', $track_id4 = '', $track_id5 = '') {