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

#   \[SOLVED\] Encoding error when changing to PHP7

##

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

Less More

- Posts: 343
- Thank you received: 28
-
-
- [](http://www.delinie-ict.nl)
-

10 years 6 months ago -  10 years 6 months ago [\#237968](#237968) by [nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile")  *[\[SOLVED\] Encoding error when changing to PHP7](/forum/3-bug-report/884099-solved-encoding-error-when-changing-to-php7#237968 "-- url of the page with the problem -- :   www.dfcgrootverbruik.nl/  -- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5.1 -- PHP version -- : 7.0.5  Hi,  When updating to PHP7 I just got a message about an &quot;Encoding error&quot; in both backend as frontend and found this error message in the errorlog in my www folder :  After disabling the plugin HikaShop geolocation plugin the error goes away.  Strange thing is that I have the same plugin enabled on other sites with no problems...  Hope this helps.")* was created by *[nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile")*

-- url of the page with the problem -- : [ www.dfcgrootverbruik.nl/](https://www.dfcgrootverbruik.nl/)
-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.5.1
-- PHP version -- : 7.0.5

Hi,

When updating to PHP7 I just got a message about an "Encoding error" in both backend as frontend and found this error message in the errorlog in my www folder :
Code:

PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgSystemHikashopgeolocation has a deprecated constructor in /home/xxxxxxx/public_html/plugins/system/hikashopgeolocation/hikashopgeolocation.php on line 11

After disabling the plugin **HikaShop geolocation plugin** the error goes away.

Strange thing is that I have the same plugin enabled on other sites with no problems...

Hope this helps.

Last edit: 10 years 6 months ago by [nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84ODQwOTktc29sdmVkLWVuY29kaW5nLWVycm9yLXdoZW4tY2hhbmdpbmctdG8tcGhwNz90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

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

10 years 6 months ago [\#237982](#237982) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Encoding error when changing to PHP7](/forum/3-bug-report/884099-solved-encoding-error-when-changing-to-php7#237982 "-- url of the page with the problem -- :   www.dfcgrootverbruik.nl/  -- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.5.1 -- PHP version -- : 7.0.5  Hi,  When updating to PHP7 I just got a message about an &quot;Encoding error&quot; in both backend as frontend and found this error message in the errorlog in my www folder :  After disabling the plugin HikaShop geolocation plugin the error goes away.  Strange thing is that I have the same plugin enabled on other sites with no problems...  Hope this helps.")*

Hi,

You actually want to turn off the "error reporting" setting of the Joomla configuration. That way, you can still use the geolocation plugin (if you're using it) without these messages, which are actually not real errors and directed toward developers.

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

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