ytorbyk / magento2-geo-store-switcher

Magento 2 extension: Switching websites/stores depending on current country.
MIT License
37 stars 15 forks source link

Fatal error: Uncaught Error: Class 'GeoIp2\Database\Reader' not found #8

Open gaurangpadhiyar007 opened 6 years ago

gaurangpadhiyar007 commented 6 years ago

Hey, I have got this error on server, please suggest the solution.

Fatal error: Uncaught Error: Class 'GeoIp2\Database\Reader' not found
app/code/Tobai/GeoIp2/Model/Database/ReaderFactory.php:43 Stack trace: #0 

Thanks in advance.

ytorbyk commented 6 years ago

Hi @gaurangpadhiyar007 How did you install the extension? Did you install all dependences ("tobai/magento2-geo-ip2" with "geoip2/geoip2")?

gaurangpadhiyar007 commented 6 years ago

yes, i have install those dependencies at vendor folder. but getting same issue. Please help to resolve it.

gaurangpadhiyar007 commented 6 years ago

I have run command composer install instead of composer update which resolves the issue, But extension does not seem to work. Is there any special requirement to create an account for maxwind?

ramsampathi commented 5 years ago

same issue for me in magento 2.26 .please observe in below screen shot also http://prntscr.com/lzjo3g

please give me any solution.. Thanks,

malikabid commented 5 years ago

@gaurangpadhiyar007 / @ramsampathi i had the same issue when installing manually. User composer to install the extension. It will install all dependencies in and extension in vendor folder and your issue will be resolved.

gaurangpadhiyar007 commented 5 years ago

@malikabid Thanks, I will check and follow your instructions.