square payment plugin broken

  • Posts: 65
  • Thank you received: 3
  • Hikashop Business
1 month 3 weeks ago #363618

-- HikaShop version -- : HikaShop Business 5.1.0 [2409092319]
-- Joomla version -- : Joomla! 5.1.4 Stable [ Kudumisha ] 27-August-2024 16:00 GMT
-- PHP version -- : 8.2.23
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : An error has occurred.
0 Attempt to assign property "sandbox" on bool

On the front end the order works as expected except when the customer pushes the process payment button, they get a message that reads:

Info: A plugin cancelled the order without displaying any error message.

If I go to the backend to try to find the issue, I can't go any further when I hit this error message. These are the steps to get to that error message.

System
Plugins
Search for square
click on Hikashop Square Payment Plugin
click on HikaShip Options
Click on Square Payment

Instead of a settings configuration page I get this error:

An error has occurred
Attempt to assign property "sandbox" on bool
and box that says return to dashboard.

I'm not sure if this is the error that will fix my problem stated at the beginning, but it's as far down the track as i could go.

Of note, I'm on payment plugin version: version 1.5.6 updated in 2023

Thank you

Please Log in or Create an account to join the conversation.

  • Posts: 82823
  • Thank you received: 13370
  • MODERATOR
1 month 2 weeks ago #363620

Hi,

Could you please try again after activating the "debug" setting of the Joomla configuration ? That should display a more complete error message which should allow us to tell you what to do.

Please Log in or Create an account to join the conversation.

  • Posts: 65
  • Thank you received: 3
  • Hikashop Business
1 month 2 weeks ago #363626

Thank you for writing. Ok, I found those buttons in the system tab of global configuration. Will the front end be impacted? Is it just a quick turn on and then go through to the same place, find the error and then turn the debug buttons back off and the frontend won't be impacted? Or should I expect there to be something on the frontend people will see?

Thank you

Please Log in or Create an account to join the conversation.

  • Posts: 82823
  • Thank you received: 13370
  • MODERATOR
1 month 2 weeks ago #363627

Hi,

It's exactly that. You just turn on the debug setting for a few seconds while you reproduce the error in order to get the full error message.
During that time, users will see debug information at the bottom of the pages. So, usually, you want to turn off that setting.

Please Log in or Create an account to join the conversation.

  • Posts: 65
  • Thank you received: 3
  • Hikashop Business
1 month 2 weeks ago #363667

thank you for explaining. Here is what is says with debug on. everywhere it says JTOOT/ is the beginning of the second column. It won't paste in with columns. I'll attach a screenshot too.

Thank you for looking at this!!



An error has occurred.
0 Attempt to assign property "sandbox" on bool
Call Stack
# Function Location
1 () JROOT/administrator/components/com_hikashop/views/plugins/view.html.php:683
2 PluginsViewPlugins->loadPluginTemplate() JROOT/administrator/components/com_hikashop/views/plugins/view.html.php:441
3 PluginsViewPlugins->form() JROOT/administrator/components/com_hikashop/views/plugins/view.html.php:22
4 PluginsViewPlugins->display() JROOT/libraries/src/MVC/Controller/BaseController.php:697
5 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_hikashop/helpers/helper.php:2597
6 hikashopController->display() JROOT/administrator/components/com_hikashop/helpers/helper.php:2315
7 hikashopController->edit() JROOT/administrator/components/com_hikashop/controllers/plugins.php:297
8 PluginsController->edit() JROOT/libraries/src/MVC/Controller/BaseController.php:730
9 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:2575
10 hikashopController->execute() JROOT/administrator/components/com_hikashop/hikashop.php:73
11 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
12 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
13 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
14 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:150
15 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:195
16 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:306
17 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:58
18 require_once() JROOT/administrator/index.php:32

Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum