Upon trying to update an order to processing, delivered or update and apply comments, I receive the following error:
Fatal error: Cannot use object of type queryFactoryResult as array in /home/gourmets/public_html/admin/edit_orders.php on line 185
The edit order page also will not update at the bottom in the table to show the new update or the comments.
In the edit_orders.php file, lines 185-189 say this:
$email = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . zen_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "\n" . EMAIL_TEXT_DATE_ORDERED . ' ' . zen_date_long($check_status['date_purchased']) . "\n\n" . $notify_comments . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]);
zen_mail($check_status['customers_name'], $check_status['customers_email_address'], EMAIL_TEXT_SUBJECT, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
$customer_notified = '1';
}
I do have the edit orders mod installed so I dont know if that is affecting things or not, but unfortunately I screwed up when I installed it and accidentally overwrote the core file instead of the override, so I cant just easily uninstall it.
Can anyone help me with this problem? It's affecting customers being notified of their order updates or being able to login and get their order status! Thanks!



