TuPapi Posted December 18, 2020 Share Posted December 18, 2020 (edited) Hi everyone, I have a problem when I click on an order to view its details This is the log: Fatal error: Uncaught exception 'Stripe\Exception\InvalidArgumentException' with message '$config must be a string or an array' in /home/xbhbuobm/public_html/modules/stripe_official/vendor/stripe/stripe-php/lib/BaseStripeClient.php:55 Stack trace: #0 /home/xbhbuobm/public_html/modules/stripe_official/classes/StripeDispute.php(44): Stripe\BaseStripeClient->__construct(false) #1 /home/xbhbuobm/public_html/modules/stripe_official/classes/StripeDispute.php(51): StripeDispute->getAllDisputes() #2 /home/xbhbuobm/public_html/modules/stripe_official/stripe_official.php(1281): StripeDispute->orderHasDispute(NULL) #3 /home/xbhbuobm/public_html/classes/Hook.php(569): Stripe_official->hookDisplayAdminOrderContentOrder(Array) #4 /home/xbhbuobm/public_html/classes/Hook.php(524): HookCore::coreCallHook(Object(Stripe_official), 'hookdisplayAdmi...', Array) #5 /home/xbhbuobm/public_html/controllers/admin/AdminOrdersController.php(1787): HookCore::exec('displayAdminOrd...', Array) #6 /home/xbhbuobm/public_html/classes/controller/AdminContr in /home/xbhbuobm/public_html/modules/stripe_official/vendor/stripe/stripe-php/lib/BaseStripeClient.php on line 55 This is the url: https://www.sitepath.com/admin357py1rz3/index.php?controller=AdminOrders&id_order=783&vieworder&token=b5268492e1ad05a051338a63d83a7158 Version of prestashop: 1.6.1.0 Version of PHP: 5.6 Someone can help me? Thanks Edited December 18, 2020 by TuPapi (see edit history) 1 Link to comment Share on other sites More sharing options...
Nickz Posted March 17, 2021 Share Posted March 17, 2021 (edited) is that solved? Then how? The stripe crew is more entitled to solve that. Edited May 9, 2021 by Nickz (see edit history) Link to comment Share on other sites More sharing options...
rudrajitnira Posted April 21, 2021 Share Posted April 21, 2021 An exception has been thrown during the rendering of a template ("$config must be a string or an array"). in src/PrestaShopBundle/Resources/views/Admin/Sell/Order/Order/Blocks/View/details.html.twig (line 115) </div> </div> </div> {% set displayAdminOrderTabLink = renderhook('displayAdminOrderTabLink', {'id_order': orderForViewing.id}) %} {% set displayAdminOrderTabContent = renderhook('displayAdminOrderTabContent', {'id_order': orderForViewing.id}) %} Link to comment Share on other sites More sharing options...
rudrajitnira Posted April 21, 2021 Share Posted April 21, 2021 Just now, rudrajitnira said: An exception has been thrown during the rendering of a template ("$config must be a string or an array"). in src/PrestaShopBundle/Resources/views/Admin/Sell/Order/Order/Blocks/View/details.html.twig (line 115) </div> </div> </div> {% set displayAdminOrderTabLink = renderhook('displayAdminOrderTabLink', {'id_order': orderForViewing.id}) %} {% set displayAdminOrderTabContent = renderhook('displayAdminOrderTabContent', {'id_order': orderForViewing.id}) %} This bug is throwing in my Prestashop version 1.7.7.3 and 1.7.71 and php version from 7.1 to 7.3. 1 Link to comment Share on other sites More sharing options...
gaid Posted May 9, 2021 Share Posted May 9, 2021 (edited) The same problem. E202 refused to fix it. Edited May 9, 2021 by gaid (see edit history) Link to comment Share on other sites More sharing options...
Nickz Posted May 9, 2021 Share Posted May 9, 2021 30 minutes ago, gaid said: Stripe refused to fix it. Often a question of how do you approach those guys. Is your shop selling already? Try a nice approach where the stripe team is your only hope. Link to comment Share on other sites More sharing options...
gaid Posted May 9, 2021 Share Posted May 9, 2021 (edited) We are talking with E202 from Friday about this mistake. I sent debug information. Esteban from e202 wrote: it is your server mistake. Sorry For mistake it is not Stripe yourself it is their contracter E202 refused to help. Edited May 9, 2021 by gaid (see edit history) Link to comment Share on other sites More sharing options...
gaid Posted May 9, 2021 Share Posted May 9, 2021 We got some suggestion about mistake incorrectly merge array Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now