Warning: include_once(/home/britelight/public_html/administrator/components/com_hikashop/helpers/../pluginCompatAliases.php): Failed to open stream: No such file or directory in /home/britelight/public_html/administrator/components/com_hikashop/helpers/helper.php on line 39

Warning: include_once(): Failed opening '/home/britelight/public_html/administrator/components/com_hikashop/helpers/../pluginCompatAliases.php' for inclusion (include_path='.:/opt/cpanel/ea-php83/root/usr/share/pear') in /home/britelight/public_html/administrator/components/com_hikashop/helpers/helper.php on line 39

Warning: include_once(/home/britelight/public_html/administrator/components/com_hikashop/pluginCompat.php): Failed to open stream: No such file or directory in /home/britelight/public_html/administrator/components/com_hikashop/helpers/helper.php on line 3829

Warning: include_once(): Failed opening '/home/britelight/public_html/administrator/components/com_hikashop/pluginCompat.php' for inclusion (include_path='.:/opt/cpanel/ea-php83/root/usr/share/pear') in /home/britelight/public_html/administrator/components/com_hikashop/helpers/helper.php on line 3829
Attempted to load class "hikashopJoomlaPlugin" from the global namespace. Did you forget a "use" statement? (500 Whoops, looks like something went wrong.)

ClassNotFoundError

HTTP 500 Whoops, looks like something went wrong.

Attempted to load class "hikashopJoomlaPlugin" from the global namespace.
Did you forget a "use" statement?

Exception

Symfony\Component\ErrorHandler\Error\ ClassNotFoundError

  1. }
  2. }
  3. include_once(JPATH_ROOT.'/administrator/components/com_hikashop/pluginCompat.php');
  4. #[AllowDynamicProperties]
  5. class hikashopPlugin extends hikashopJoomlaPlugin {
  6. var $db;
  7. var $type = 'plugin';
  8. var $multiple = false;
  9. var $plugin_params = null;
  10. var $toolbar = array();
  1. {
  2. $segments = array();
  3. $params = array('option','Itemid','start','format','limitstart','lang','cart_id', 'tmpl');
  4. if(!defined('DS'))
  5. define('DS', DIRECTORY_SEPARATOR);
  6. if(function_exists('hikashop_config') || include_once(rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikashop'.DS.'helpers'.DS.'helper.php')) {
  7. \Joomla\CMS\Plugin\PluginHelper::importPlugin('hikashop');
  8. $app = \Joomla\CMS\Factory::getApplication();
  9. $app->triggerEvent('onBeforeHikashopBuildRoute', array(&$query, $separator, &$params));
  10. $config = hikashop_config();
_HikashopBuildRoute(array('option' => 'com_hikashop', 'view' => 'user', 'layout' => 'cpanel', 'Itemid' => '104')) in /home/britelight/public_html/components/com_hikashop/router.php (line 17)
  1. $jversion = preg_replace('#[^0-9\.]#i','',JVERSION);
  2. if(version_compare($jversion,'4.0.0','>=')) {
  3. class hikashopRouter extends Joomla\CMS\Component\Router\RouterBase {
  4. public function build(&$query) {
  5. return _HikashopBuildRoute($query);
  6. }
  7. public function parse(&$segments) {
  8. return _HikashopParseRoute($segments);
  9. }
hikashopRouter->build(array('option' => 'com_hikashop', 'view' => 'user', 'layout' => 'cpanel', 'Itemid' => '104')) in /home/britelight/public_html/libraries/src/Router/SiteRouter.php (line 450)
  1. $item = empty($query['Itemid']) ? null : $this->menu->getItem($query['Itemid']);
  2. // Build the component route
  3. $component = preg_replace('/[^A-Z0-9_\.-]/i', '', $query['option']);
  4. $crouter = $this->getComponentRouter($component);
  5. $parts = $crouter->build($query);
  6. $tmp = trim(implode('/', $parts));
  7. // Build the application route
  8. if ($item !== null && $query['option'] === $item->component) {
  9. if (!$item->home) {
SiteRouter->buildSefRoute(object(SiteRouter), object(Uri)) in /home/britelight/public_html/libraries/src/Router/Router.php (line 446)
  1. if (!\array_key_exists('build' . $stage, $this->rules)) {
  2. throw new \InvalidArgumentException(\sprintf('The %s stage is not registered. (%s)', $stage, __METHOD__));
  3. }
  4. foreach ($this->rules['build' . $stage] as $rule) {
  5. \call_user_func_array($rule, [&$this, &$uri]);
  6. }
  7. }
  8. /**
  9. * Create a uri based on a full or partial URL string
Router->processBuildRules(object(Uri)) in /home/britelight/public_html/libraries/src/Router/Router.php (line 205)
  1. // Do the preprocess stage of the URL build process
  2. $this->processBuildRules($uri, self::PROCESS_BEFORE);
  3. // Do the main stage of the URL build process
  4. $this->processBuildRules($uri);
  5. // Do the postprocess stage of the URL build process
  6. $this->processBuildRules($uri, self::PROCESS_AFTER);
  7. $this->cache[$key] = clone $uri;
Router->build('index.php?option=com_hikashop&view=user&layout=cpanel&Itemid=104') in /home/britelight/public_html/libraries/src/Router/Route.php (line 150)
  1. if (!isset(self::$_router[$client])) {
  2. throw new \RuntimeException(Text::sprintf('JLIB_APPLICATION_ERROR_ROUTER_LOAD', $client), 500);
  3. }
  4. // Build route.
  5. $uri = self::$_router[$client]->build($url);
  6. $scheme = ['path', 'query', 'fragment'];
  7. /*
  8. * Get the secure/unsecure URLs.
  9. *
Route::link('site', 'index.php?option=com_hikashop&view=user&layout=cpanel&Itemid=104', true, 0, false) in /home/britelight/public_html/libraries/src/Router/Route.php (line 99)
  1. }
  2. $app = Factory::getApplication();
  3. $client = $app->getName();
  4. return static::link($client, $url, $xhtml, $tls, $absolute);
  5. } catch (\RuntimeException) {
  6. /**
  7. * @deprecated 3.9 this method will not fail silently from 6.0
  8. * Before 3.9.0 this method failed silently on router error. This B/C will be removed in Joomla 6.0
  9. */
Route::_('index.php?option=com_hikashop&view=user&layout=cpanel&Itemid=104') in /home/britelight/public_html/plugins/system/sef/src/Extension/Sef.php (line 291)
  1. preg_match_all('#href="' . $prefix . 'index.php\?([^"]+)"#m', $buffer, $matches);
  2. foreach ($matches[1] as $urlQueryString) {
  3. $buffer = str_replace(
  4. 'href="' . $prefix . 'index.php?' . $urlQueryString . '"',
  5. 'href="' . $prefix . Route::_('index.php?' . $urlQueryString) . '"',
  6. $buffer
  7. );
  8. }
  9. $this->checkBuffer($buffer);
Sef->rewriteUrls(object(SiteApplication)) in /home/britelight/public_html/plugins/system/sef/src/Extension/Sef.php (line 255)
  1. return;
  2. }
  3. // Only run this specifically for Error pages, as normal pages are handled in onAfterRender
  4. if ($app->getDocument() instanceof ErrorDocument) {
  5. $this->rewriteUrls($app);
  6. }
  7. }
  8. /**
  9. * Core logic to rewrite relative URLs in the body buffer
  1. foreach ($this->listeners[$event->getName()] as $listener) {
  2. if ($event->isStopped()) {
  3. return $event;
  4. }
  5. $listener($event);
  6. }
  7. }
  8. return $event;
  9. }
  1. $dispatcher = $this->getDispatcher();
  2. } catch (\UnexpectedValueException $exception) {
  3. return null;
  4. }
  5. return $dispatcher->dispatch($eventName, $event ?: new ApplicationEvent($eventName, $this));
  6. }
  7. /**
  8. * Method to run the application routines.
  9. *
AbstractApplication->dispatchEvent('onBeforeRespond', object(BeforeRespondEvent)) in /home/britelight/public_html/libraries/src/Application/CMSApplication.php (line 338)
  1. ExceptionHandler::handleException($event->getError());
  2. }
  3. // Trigger the onBeforeRespond event.
  4. $this->dispatchEvent(
  5. 'onBeforeRespond',
  6. new BeforeRespondEvent('onBeforeRespond', ['subject' => $this])
  7. );
  8. // Send the application response.
CMSApplication->execute() in /home/britelight/public_html/includes/app.php (line 58)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application = $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/home/britelight/public_html/includes/app.php') in /home/britelight/public_html/index.php (line 51)
  1. // ... die
  2. die();
  3. }
  4. // Run the application - All executable code should be triggered through this file
  5. require_once __DIR__ . '/includes/app.php';

Stack Trace

ClassNotFoundError
Symfony\Component\ErrorHandler\Error\ClassNotFoundError:
Attempted to load class "hikashopJoomlaPlugin" from the global namespace.
Did you forget a "use" statement?

  at /home/britelight/public_html/administrator/components/com_hikashop/helpers/helper.php:3831
  at include_once()
     (/home/britelight/public_html/components/com_hikashop/router.php:34)
  at _HikashopBuildRoute(array('option' => 'com_hikashop', 'view' => 'user', 'layout' => 'cpanel', 'Itemid' => '104'))
     (/home/britelight/public_html/components/com_hikashop/router.php:17)
  at hikashopRouter->build(array('option' => 'com_hikashop', 'view' => 'user', 'layout' => 'cpanel', 'Itemid' => '104'))
     (/home/britelight/public_html/libraries/src/Router/SiteRouter.php:450)
  at Joomla\CMS\Router\SiteRouter->buildSefRoute(object(SiteRouter), object(Uri))
     (/home/britelight/public_html/libraries/src/Router/Router.php:446)
  at Joomla\CMS\Router\Router->processBuildRules(object(Uri))
     (/home/britelight/public_html/libraries/src/Router/Router.php:205)
  at Joomla\CMS\Router\Router->build('index.php?option=com_hikashop&view=user&layout=cpanel&Itemid=104')
     (/home/britelight/public_html/libraries/src/Router/Route.php:150)
  at Joomla\CMS\Router\Route::link('site', 'index.php?option=com_hikashop&view=user&layout=cpanel&Itemid=104', true, 0, false)
     (/home/britelight/public_html/libraries/src/Router/Route.php:99)
  at Joomla\CMS\Router\Route::_('index.php?option=com_hikashop&view=user&layout=cpanel&Itemid=104')
     (/home/britelight/public_html/plugins/system/sef/src/Extension/Sef.php:291)
  at Joomla\Plugin\System\Sef\Extension\Sef->rewriteUrls(object(SiteApplication))
     (/home/britelight/public_html/plugins/system/sef/src/Extension/Sef.php:255)
  at Joomla\Plugin\System\Sef\Extension\Sef->onBeforeRespond(object(BeforeRespondEvent))
     (/home/britelight/public_html/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch('onBeforeRespond', object(BeforeRespondEvent))
     (/home/britelight/public_html/libraries/vendor/joomla/application/src/AbstractApplication.php:99)
  at Joomla\Application\AbstractApplication->dispatchEvent('onBeforeRespond', object(BeforeRespondEvent))
     (/home/britelight/public_html/libraries/src/Application/CMSApplication.php:338)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/britelight/public_html/includes/app.php:58)
  at require_once('/home/britelight/public_html/includes/app.php')
     (/home/britelight/public_html/index.php:51)