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

#   Error in Hikashop

##

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

Less More

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

8 years 3 weeks ago [\#299440](#299440) by [eduardoad1989](/forum/user/57645-eduardoad1989 "View eduardoad1989's Profile")  *[Error in Hikashop](/forum/3-bug-report/896022-error-in-hikashop#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&#95;IF), expecting function (T&#95;FUNCTION) or const (T&#95;CONST)  recenting i upgrade my version of joomla and hikashop and, now appearme the follow message  0 syntax error, unexpected 'if' (T&#95;IF), expecting function (T&#95;FUNCTION) or const (T&#95;CONST)  and not permit me add more articles or modify anything... how i do to resolve this issue?")* was created by *[eduardoad1989](/forum/user/57645-eduardoad1989 "View eduardoad1989's Profile")*

-- 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?

- [ ![error.png](/forum/attachment/45163) ](/forum/attachment/45163 "error.png") [ ](/forum/attachment/45163?download=1 "error.png")

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

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

Less More

- Posts: 2
- Thank you received: 0
-
-

8 years 3 weeks ago [\#299443](#299443) by [infovarep](/forum/user/57589-infovarep "View infovarep's Profile")  Replied by *[infovarep](/forum/user/57589-infovarep "View infovarep's Profile")* on topic *[Error in Hikashop](/forum/3-bug-report/896022-error-in-hikashop#299443 "-- 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&#95;IF), expecting function (T&#95;FUNCTION) or const (T&#95;CONST)  recenting i upgrade my version of joomla and hikashop and, now appearme the follow message  0 syntax error, unexpected 'if' (T&#95;IF), expecting function (T&#95;FUNCTION) or const (T&#95;CONST)  and not permit me add more articles or modify anything... how i do to resolve this issue?")*

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84OTYwMjItZXJyb3ItaW4taGlrYXNob3A/dG1wbD1tYXJrZG93bg==) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

8 years 3 weeks ago [\#299458](#299458) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error in Hikashop](/forum/3-bug-report/896022-error-in-hikashop#299458 "-- 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&#95;IF), expecting function (T&#95;FUNCTION) or const (T&#95;CONST)  recenting i upgrade my version of joomla and hikashop and, now appearme the follow message  0 syntax error, unexpected 'if' (T&#95;IF), expecting function (T&#95;FUNCTION) or const (T&#95;CONST)  and not permit me add more articles or modify anything... how i do to resolve this issue?")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84OTYwMjItZXJyb3ItaW4taGlrYXNob3A/dG1wbD1tYXJrZG93bg==) 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?

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

Time to create page: 0.050 seconds

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