GraphQL errors with the free shipping plugin
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
GraphQL errors with the free shipping plugin
Laravel framework version: 11.6.0
Aimeos Laravel version: 2024.04
PHP Version: 8.2.18
Environment: Linux
Hello,
The free shipping plugin can't be used.
How to reproduce:
1) Create a new plugin
2) Select plugin type "FreeShipping"
This is the received in the response:
Aimeos Laravel version: 2024.04
PHP Version: 8.2.18
Environment: Linux
Hello,
The free shipping plugin can't be used.
How to reproduce:
1) Create a new plugin
2) Select plugin type "FreeShipping"
This is the received in the response:
Code: Select all
{"errors":[{"message":"Internal server error","locations":[{"line":6,"column":7}],"path":["getPluginConfig",0,"default"]}],"data":{"getPluginConfig":[{"code":"threshold","label":"Free shipping threshold per currency","type":"map","default":null,"required":false}]}}
Re: GraphQL errors with the free shipping plugin
"FreeShipping" isn't a plugin that's available in Aimeos:
https://aimeos.org/docs/latest/manual/plugins/
https://aimeos.org/docs/latest/manual/plugins/
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: GraphQL errors with the free shipping plugin
Sorry I mean the "Shipping" plugin.
I have an override of this plugin, but on the original plugin I get the same problem.
graphql request:
graphql response:
I have an override of this plugin, but on the original plugin I get the same problem.
graphql request:
Code: Select all
"query {\n\t\t\t\t\tgetPluginConfig(provider: \"Shipping\", type: \"order\") {\n\t\t\t\t\t\tcode\n\t\t\t\t\t\tlabel\n\t\t\t\t\t\ttype\n\t\t\t\t\t\tdefault\n\t\t\t\t\t\trequired\n\t\t\t\t\t}\n\t\t\t\t}"
Code: Select all
{"errors":[{"message":"Internal server error","locations":[{"line":6,"column":7}],"path":["getPluginConfig",0,"default"]}],"data":{"getPluginConfig":[{"code":"threshold","label":"Free shipping threshold per currency","type":"map","default":null,"required":false}]}}
Re: GraphQL errors with the free shipping plugin
It appears to have something to do with the $beConfig['default'] being an array.
Re: GraphQL errors with the free shipping plugin
The problem has been fixed. Please run "composer up" to get the latest version.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star