commerce_payment_method_load() is executed by the system that believes it's an implementation of hook_payment_method_load(), which is a dynamically created Entity.module hook.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | payment_commerce_1819626_00.patch | 537 bytes | xano |
Comments
Comment #1
xanoComment #2
xanoComment #4
Funksmaname commentedHi Xano,
I patched the entity.controller.inc file like http://drupal.org/node/1549424#comment-6629760
and also the above patch but still getting:
Warning: Illegal offset type in isset or empty in commerce_payment_method_load() (line 584 of /home/impress/public_html/sites/all/modules/commerce/modules/payment/commerce_payment.module).What am I missing?
Thanks in advance :)
Comment #5
xanoIf you are still experiencing this issue, you are not using the latest releases of Payment and Payment for Drupal Commerce. The Entity API patch is completely unrelated.
Comment #6
Funksmaname commentedUnfortunately, I am using the latest dev builds (just updated too to make sure, but this site is a dev started within the last few weeks regardless).
Although I don't see the error much, whenever I flush the caches it comes up!
Any advice appreciated.
Comment #7
xanoIf you are still experiencing this problem, please open a new issue for Payment with step-by-step instructions on how to reproduce the people using a new Drupal installation.
Comment #8
xanoComment #9
silkogelman commentedthe error
Warning: Illegal offset type in isset or empty in commerce_payment_method_load() (line 584 of /123/sites/all/modules/contrib/commerce/modules/payment/commerce_payment.module).can be reproduced by creating an installation profile with the following lines in the .info file
(Or you can add them to standard.info if you're not familiar with creating a Drupal install profile)
Tested with
commerce 7.x-1.8
payment 7.x-1.x-dev (2013-Aug-10)
payment_commerce 7.x-1.x-dev (2013-Aug-13)
The error will appear in the 'configure site' and 'Drupal installation complete' pages of the installation process.
In case of the error, hook_install() from the installation profile is not properly executed.
(the administrator role and default content types are just not created for example)
Comment #10
StuddMan commentedWe are receiving this error now on a production Drupal Commerce site when anyone hits the checkout screens.
Warning: Illegal offset type in isset or empty in commerce_payment_method_load() (line 584 of xxxxxxxxxxx/modules/commerce/modules/payment/commerce_payment.module).
Our Environment:
Drupal - 7.23
Commerce - 7.x-1.8
Payment - 7.x-1.8
Payment_commerce - 7.x-1.4
Should we be running the DEV versions in production?
Comment #11
StuddMan commentedThis is still happening for us, any guidance would be appreciated
Comment #12
xanoThe original issue was fixed a year ago. Please do not hijack such issues, but open new ones. Be sure to open detailed steps to reproduce the problem.