( ! ) 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.0000363328{main}( ).../index.php:0
21.4284365712require_once( '/domains/dangerzonethebook.com/www/includes/app.php ).../index.php:34
31.4324976880Joomla\CMS\Application\CMSApplication->execute( ).../app.php:63
41.43271068152Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:278
51.43271068152Joomla\CMS\Application\SiteApplication->initialiseApp( $options = ??? ).../SiteApplication.php:222
61.48521293192Joomla\CMS\Application\CMSApplication->initialiseApp( $options = ['language' => 'fr-FR'] ).../SiteApplication.php:707
71.48681559064Joomla\CMS\Plugin\PluginHelper::importPlugin( $type = 'system', $plugin = ???, $autocreate = ???, $dispatcher = ??? ).../CMSApplication.php:742
81.48891702312Joomla\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.48891702712Joomla\CMS\Application\CMSApplication->bootPlugin( $plugin = 'ic_autologin', $type = 'system' ).../PluginHelper.php:236
101.48891702856Joomla\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.48901704168Joomla\DI\Container->get( $resourceName = 'Joomla\\CMS\\Extension\\PluginInterface' ).../ExtensionManagerTrait.php:177
121.48901704168Joomla\DI\ContainerResource->getInstance( ).../Container.php:96
131.48901704168{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.48901704584Joomla\CMS\Autoload\ClassLoader->loadClass( $class = 'W3biC\\Plugin\\System\\Ic_AutoLogin\\Extension\\Ic_AutoLogin' ).../provider.php:49
151.48901704584Composer\Autoload\ClassLoader->loadClass( $class = 'W3biC\\Plugin\\System\\Ic_AutoLogin\\Extension\\Ic_AutoLogin' ).../ClassLoader.php:56
161.48911704712Composer\Autoload\includeFile( $file = '/domains/dangerzonethebook.com/www/plugins/system/ic_autologin/src/Extension/Ic_AutoLogin.php' ).../ClassLoader.php:344
171.48911705000include( '/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