square payment plugin broken

  • Posts: 65
  • Thank you received: 3
  • Hikashop Business
2 months 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: 83022
  • Thank you received: 13403
  • MODERATOR
2 months 3 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
2 months 3 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: 83022
  • Thank you received: 13403
  • MODERATOR
2 months 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
2 months 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.

  • Posts: 240
  • Thank you received: 21
  • Hikamarket Multivendor Hikashop Business Hikashop Essential
3 days 4 hours ago #365026

Was this ever resolved?

I am looking at upgrading a site to Joomla 5.2.2, which is working fine under Joomla 4.

I wanted to make sure this wasn't a J5 issue.

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

  • Posts: 137
  • Thank you received: 33
  • MODERATOR
2 days 10 hours ago #365045

Hello jazzmang,

Thank you for your feedback !

Can you send us a temporary back-end and FTP access to the Joomla 5 website so that we can directly test and debug it ? Thank you !

You can contact us via email at contact[at]tsukidev[dot]com


Kind regards,
Mohamed.
Tsuki Dev
tsukidev.contact[at]gmail[dot]com

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

  • Posts: 240
  • Thank you received: 21
  • Hikamarket Multivendor Hikashop Business Hikashop Essential
2 days 9 hours ago #365046

Sorry, I haven't upgraded the site yet to Joomla 5.

I haven't seen any errors while running Joomla 4, HikaShop 5.1.2, and HikaMarket 5.0

I wanted to make sure this wasn't a known issue before upgrading to 5.

Was the original poster's issue something other than the Joomla 5?

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

Time to create page: 0.090 seconds
Powered by Kunena Forum