magento2-geo-store-switcher icon indicating copy to clipboard operation
magento2-geo-store-switcher copied to clipboard

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

Open gaurangpadhiyar007 opened this issue 6 years ago • 6 comments

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.

gaurangpadhiyar007 avatar May 31 '18 05:05 gaurangpadhiyar007

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

ytorbyk avatar May 31 '18 07:05 ytorbyk

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

gaurangpadhiyar007 avatar Jun 04 '18 05:06 gaurangpadhiyar007

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?

gaurangpadhiyar007 avatar Jun 08 '18 04:06 gaurangpadhiyar007

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,

ramsampathi avatar Dec 26 '18 02:12 ramsampathi

@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.

malikabid avatar Apr 29 '19 06:04 malikabid

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

gaurangpadhiyar007 avatar Apr 29 '19 14:04 gaurangpadhiyar007