( ! ) Fatal error: Trait "Joomla\Database\DatabaseAwareTrait" not found in /domains/dangerzonethebook.com/www/plugins/system/ic_autologin/src/Extension/Ic_AutoLogin.php on line 35
Call Stack
#TimeMemoryFunctionLocation
10.0000359864{main}( ).../index.php:0
21.0779362248require_once( '/domains/dangerzonethebook.com/www/includes/app.php ).../index.php:35
31.3388973416Joomla\CMS\Application\CMSApplication->execute( ).../app.php:63
41.33911064688Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:278
51.33911064688Joomla\CMS\Application\SiteApplication->initialiseApp( $options = ??? ).../SiteApplication.php:222
61.39161287328Joomla\CMS\Application\CMSApplication->initialiseApp( $options = ['language' => 'fr-FR'] ).../SiteApplication.php:707
71.39321553200Joomla\CMS\Plugin\PluginHelper::importPlugin( $type = 'system', $plugin = ???, $autocreate = ???, $dispatcher = ??? ).../CMSApplication.php:742
81.39521696448Joomla\CMS\Plugin\PluginHelper::import( $plugin = class stdClass { public $type = 'system'; public $name = 'ic_autologin'; public $params = '{}'; public $id = 10110 }, $autocreate = TRUE, $dispatcher = class Joomla\Event\Dispatcher { protected $events = []; protected $listeners = ['session.start' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onTableObjectCreate' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onTableBeforeStore' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onTableAfterStore' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onTableBeforeDelete' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onTableSetNewTags' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onTableAfterReset' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onTableAfterLoad' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onBeforeBatch' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onAfterInitialise' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onContentPrepareForm' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onExtensionAfterSave' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onAfterRoute' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onAfterRespond' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onAfterDispatch' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onBeforeCompileHead' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onBeforeRender' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onAfterRender' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onAjaxHelixultimate' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onAjaxWebauthn' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onAjaxWebauthnCreate' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onAjaxWebauthnSavelabel' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onAjaxWebauthnDelete' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onAjaxWebauthnChallenge' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onAjaxWebauthnLogin' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onContentPrepareData' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onUserAfterDelete' => class Joomla\Event\ListenersPriorityQueue { ... }, 'onUserLoginButtons' => class Joomla\Event\ListenersPriorityQueue { ... }] } ).../PluginHelper.php:194
91.39521696848Joomla\CMS\Application\CMSApplication->bootPlugin( $plugin = 'ic_autologin', $type = 'system' ).../PluginHelper.php:236
101.39531696992Joomla\CMS\Application\CMSApplication->loadExtension( $type = 'Joomla\\CMS\\Extension\\PluginInterface', $extensionName = 'ic_autologin:system', $extensionPath = '/domains/dangerzonethebook.com/www/plugins/system/ic_autologin' ).../ExtensionManagerTrait.php:94
111.39541698304Joomla\DI\Container->get( $resourceName = 'Joomla\\CMS\\Extension\\PluginInterface' ).../ExtensionManagerTrait.php:177
121.39541698304Joomla\DI\ContainerResource->getInstance( ).../Container.php:96
131.39541698304{anonymous-class:/domains/dangerzonethebook.com/www/plugins/system/ic_autologin/services/provider.php:31-61}->{closure:/domains/dangerzonethebook.com/www/plugins/system/ic_autologin/services/provider.php:45-58}( $container = class Joomla\DI\Container { protected $aliases = []; protected $resources = ['Joomla\\CMS\\Extension\\PluginInterface' => class Joomla\DI\ContainerResource { ... }]; protected $parent = class Joomla\DI\Container { protected $aliases = [...]; protected $resources = [...]; protected $parent = NULL; protected $tags = [...] }; protected $tags = [] } ).../ContainerResource.php:182
141.39541698720Joomla\CMS\Autoload\ClassLoader->loadClass( $class = 'W3biC\\Plugin\\System\\Ic_AutoLogin\\Extension\\Ic_AutoLogin' ).../provider.php:49
151.39541698720Composer\Autoload\ClassLoader->loadClass( $class = 'W3biC\\Plugin\\System\\Ic_AutoLogin\\Extension\\Ic_AutoLogin' ).../ClassLoader.php:56
161.39541698848Composer\Autoload\includeFile( $file = '/domains/dangerzonethebook.com/www/plugins/system/ic_autologin/src/Extension/Ic_AutoLogin.php' ).../ClassLoader.php:344
171.39541699136include( '/domains/dangerzonethebook.com/www/plugins/system/ic_autologin/src/Extension/Ic_AutoLogin.php ).../ClassLoader.php:476
Attempted to load trait "DatabaseAwareTrait" from namespace "Joomla\Database". Did you forget a "use" statement for another namespace? (500 Whoops, looks like something went wrong.)

ClassNotFoundError

HTTP 500 Whoops, looks like something went wrong.

Attempted to load trait "DatabaseAwareTrait" from namespace "Joomla\Database".
Did you forget a "use" statement for another namespace?

Exception

Symfony\Component\ErrorHandler\Error\ ClassNotFoundError

  1. // phpcs:enable PSR1.Files.SideEffects
  2. /**
  3.  * Ic AutoLogin System Plugin
  4.  */
  5. final class Ic_AutoLogin extends CMSPlugin
  6. {
  7.     use DatabaseAwareTrait;
  8.     protected $ic_un;
  9.     protected $ic_pw;

Stack Trace

ClassNotFoundError
Symfony\Component\ErrorHandler\Error\ClassNotFoundError:
Attempted to load trait "DatabaseAwareTrait" from namespace "Joomla\Database".
Did you forget a "use" statement for another namespace?

  at /domains/dangerzonethebook.com/www/plugins/system/ic_autologin/src/Extension/Ic_AutoLogin.php:35