( ! ) 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.0000361760{main}( ).../index.php:0
20.7040364144require_once( '/domains/dangerzonethebook.com/www/includes/app.php ).../index.php:34
30.7108976048Joomla\CMS\Application\CMSApplication->execute( ).../app.php:63
40.71131067320Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:278
50.71131067320Joomla\CMS\Application\SiteApplication->initialiseApp( $options = ??? ).../SiteApplication.php:222
60.72221289960Joomla\CMS\Application\CMSApplication->initialiseApp( $options = ['language' => 'fr-FR'] ).../SiteApplication.php:707
70.72411555832Joomla\CMS\Plugin\PluginHelper::importPlugin( $type = 'system', $plugin = ???, $autocreate = ???, $dispatcher = ??? ).../CMSApplication.php:742
80.72641699080Joomla\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.72641699480Joomla\CMS\Application\CMSApplication->bootPlugin( $plugin = 'ic_autologin', $type = 'system' ).../PluginHelper.php:236
100.72641699624Joomla\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.72651700936Joomla\DI\Container->get( $resourceName = 'Joomla\\CMS\\Extension\\PluginInterface' ).../ExtensionManagerTrait.php:177
120.72651700936Joomla\DI\ContainerResource->getInstance( ).../Container.php:96
130.72651700936{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.72661701352Joomla\CMS\Autoload\ClassLoader->loadClass( $class = 'W3biC\\Plugin\\System\\Ic_AutoLogin\\Extension\\Ic_AutoLogin' ).../provider.php:49
150.72661701352Composer\Autoload\ClassLoader->loadClass( $class = 'W3biC\\Plugin\\System\\Ic_AutoLogin\\Extension\\Ic_AutoLogin' ).../ClassLoader.php:56
160.72661701480Composer\Autoload\includeFile( $file = '/domains/dangerzonethebook.com/www/plugins/system/ic_autologin/src/Extension/Ic_AutoLogin.php' ).../ClassLoader.php:344
170.72661701768include( '/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