Error in Hikashop

  • Posts: 1
  • Thank you received: 0
5 years 5 months ago #299440

-- url of the page with the problem -- : http://repuesteracyr-pe
-- HikaShop version -- : 4.0.0
-- Joomla version -- : 3.8.13
-- PHP version -- : 7.1.18
-- Browser(s) name and version -- : google chrome 69.0.3497.100
-- Error-message(debug-mod must be tuned on) -- : 0 syntax error, unexpected 'if' (T_IF), expecting function (T_FUNCTION) or const (T_CONST)

recenting i upgrade my version of joomla and hikashop
and, now appearme the follow message

0 syntax error, unexpected 'if' (T_IF), expecting function (T_FUNCTION) or const (T_CONST)

and not permit me add more articles or modify anything...
how i do to resolve this issue?

Attachments:

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

  • Posts: 2
  • Thank you received: 0
5 years 5 months ago #299443

I found that adding } at the end of line 647 in administrator\components\com_hikashop\classes\field.php will fix it.

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

  • Posts: 81481
  • Thank you received: 13062
  • MODERATOR
5 years 5 months ago #299458

Hi,

Sorry for that, it's a bug introduced yesterday following a hot fix for another issue. This was patched again just now. So please download again the install package on our website and install it on yours and it will work fine.

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

Time to create page: 0.068 seconds
Powered by Kunena Forum