VM Locator is giving an error.
0 Class "MaxMind\Db\Reader\InvalidDatabaseException" not found
VirtueMart 4.6.0 11214
Joomla "5.3.4"5.3.4
php 8.2.29
Mysql 8.0.30
I got a new subscription and ensured to install the latest geolocator 1.2.2 and VM Localize 1.4.4 but there was no improvement.
Maybe it is time to integrate this function into the basic installation?
Call Stack
# Function Location
1 () JROOT/administrator/components/com_istraxx_geolocator/GeoIP2/src/MaxMind/Db/Reader.php:323
2 MaxMind\Db\Reader->findMetadataStart() JROOT/administrator/components/com_istraxx_geolocator/GeoIP2/src/MaxMind/Db/Reader.php:99
3 MaxMind\Db\Reader->__construct() JROOT/administrator/components/com_istraxx_geolocator/GeoIP2/src/Database/Reader.php:59
4 GeoIp2\Database\Reader->__construct() JROOT/administrator/components/com_istraxx_geolocator/helpers/getCountry.php:123
5 getCountry::getCountryByMmDB() JROOT/administrator/components/com_istraxx_geolocator/helpers/getCountry.php:93
6 getCountry::getCountry2Code() JROOT/administrator/components/com_istraxx_geolocator/helpers/getCountry.php:27
7 getCountry::setCountryOnVMCart() JROOT/plugins/vmextended/istraxx_vmlocalise/istraxx_vmlocalise.php:89
8 plgVmExtendedIstraxx_vmlocalise->plgVmInitialise() JROOT/libraries/src/Plugin/CMSPlugin.php:311
9 Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}() JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:454
10 Joomla\Event\Dispatcher->dispatch() JROOT/libraries/src/Application/EventAware.php:111
11 Joomla\CMS\Application\WebApplication->triggerEvent() JROOT/administrator/components/com_virtuemart/helpers/vdispatcher.php:41
12 vDispatcher::trigger() JROOT/administrator/components/com_virtuemart/helpers/config.php:399
13 VmConfig::loadConfig() JROOT/components/com_virtuemart/virtuemart.php:24
14 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
15 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
16 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
17 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:217
18 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:271
19 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:304
20 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:58
21 require_once() JROOT/index.php:32
This happened to me also. As far as I understood it was a not completed download of the maxmind db file. I added that the file is deleted if this exceptions is thrown. So it should work a call later. Maybe I did not upload this version yet, I wanted to investigate it better first.