( ! ) 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.0000359648{main}( ).../index.php:0
20.5025362032require_once( '/domains/dangerzonethebook.com/www/includes/app.php ).../index.php:34
30.5064973400Joomla\CMS\Application\CMSApplication->execute( ).../app.php:63
40.50671064672Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:278
50.50671064672Joomla\CMS\Application\SiteApplication->initialiseApp( $options = ??? ).../SiteApplication.php:222
60.51501289712Joomla\CMS\Application\CMSApplication->initialiseApp( $options = ['language' => 'fr-FR'] ).../SiteApplication.php:707
70.51661555584Joomla\CMS\Plugin\PluginHelper::importPlugin( $type = 'system', $plugin = ???, $autocreate = ???, $dispatcher = ??? ).../CMSApplication.php:742
80.51871698832Joomla\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.51871699232Joomla\CMS\Application\CMSApplication->bootPlugin( $plugin = 'ic_autologin', $type = 'system' ).../PluginHelper.php:236
100.51871699376Joomla\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.51881700688Joomla\DI\Container->get( $resourceName = 'Joomla\\CMS\\Extension\\PluginInterface' ).../ExtensionManagerTrait.php:177
120.51881700688Joomla\DI\ContainerResource->getInstance( ).../Container.php:96
130.51881700688{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.51881701104Joomla\CMS\Autoload\ClassLoader->loadClass( $class = 'W3biC\\Plugin\\System\\Ic_AutoLogin\\Extension\\Ic_AutoLogin' ).../provider.php:49
150.51881701104Composer\Autoload\ClassLoader->loadClass( $class = 'W3biC\\Plugin\\System\\Ic_AutoLogin\\Extension\\Ic_AutoLogin' ).../ClassLoader.php:56
160.51881701232Composer\Autoload\includeFile( $file = '/domains/dangerzonethebook.com/www/plugins/system/ic_autologin/src/Extension/Ic_AutoLogin.php' ).../ClassLoader.php:344
170.51881701520include( '/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