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

#   error in php 202

##

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

Less More

- Posts: 12
- Thank you received: 0
-
-

3 years 4 months ago [\#352497](#352497) by [jor1292ct](/forum/user/60791-jor1292ct "View jor1292ct's Profile")  *[error in php 202](/forum/31-development/906559-error-in-php-202#352497 "-- HikaShop version -- : 4.73 -- Joomla version -- : 4 -- PHP version -- : 8 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : good afternoon guys i have this error Deprecated : Creation of dynamic property plgSystemHikashopgeolocation::$geolocation is deprecated in C:&#92;xamp&#92;htdocs&#92;lefala&#92;plugins&#92;system&#92;hikashopgeolocation&#92;hikashopgeolocation.php on line 202  good afternoon guys i have this error Deprecated : Creation of dynamic property plgSystemHikashopgeolocation::$geolocation is deprecated in C:&#92;xamp&#92;htdocs&#92;lefala&#92;plugins&#92;system&#92;hikashopgeolocation&#92;hikashopgeolocation.php on line 202")* was created by *[jor1292ct](/forum/user/60791-jor1292ct "View jor1292ct's Profile")*

-- HikaShop version -- : 4.73
-- Joomla version -- : 4
-- PHP version -- : 8
-- Browser(s) name and version -- : chrome
-- Error-message(debug-mod must be tuned on) -- : good afternoon guys i have this error
Deprecated
: Creation of dynamic property plgSystemHikashopgeolocation::$geolocation is deprecated in
C:\xamp\htdocs\lefala\plugins\system\hikashopgeolocation\hikashopgeolocation.php
on line
202

good afternoon guys i have this error
Deprecated
: Creation of dynamic property plgSystemHikashopgeolocation::$geolocation is deprecated in
C:\xamp\htdocs\lefala\plugins\system\hikashopgeolocation\hikashopgeolocation.php
on line
202

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50LzkwNjU1OS1lcnJvci1pbi1waHAtMjAyP3RtcGw9bWFya2Rvd24=) 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: 86359
- Thank you received: 14293
-
-

3 years 4 months ago [\#352504](#352504) 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 php 202](/forum/31-development/906559-error-in-php-202#352504 "-- HikaShop version -- : 4.73 -- Joomla version -- : 4 -- PHP version -- : 8 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : good afternoon guys i have this error Deprecated : Creation of dynamic property plgSystemHikashopgeolocation::$geolocation is deprecated in C:&#92;xamp&#92;htdocs&#92;lefala&#92;plugins&#92;system&#92;hikashopgeolocation&#92;hikashopgeolocation.php on line 202  good afternoon guys i have this error Deprecated : Creation of dynamic property plgSystemHikashopgeolocation::$geolocation is deprecated in C:&#92;xamp&#92;htdocs&#92;lefala&#92;plugins&#92;system&#92;hikashopgeolocation&#92;hikashopgeolocation.php on line 202")*

Hi,

Thanks for your feedback. You must be on PHP 8.2
Please note that this is not an error. This is a message from PHP to developers to let them know that in the next version of PHP, something will change which will generate an error if the code is not changed.
Normally, that message should not appear on a production website. So I would recommend turning off the "error reporting" setting of the Joomla configuration, or properly configuring the php.ini of the server to not output deprecation messages.

Of course, we're going to change the code to not have the deprecation message so that HikaShop won't get an error there on PHP9. The change is quite simple, it consists on adding the line:
public $geolocation;
before the line:
function __construct(&amp;$subject, $config){
in the file plugins\system\hikashopgeolocation\hikashopgeolocation.php

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

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