[Skip to main content](#vessel-content)

#   the Cron URL to send emails when an auction is won does not work.

##

- **[JavierVT](/forum/user/35565-javiervt "View JavierVT's Profile")**
- [![JavierVT's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35565-javiervt "View JavierVT's Profile") Topic Author
- [ Offline](/forum/user/35565-javiervt)

Less More

- Posts: 1
- Thank you received: 0
-
-

2 years 7 months ago [\#359723](#359723) by [JavierVT](/forum/user/35565-javiervt "View JavierVT's Profile")  *[the Cron URL to send emails when an auction is won does not work.](/forum/55-auction-bug-report/907889-the-cron-url-to-send-emails-when-an-auction-is-won-does-not-work#359723 "-- url of the page with the problem -- : laremateria.com -- HikaShop version -- : 5.0.2 -- HikaAuction version -- : 4.0.0 -- Joomla version -- : 4.4.2 -- PHP version -- : 8.1.9 -- Browser(s) name and version -- : Google Chrome 122.0.6261.112 -- Error-message(debug-mod must be tuned on) -- : # Function Location 1 () JROOT/libraries/src/Language/Text.php:281 2 sprintf() JROOT/libraries/src/Language/Text.php:281 3 Joomla&#92;CMS&#92;Language&#92;Text::sprintf() JROOT/media/com&#95;hikaauction/mail/auction&#95;finished&#95;winner&#95;notification.preload.php:25 4 include() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:189 5 hikashopMailClass-&gt;loadEmail() JROOT/administrator/components/com&#95;hikaauction/classes/mail.php:161 6 hikaauctionMailClass-&gt;load() JROOT/administrator/components/com&#95;hikaauction/classes/mail.php:71 7 hikaauctionMailClass-&gt;queueProcess() JROOT/administrator/components/com&#95;hikaauction/classes/cron.php:117 8 hikaauctionCronClass-&gt;doQueueTask() JROOT/administrator/components/com&#95;hikaauction/classes/cron.php:58 9 hikaauctionCronClass-&gt;executeCron() JROOT/components/com&#95;hikaauction/controllers/cron.php:31 10 cronAuctionController-&gt;executeCron() JROOT/libraries/src/MVC/Controller/BaseController.php:693 11 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/components/com&#95;hikaauction/hikaauction.php:81 12 require&#95;once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 13 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher::Joomla&#92;CMS&#92;Dispatcher&#92;{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73 14 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361 15 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:208 16 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:249 17 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:293 18 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/includes/app.php:61 19 require&#95;once() JROOT/index.php:32  When changing the language on the frontend to Spanish, the Cron URL to send emails when an auction is won does not work.  But when I change the language on the frontend to English it works correctly.  Only that the page has to be in Spanish since the users are from Mexico and that makes it impossible to leave it in English.  On the other hand, as you can see in the photos, I installed the Spanish language in the CMS and in the hikashop component as well as in hikaauctions according to how instructed in the tutorials.")* was created by *[JavierVT](/forum/user/35565-javiervt "View JavierVT's Profile")*

-- url of the page with the problem -- : laremateria.com
-- HikaShop version -- : 5.0.2
-- HikaAuction version -- : 4.0.0
-- Joomla version -- : 4.4.2
-- PHP version -- : 8.1.9
-- Browser(s) name and version -- : Google Chrome 122.0.6261.112
-- Error-message(debug-mod must be tuned on) -- : # Function Location
1 () JROOT/libraries/src/Language/Text.php:281
2 sprintf() JROOT/libraries/src/Language/Text.php:281
3 Joomla\CMS\Language\Text::sprintf() JROOT/media/com_hikaauction/mail/auction_finished_winner_notification.preload.php:25
4 include() JROOT/administrator/components/com_hikashop/classes/mail.php:189
5 hikashopMailClass-&gt;loadEmail() JROOT/administrator/components/com_hikaauction/classes/mail.php:161
6 hikaauctionMailClass-&gt;load() JROOT/administrator/components/com_hikaauction/classes/mail.php:71
7 hikaauctionMailClass-&gt;queueProcess() JROOT/administrator/components/com_hikaauction/classes/cron.php:117
8 hikaauctionCronClass-&gt;doQueueTask() JROOT/administrator/components/com_hikaauction/classes/cron.php:58
9 hikaauctionCronClass-&gt;executeCron() JROOT/components/com_hikaauction/controllers/cron.php:31
10 cronAuctionController-&gt;executeCron() JROOT/libraries/src/MVC/Controller/BaseController.php:693
11 Joomla\CMS\MVC\Controller\BaseController-&gt;execute() JROOT/components/com_hikaauction/hikaauction.php:81
12 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
13 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
14 Joomla\CMS\Dispatcher\LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
15 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:208
16 Joomla\CMS\Application\SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:249
17 Joomla\CMS\Application\SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
18 Joomla\CMS\Application\CMSApplication-&gt;execute() JROOT/includes/app.php:61
19 require_once() JROOT/index.php:32

When changing the language on the frontend to Spanish, the Cron URL to send emails when an auction is won does not work.

But when I change the language on the frontend to English it works correctly.

Only that the page has to be in Spanish since the users are from Mexico and that makes it impossible to leave it in English.

On the other hand, as you can see in the photos, I installed the Spanish language in the CMS and in the hikashop component as well as in hikaauctions according to how instructed in the tutorials.

[ ![CapturadePantalla2024-03-12alas0.43.56.png](/forum/attachment/58980) ](/forum/attachment/58980 "...las0.43.56.png")

[ ![CapturadePantalla2024-03-12alas11.40.29.png](/forum/attachment/58981) ](/forum/attachment/58981 "...as11.40.29.png")

[ ![CapturadePantalla2024-03-12alas11.40.48.png](/forum/attachment/58982) ](/forum/attachment/58982 "...as11.40.48.png")

- [ ![CapturadePantalla2024-03-12alas0.43.56.png](/forum/attachment/58980) ](/forum/attachment/58980 "...las0.43.56.png") [ ](/forum/attachment/58980?download=1 "...las0.43.56.png")
- [ ![CapturadePantalla2024-03-12alas11.40.29.png](/forum/attachment/58981) ](/forum/attachment/58981 "...as11.40.29.png") [ ](/forum/attachment/58981?download=1 "...as11.40.29.png")
- [ ![CapturadePantalla2024-03-12alas11.40.48.png](/forum/attachment/58982) ](/forum/attachment/58982 "...as11.40.48.png") [ ](/forum/attachment/58982?download=1 "...as11.40.48.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU1LWF1Y3Rpb24tYnVnLXJlcG9ydC85MDc4ODktdGhlLWNyb24tdXJsLXRvLXNlbmQtZW1haWxzLXdoZW4tYW4tYXVjdGlvbi1pcy13b24tZG9lcy1ub3Qtd29yaz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

2 years 7 months ago [\#359724](#359724) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[the Cron URL to send emails when an auction is won does not work.](/forum/55-auction-bug-report/907889-the-cron-url-to-send-emails-when-an-auction-is-won-does-not-work#359724 "-- url of the page with the problem -- : laremateria.com -- HikaShop version -- : 5.0.2 -- HikaAuction version -- : 4.0.0 -- Joomla version -- : 4.4.2 -- PHP version -- : 8.1.9 -- Browser(s) name and version -- : Google Chrome 122.0.6261.112 -- Error-message(debug-mod must be tuned on) -- : # Function Location 1 () JROOT/libraries/src/Language/Text.php:281 2 sprintf() JROOT/libraries/src/Language/Text.php:281 3 Joomla&#92;CMS&#92;Language&#92;Text::sprintf() JROOT/media/com&#95;hikaauction/mail/auction&#95;finished&#95;winner&#95;notification.preload.php:25 4 include() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:189 5 hikashopMailClass-&gt;loadEmail() JROOT/administrator/components/com&#95;hikaauction/classes/mail.php:161 6 hikaauctionMailClass-&gt;load() JROOT/administrator/components/com&#95;hikaauction/classes/mail.php:71 7 hikaauctionMailClass-&gt;queueProcess() JROOT/administrator/components/com&#95;hikaauction/classes/cron.php:117 8 hikaauctionCronClass-&gt;doQueueTask() JROOT/administrator/components/com&#95;hikaauction/classes/cron.php:58 9 hikaauctionCronClass-&gt;executeCron() JROOT/components/com&#95;hikaauction/controllers/cron.php:31 10 cronAuctionController-&gt;executeCron() JROOT/libraries/src/MVC/Controller/BaseController.php:693 11 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/components/com&#95;hikaauction/hikaauction.php:81 12 require&#95;once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 13 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher::Joomla&#92;CMS&#92;Dispatcher&#92;{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73 14 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361 15 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:208 16 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:249 17 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:293 18 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/includes/app.php:61 19 require&#95;once() JROOT/index.php:32  When changing the language on the frontend to Spanish, the Cron URL to send emails when an auction is won does not work.  But when I change the language on the frontend to English it works correctly.  Only that the page has to be in Spanish since the users are from Mexico and that makes it impossible to leave it in English.  On the other hand, as you can see in the photos, I installed the Spanish language in the CMS and in the hikashop component as well as in hikaauctions according to how instructed in the tutorials.")*

Hi,

HikaAuction has no language file for Spanish so far.
And if I check the file where the error happens, it says that the issue is with the text for the translation key AUCTION_FINISHED_WINNER_EMAIL_MESSAGE which is a translation key of HikaAuction.
So what that means is that you probably made a translation override for AUCTION_FINISHED_WINNER_EMAIL_MESSAGE for the Spanish language in order to translate the text but you made a mistake in it regarding the %s
Here is the English one: Code:

AUCTION_FINISHED_WINNER_EMAIL_MESSAGE="The auction of the product '&lt;a href=\"%s\" &gt;%s&lt;/a&gt;' in which you have participated is finished. Congratulations, you won the auction for %s."

As you can see, there are exactly three %s. Yours for the Spanish must have either too much or not enough %s.
Since you didn't provide the error message, only the call stack, I can't say which one for sure.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU1LWF1Y3Rpb24tYnVnLXJlcG9ydC85MDc4ODktdGhlLWNyb24tdXJsLXRvLXNlbmQtZW1haWxzLXdoZW4tYW4tYXVjdGlvbi1pcy13b24tZG9lcy1ub3Qtd29yaz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

Moderators: [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.141 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
