( ! ) 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.0000359896{main}( ).../index.php:0
20.4422362280require_once( '/domains/dangerzonethebook.com/www/includes/app.php ).../index.php:35
30.4461973472Joomla\CMS\Application\CMSApplication->execute( ).../app.php:63
40.44651064744Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:278
50.44651064744Joomla\CMS\Application\SiteApplication->initialiseApp( $options = ??? ).../SiteApplication.php:222
60.49771287384Joomla\CMS\Application\CMSApplication->initialiseApp( $options = ['language' => 'fr-FR'] ).../SiteApplication.php:707
70.50011553256Joomla\CMS\Plugin\PluginHelper::importPlugin( $type = 'system', $plugin = ???, $autocreate = ???, $dispatcher = ??? ).../CMSApplication.php:742
80.50311696504Joomla\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
90.50311696904Joomla\CMS\Application\CMSApplication->bootPlugin( $plugin = 'ic_autologin', $type = 'system' ).../PluginHelper.php:236
100.50311697048Joomla\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
110.50321698360Joomla\DI\Container->get( $resourceName = 'Joomla\\CMS\\Extension\\PluginInterface' ).../ExtensionManagerTrait.php:177
120.50321698360Joomla\DI\ContainerResource->getInstance( ).../Container.php:96
130.50321698360{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
140.50331698776Joomla\CMS\Autoload\ClassLoader->loadClass( $class = 'W3biC\\Plugin\\System\\Ic_AutoLogin\\Extension\\Ic_AutoLogin' ).../provider.php:49
150.50331698776Composer\Autoload\ClassLoader->loadClass( $class = 'W3biC\\Plugin\\System\\Ic_AutoLogin\\Extension\\Ic_AutoLogin' ).../ClassLoader.php:56
160.50331698904Composer\Autoload\includeFile( $file = '/domains/dangerzonethebook.com/www/plugins/system/ic_autologin/src/Extension/Ic_AutoLogin.php' ).../ClassLoader.php:344
170.50331699192include( '/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