Error when trying to create a new order from the admin in J4
4 years 2 months ago - 4 years 2 months ago #343067
by grayt7
-- HikaShop version -- : 4.6.1
-- Joomla version -- : 4.1.5
-- PHP version -- : 7.4
-- Error-message(debug-mod must be tuned on) -- : An error has occurred.
0 Call to undefined method Joomla\CMS\Application\AdministratorApplication::isAdmin()
Hi,
There is an error:
An error has occurred.
0 Call to undefined method Joomla\CMS\Application\AdministratorApplication::isAdmin()
Call stack
# Function Location
1 () JROOT/plugins/hikashoppayment/bf_rbsglobalgateway/bf_rbsglobalgateway.php:62
2 plgHikashoppaymentbf_rbsglobalgateway->onBeforeOrderCreate() JROOT/libraries/src/Plugin/CMSPlugin.php:285
3 Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}() JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:486
4 Joomla\Event\Dispatcher->dispatch() JROOT/libraries/src/Application/EventAware.php:111
5 Joomla\CMS\Application\WebApplication->triggerEvent() JROOT/administrator/components/com_hikashop/classes/order.php:175
6 hikashopOrderClass->save() JROOT/administrator/components/com_hikashop/controllers/order.php:55
7 OrderController->neworder() JROOT/libraries/src/MVC/Controller/BaseController.php:735
8 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:2378
9 hikashopController->execute() JROOT/administrator/components/com_hikashop/hikashop.php:73
10 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
11 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
12 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
13 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
14 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
15 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
16 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:63
17 require_once() JROOT/administrator/index.php:32
When trying to create a new order from the admin. Just press "New" and the error will show.
Thank you
-- Joomla version -- : 4.1.5
-- PHP version -- : 7.4
-- Error-message(debug-mod must be tuned on) -- : An error has occurred.
0 Call to undefined method Joomla\CMS\Application\AdministratorApplication::isAdmin()
Hi,
There is an error:
An error has occurred.
0 Call to undefined method Joomla\CMS\Application\AdministratorApplication::isAdmin()
Call stack
# Function Location
1 () JROOT/plugins/hikashoppayment/bf_rbsglobalgateway/bf_rbsglobalgateway.php:62
2 plgHikashoppaymentbf_rbsglobalgateway->onBeforeOrderCreate() JROOT/libraries/src/Plugin/CMSPlugin.php:285
3 Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}() JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:486
4 Joomla\Event\Dispatcher->dispatch() JROOT/libraries/src/Application/EventAware.php:111
5 Joomla\CMS\Application\WebApplication->triggerEvent() JROOT/administrator/components/com_hikashop/classes/order.php:175
6 hikashopOrderClass->save() JROOT/administrator/components/com_hikashop/controllers/order.php:55
7 OrderController->neworder() JROOT/libraries/src/MVC/Controller/BaseController.php:735
8 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:2378
9 hikashopController->execute() JROOT/administrator/components/com_hikashop/hikashop.php:73
10 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
11 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
12 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
13 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
14 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
15 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
16 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:63
17 require_once() JROOT/administrator/index.php:32
When trying to create a new order from the admin. Just press "New" and the error will show.
Thank you
Last edit: 4 years 2 months ago by grayt7.
Please Log in or Create an account to join the conversation.
4 years 2 months ago #343076
by nicolas
Replied by nicolas on topic Error when trying to create a new order from the admin in J4
Hi,
Are you using the WorldPay Global Gateway payment plugin ?
I don't think that this API is still working. So I suppose not. In which case, you can just disable that plugin and it will work.
Are you using the WorldPay Global Gateway payment plugin ?
I don't think that this API is still working. So I suppose not. In which case, you can just disable that plugin and it will work.
Please Log in or Create an account to join the conversation.
4 years 2 months ago #343100
by grayt7
Replied by grayt7 on topic Error when trying to create a new order from the admin in J4
I did try to disable it and I still get the same error - will this plugin not work in J4 then?
Please Log in or Create an account to join the conversation.
4 years 2 months ago #343103
by nicolas
Replied by nicolas on topic Error when trying to create a new order from the admin in J4
Hi,
No it will. However, you're using an old version of the plugin. You need to update it for that. Download its latest version here and install it and you'll get the update:
www.hikashop.com/marketplace/product/123...-global-gateway.html
No it will. However, you're using an old version of the plugin. You need to update it for that. Download its latest version here and install it and you'll get the update:
www.hikashop.com/marketplace/product/123...-global-gateway.html
The following user(s) said Thank You: grayt7
Please Log in or Create an account to join the conversation.
4 years 2 months ago #343113
by grayt7
Replied by grayt7 on topic Error when trying to create a new order from the admin in J4
yeah that worked thank you
Please Log in or Create an account to join the conversation.
Time to create page: 0.186 seconds