FoxyCart / foxycart-craft

CraftCMS integration for FoxyCart
7 stars 1 forks source link

Internal Server Error: Array to string conversion #5

Closed RobErskine closed 5 years ago

RobErskine commented 5 years ago

When devmode is turned off, we're getting an "Internal Server Error: Array to string conversion" error when visiting the foxycart section of the Craft admin center.

When devmode is turned on, the page loads as intended but instead (of course) shows test data. I suspect that the data coming back from craft.foxyCart.listTransactions may have changed? I'm not sure what else to check. If there is any other detail I can provide please let me know.

adamjudd commented 5 years ago

@RobErskine,

Thanks for the report! To confirm - you're seeing that error when just visiting the FoxyCart admin page that lists transactions, not on the settings page for the plugin?

Could we confirm your Craft version too please?

We'll dig in and see if we can spot the issue.

RobErskine commented 5 years ago

Heya @adamjudd,

Yeah this is occuring when you hit /{adminURL}/foxycart.

foxycart error

And turning on dev mode doesn't hint at any other error messages, because instead it just shows test data.

Lastly we were on Craft v 2.6.2985 when we first noticed this issue. I just upgraded us to Craft v 2.7.4 and it is still happening.