I encountered this error when I enabled simultaneously the ff modules:

  • Smart IP
  • Device Geolocation
  • Smart IP IPInfoDB web service

Fatal error: Class 'Drupal\smart_ip\SmartIpEventSubscriberBase' not found in C:\xampp\htdocs\freshd8\modules\smart_ip\modules\device_geolocation\src\EventSubscriber\SmartIpEventSubscriber.php on line 23

Comments

birdsnbees created an issue. See original summary.

  • arpeggio committed 5ee4ac0 on 8.x-3.x
    Issue #2787779 by arpeggio: Updated readme file of device_geolocation...
arpeggio’s picture

Hi, enable the main Smart IP module first and followed by other modules that are dependent to it like device_geolocation, smart_ip_ipinfodb_web_service, etc. Thanks.

arpeggio’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

joka84’s picture

Category: Support request » Bug report

After uninstalling the modules (forgot to uninstall geolocation_device) the error appears again.
Can't even clear cache with drush or install/uninstall any modules.

Drush command terminated abnormally due to an unrecoverable error.

Fatal error: Class 'Drupal\smart_ip\SmartIpEventSubscriberBase' not found in Sites/devdesktop/sites/luncher/modules/smart_ip/modules/device_geolocation/src/EventSubscriber/SmartIpEventSubscriber.php on line 23

joka84’s picture

Ok just deleted it manually... sorry