Cron doesn't work in Hikasop starter

  • Posts: 50
  • Thank you received: 1
  • Hikaserial Subscription Hikashop Essential
1 month 3 weeks ago #305276

-- HikaShop version -- : 4.0.3
-- Joomla version -- : 3.9.4
-- PHP version -- : 7.1.26
-- Browser(s) name and version -- : Firefox Quantum 66.0.1 (64 bits)
-- Error-message(debug-mod must be tuned on) -- : Call to undefined method stdClass::cron()
/home/zzzzzzzzzzzzzzzzzzzzzzzzzzzzz/plugins/system/hikashoppayment/hikashoppayment.php:121
Call stack
# Function Location
1 () JROOT/plugins/system/hikashoppayment/hikashoppayment.php:121
2 plgSystemHikashoppayment->processCronNotification() JROOT/plugins/system/hikashoppayment/hikashoppayment.php:43
3 plgSystemHikashoppayment->onAfterInitialise() JROOT/libraries/joomla/event/event.php:70
4 JEvent->update() JROOT/libraries/joomla/event/dispatcher.php:160
5 JEventDispatcher->trigger() JROOT/libraries/src/Application/BaseApplication.php:108
6 Joomla\CMS\Application\BaseApplication->triggerEvent() JROOT/libraries/src/Application/CMSApplication.php:626
7 Joomla\CMS\Application\CMSApplication->initialiseApp() JROOT/libraries/src/Application/SiteApplication.php:686
8 Joomla\CMS\Application\SiteApplication->initialiseApp() JROOT/libraries/src/Application/SiteApplication.php:212
9 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:196
10 Joomla\CMS\Application\CMSApplication->execute() JROOT/index.php:49

Hi.
After discussion about Subscription, I try the cron link and it doesn't work :

Call to undefined method stdClass::cron()
/home/zzzzzzzzzzzzzzzzzzzzzzzzzzzzz/plugins/system/hikashoppayment/hikashoppayment.php:121
Call stack
# Function Location
1 () JROOT/plugins/system/hikashoppayment/hikashoppayment.php:121
2 plgSystemHikashoppayment->processCronNotification() JROOT/plugins/system/hikashoppayment/hikashoppayment.php:43
3 plgSystemHikashoppayment->onAfterInitialise() JROOT/libraries/joomla/event/event.php:70
4 JEvent->update() JROOT/libraries/joomla/event/dispatcher.php:160
5 JEventDispatcher->trigger() JROOT/libraries/src/Application/BaseApplication.php:108
6 Joomla\CMS\Application\BaseApplication->triggerEvent() JROOT/libraries/src/Application/CMSApplication.php:626
7 Joomla\CMS\Application\CMSApplication->initialiseApp() JROOT/libraries/src/Application/SiteApplication.php:686
8 Joomla\CMS\Application\SiteApplication->initialiseApp() JROOT/libraries/src/Application/SiteApplication.php:212
9 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:196
10 Joomla\CMS\Application\CMSApplication->execute() JROOT/index.php:49


Many thanks in advance for your help.

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

  • Posts: 65706
  • Thank you received: 9590
  • MODERATOR
1 month 3 weeks ago #305280

Hi,

Thank you for your feedback. I've added a patch so that the cron URL doesn't crash when you call it with HikaShop Starter.
You can download the install package of HikaShop on our website and install it on yours to get the patch.
However, even though it won't crash, the cron is something available only with the Essential and Business editions of HikaShop.
So the plugins and extensions needing the cron won't be called with HikaShop Starter, even if you configure the HikaShop cron on your server.
I've talked with Jerome about that and he will add a cron URL to HikaSubscriptions in the next release so that you can set it up on your own cron on your server without the need of HikaShop Essential or Business. Until then however, the only solution we have is to have HikaShop Essential or Business so that you can setup your cron via the HikaShop configuration:
www.hikashop.com/support/documentation/5...ashop-cron-task.html

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

  • Posts: 50
  • Thank you received: 1
  • Hikaserial Subscription Hikashop Essential
1 month 3 weeks ago #305295

Hi.
Thank you for discussing this together and proposing this alternative.
I can indeed see with the client the advantages of moving to a commercial version of HikaShop.
Thank you again!

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

Time to create page: 0.059 seconds
Powered by Kunena Forum