WebsiteBaker Support (2.8.x) > Bakery Shop

MOVED: Bakery error message - processor.php on line 65

(1/3) > >>

kerryww:
Hi Folks,

When I submit an order to be processed in Bakery with PayPal I get the following error message.

Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/username/mysite.com/modules/bakery/payment_methods/paypal/processor.php on line 65

But the order still goes through, the error shows up for just a few annoying seconds during the PayPal process.

But any suggestions on how to clear the error?

TIA

Kerry

kerryww:
Hi Folks,

Stop searching - I found the problem!

After some head scratching and hair loss I worked out the problem. I went to modules/bakery/languages/countries and added an AU for Australia in the EN.php file.

I then went to /modules/bakery/languages/states and created my own AU.php file for Australia.

It now works.

Kerry



freeSbee:
Hi Kerry

Might be helpful to others if you post your Australien states file AU.php.
If you do not mind I will add it to the bakery/languages/states directory of the next Bakery version.

Regards Christoph

12345:
Here is State file for Italy with names in German: IT.php

Copy it into "/modules/bakery/languages/states/"

Bye, Kurry

[gelöscht durch Administrator]

dazz:
Australian States file for those who want it

fell free to include in future releases if you wish Christoph

Navigation

[0] Message Index

[#] Next page

Go to full version