Upgraded an existing store from 5-3.x to 6.x-4.6. Encountered many problems with the store. Decided to remove the store completely and start all over. Reinstalled the modules and recreated the store with 1 Shippable product. Created an order and then tried to delete the Receipt. Received the following errors:

  • warning: Invalid argument supplied for foreach() in /sites/all/modules/views_bulk_operations/views_bulk_operations.module on line 2014.
  • warning: array_keys() expects parameter 1 to be array, null given in /sites/all/modules/views_bulk_operations/views_bulk_operations.module on line 244.
  • warning: array_fill_keys() expects parameter 1 to be array, null given in /sites/all/modules/views_bulk_operations/views_bulk_operations.module on line 244.

The site is on Yahoo and is using PHP 5.3.6. Tried the latest dev module of VBO with same results. Ideas?

Thanks,
mlcc2000

Comments

mlcc2000’s picture

Any ideas out there? Still not able to delete Receipts/Transactions. This is a pretty big stumbling block for my site. Any help is appreciated.

Thanks!
mlcc2000

Trexor’s picture

Title: Errors Deleting Receipts » Errors Deleting Receipts and Transactions
Category: bug » support
Priority: Normal » Major

Hi All

I have the same warnings.
warning: Invalid argument supplied for foreach() in /usr/share/drupal6/modules/views_bulk_operations/views_bulk_operations.module on line 2014.
warning: array_keys() expects parameter 1 to be array, null given in /usr/share/drupal6/modules/views_bulk_operations/views_bulk_operations.module on line 244.
warning: array_fill_keys() expects parameter 1 to be array, null given in /usr/share/drupal6/modules/views_bulk_operations/views_bulk_operations.module on line 244.

On my Ubuntu server and to double check that it wasn't my installation I downloaded and installed the turnkey Linux version and installed and tested it on virtual box with the same result.

I have also observed in /admin/build/views/edit/ec_transaction_list that the one of the filters has a Broken/missing handler and the same in /admin/build/views/edit/ec_receipt_list it's almost as though something is missing from /admin/build/views/nojs/config-item/ec_receipt_list/default/filter/ec_exposed_fieldset but I haven't yet figured out what is missing, maybe a module.

Best regards
Trevor