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

#   Syntax error, unexpected 'unset' after updating to Hikashop Essential 4.2.2

##

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

Less More

- Posts: 11
- Thank you received: 0
-
-

7 years 1 month ago -  7 years 1 month ago [\#312058](#312058) by [mare88](/forum/user/34697-mare88 "View mare88's Profile")  *[Syntax error, unexpected 'unset' after updating to Hikashop Essential 4.2.2](/forum/25-install-update/898490-syntax-error-unexpected-unset-after-updating-to-hikashop-essential-4-2-2#312058 "-- HikaShop version -- : Essential 4.2.2 -- Joomla version -- : 3.9.10 -- PHP version -- : 7.2.22 -- Browser(s) name and version -- : Google Chrome 77.0.3865.90 (64-bit) -- Error-message(debug-mod must be tuned on) -- : syntax error, unexpected 'unset' (T&#95;UNSET), expecting function (T&#95;FUNCTION) or const (T&#95;CONST) /.../administrator/components/com&#95;hikashop/classes/field.php:951  Good morning!  I updated yesterday to Hikashop Essential 4.2.2 and since then I don't have access to the e-shop, neither at the frontend nor at the backend. The following error appears:  0 - syntax error, unexpected 'unset' (T&#95;UNSET), expecting function (T&#95;FUNCTION) or const (T&#95;CONST)  Could you please help me out?  Thank you in advance!")* was created by *[mare88](/forum/user/34697-mare88 "View mare88's Profile")*

-- HikaShop version -- : Essential 4.2.2
-- Joomla version -- : 3.9.10
-- PHP version -- : 7.2.22
-- Browser(s) name and version -- : Google Chrome 77.0.3865.90 (64-bit)
-- Error-message(debug-mod must be tuned on) -- : syntax error, unexpected 'unset' (T_UNSET), expecting function (T_FUNCTION) or const (T_CONST)
/.../administrator/components/com_hikashop/classes/field.php:951

Good morning!

I updated yesterday to Hikashop Essential 4.2.2 and since then I don't have access to the e-shop, neither at the frontend nor at the backend. The following error appears:

0 - syntax error, unexpected 'unset' (T_UNSET), expecting function (T_FUNCTION) or const (T_CONST)

Could you please help me out?

Thank you in advance!

Last edit: 7 years 1 month ago by [mare88](/forum/user/34697-mare88 "View mare88's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5ODQ5MC1zeW50YXgtZXJyb3ItdW5leHBlY3RlZC11bnNldC1hZnRlci11cGRhdGluZy10by1oaWthc2hvcC1lc3NlbnRpYWwtNC0yLTI/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
-
-

7 years 1 month ago [\#312062](#312062) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Syntax error, unexpected 'unset' after updating to Hikashop Essential 4.2.2](/forum/25-install-update/898490-syntax-error-unexpected-unset-after-updating-to-hikashop-essential-4-2-2#312062 "-- HikaShop version -- : Essential 4.2.2 -- Joomla version -- : 3.9.10 -- PHP version -- : 7.2.22 -- Browser(s) name and version -- : Google Chrome 77.0.3865.90 (64-bit) -- Error-message(debug-mod must be tuned on) -- : syntax error, unexpected 'unset' (T&#95;UNSET), expecting function (T&#95;FUNCTION) or const (T&#95;CONST) /.../administrator/components/com&#95;hikashop/classes/field.php:951  Good morning!  I updated yesterday to Hikashop Essential 4.2.2 and since then I don't have access to the e-shop, neither at the frontend nor at the backend. The following error appears:  0 - syntax error, unexpected 'unset' (T&#95;UNSET), expecting function (T&#95;FUNCTION) or const (T&#95;CONST)  Could you please help me out?  Thank you in advance!")*

Hi,

I'm not able to access your backend as I'm getting the error

> Forbidden
> You don't have permission to access /administrator/ on this server.

However, I think the solution is easy.
We had a faulty package up for an hour yesterday until we realised the issue and fixed it so you must have used that faulty package when you updated.
So, just download again the install package on our website and install it on yours again and it should then work.

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

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

Less More

- Posts: 11
- Thank you received: 0
-
-

7 years 1 month ago [\#312070](#312070) by [mare88](/forum/user/34697-mare88 "View mare88's Profile")  Replied by *[mare88](/forum/user/34697-mare88 "View mare88's Profile")* on topic *[Syntax error, unexpected 'unset' after updating to Hikashop Essential 4.2.2](/forum/25-install-update/898490-syntax-error-unexpected-unset-after-updating-to-hikashop-essential-4-2-2#312070 "-- HikaShop version -- : Essential 4.2.2 -- Joomla version -- : 3.9.10 -- PHP version -- : 7.2.22 -- Browser(s) name and version -- : Google Chrome 77.0.3865.90 (64-bit) -- Error-message(debug-mod must be tuned on) -- : syntax error, unexpected 'unset' (T&#95;UNSET), expecting function (T&#95;FUNCTION) or const (T&#95;CONST) /.../administrator/components/com&#95;hikashop/classes/field.php:951  Good morning!  I updated yesterday to Hikashop Essential 4.2.2 and since then I don't have access to the e-shop, neither at the frontend nor at the backend. The following error appears:  0 - syntax error, unexpected 'unset' (T&#95;UNSET), expecting function (T&#95;FUNCTION) or const (T&#95;CONST)  Could you please help me out?  Thank you in advance!")*

Thank you very much Nicolas!

Indeed, that was the solution. All is ok now.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5ODQ5MC1zeW50YXgtZXJyb3ItdW5leHBlY3RlZC11bnNldC1hZnRlci11cGRhdGluZy10by1oaWthc2hvcC1lc3NlbnRpYWwtNC0yLTI/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.051 seconds

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