Notice: Undefined offset: 0 in /home2/mourasi1/domains/mourasiloon.com/public_html/libraries/src/Application/SiteApplication.php on line 479

Notice: Trying to get property 'template' of non-object in /home2/mourasi1/domains/mourasiloon.com/public_html/libraries/src/Application/SiteApplication.php on line 498

Warning: Creating default object from empty value in /home2/mourasi1/domains/mourasiloon.com/public_html/libraries/src/Application/SiteApplication.php on line 498

Notice: Undefined offset: 0 in /home2/mourasi1/domains/mourasiloon.com/public_html/libraries/src/Application/SiteApplication.php on line 479

Notice: Trying to get property 'template' of non-object in /home2/mourasi1/domains/mourasiloon.com/public_html/libraries/src/Application/SiteApplication.php on line 498

Warning: Creating default object from empty value in /home2/mourasi1/domains/mourasiloon.com/public_html/libraries/src/Application/SiteApplication.php on line 498
لايمكن ايجاد القالب "". (500 Whoops, looks like something went wrong.)

InvalidArgumentException InvalidArgumentException

HTTP 500 Whoops, looks like something went wrong.

لايمكن ايجاد القالب "".

Exceptions 2

InvalidArgumentException

  1.                 }
  2.             }
  3.             // Check, the data were found and if template really exists
  4.             if (!is_file(JPATH_THEMES '/' $template->template '/index.php')) {
  5.                 throw new \InvalidArgumentException(Text::sprintf('JERROR_COULD_NOT_FIND_TEMPLATE'$original_tmpl));
  6.             }
  7.         }
  8.         // Cache the result
  9.         $this->template $template;
  1.     public function render(\Throwable $error): string
  2.     {
  3.         $app Factory::getApplication();
  4.         // Get the current template from the application
  5.         $template $app->getTemplate(true);
  6.         // Push the error object into the document
  7.         $this->getDocument()->setError($error);
  8.         // Add registry file for the template asset
  1.             // Reset the document object in the factory, this gives us a clean slate and lets everything render properly
  2.             Factory::$document $renderer->getDocument();
  3.             Factory::getApplication()->loadDocument(Factory::$document);
  4.             $data $renderer->render($error);
  5.             // If nothing was rendered, just use the message from the Exception
  6.             if (empty($data)) {
  7.                 $data $error->getMessage();
  8.             }
  1.      * @since   3.10.0
  2.      */
  3.     public static function handleException(\Throwable $error)
  4.     {
  5.         static::logException($error);
  6.         static::render($error);
  7.     }
  8.     /**
  9.      * Render the error page based on an exception.
  10.      *
  1.             );
  2.             // Trigger the onError event.
  3.             $this->triggerEvent('onError'$event);
  4.             ExceptionHandler::handleException($event->getError());
  5.         }
  6.         // Trigger the onBeforeRespond event.
  7.         $this->getDispatcher()->dispatch('onBeforeRespond');
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/home2/mourasi1/domains/mourasiloon.com/public_html/includes/app.php') in /home2/mourasi1/domains/mourasiloon.com/public_html/index.php (line 32)
  1.  * define() is used rather than "const" to not error for PHP 5.2 and lower
  2.  */
  3. define('_JEXEC'1);
  4. // Run the application - All executable code should be triggered through this file
  5. require_once dirname(__FILE__) . '/includes/app.php';

InvalidArgumentException

لايمكن ايجاد القالب "".

  1.                 }
  2.             }
  3.             // Check, the data were found and if template really exists
  4.             if (!is_file(JPATH_THEMES '/' $template->template '/index.php')) {
  5.                 throw new \InvalidArgumentException(Text::sprintf('JERROR_COULD_NOT_FIND_TEMPLATE'$original_tmpl));
  6.             }
  7.         }
  8.         // Cache the result
  9.         $this->template $template;
  1.         $this->addUrl($update);
  2.         // Add the favicon as the default image
  3.         // Try to find a favicon by checking the template and root folder
  4.         $app  Factory::getApplication();
  5.         $dirs = [JPATH_THEMES '/' $app->getTemplate(), JPATH_BASE];
  6.         foreach ($dirs as $dir) {
  7.             if (is_file($dir '/favicon.ico')) {
  8.                 $path    str_replace(JPATH_BASE''$dir);
  9.                 $path    str_replace('\\''/'$path);
  1.         if (!isset($attributes['factory'])) {
  2.             $attributes['factory'] = $this;
  3.         }
  4.         /** @var Document $instance */
  5.         $instance = new $class($attributes);
  6.         if (!\is_null($ntype)) {
  7.             // Set the type to the Document type originally requested
  8.             $instance->setType($ntype);
  9.         }
  1.             'language'     => $lang->getTag(),
  2.             'direction'    => $lang->isRtl() ? 'rtl' 'ltr',
  3.             'mediaversion' => $version->getMediaVersion(),
  4.         ];
  5.         return self::getContainer()->get(FactoryInterface::class)->createDocument($type$attributes);
  6.     }
  7.     /**
  8.      * Creates a new stream object with appropriate prefix
  9.      *
  1.             ),
  2.             E_USER_DEPRECATED
  3.         );
  4.         if (!self::$document) {
  5.             self::$document self::createDocument();
  6.         }
  7.         return self::$document;
  8.     }
  1.      *
  2.      * @since   1.7.3
  3.      */
  4.     public function loadDocument(Document $document null)
  5.     {
  6.         $this->document $document ?? Factory::getDocument();
  7.         return $this;
  8.     }
  9.     /**
  1.         if (!$component) {
  2.             $component $this->input->getCmd('option'null);
  3.         }
  4.         // Load the document to the API
  5.         $this->loadDocument();
  6.         // Set up the params
  7.         $document $this->getDocument();
  8.         $params   $this->getParams();
  1.              */
  2.             $this->checkUserRequireReset('com_users''profile''edit''com_users/profile.save,com_users/profile.apply,com_users/user.logout');
  3.         }
  4.         // Dispatch the application
  5.         $this->dispatch();
  6.         // Mark afterDispatch in the profiler.
  7.         JDEBUG $this->profiler->mark('afterDispatch') : null;
  8.     }
  1.             $this->sanityCheckSystemVariables();
  2.             $this->setupLogging();
  3.             $this->createExtensionNamespaceMap();
  4.             // Perform application routines.
  5.             $this->doExecute();
  6.             // If we have an application document object, render it.
  7.             if ($this->document instanceof \Joomla\CMS\Document\Document) {
  8.                 // Render the application output.
  9.                 $this->render();
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/home2/mourasi1/domains/mourasiloon.com/public_html/includes/app.php') in /home2/mourasi1/domains/mourasiloon.com/public_html/index.php (line 32)
  1.  * define() is used rather than "const" to not error for PHP 5.2 and lower
  2.  */
  3. define('_JEXEC'1);
  4. // Run the application - All executable code should be triggered through this file
  5. require_once dirname(__FILE__) . '/includes/app.php';

Stack Traces 2

[2/2] InvalidArgumentException
InvalidArgumentException:
لايمكن ايجاد القالب "".

  at /home2/mourasi1/domains/mourasiloon.com/public_html/libraries/src/Application/SiteApplication.php:537
  at Joomla\CMS\Application\SiteApplication->getTemplate()
     (/home2/mourasi1/domains/mourasiloon.com/public_html/libraries/src/Error/Renderer/HtmlRenderer.php:50)
  at Joomla\CMS\Error\Renderer\HtmlRenderer->render()
     (/home2/mourasi1/domains/mourasiloon.com/public_html/libraries/src/Exception/ExceptionHandler.php:126)
  at Joomla\CMS\Exception\ExceptionHandler::render()
     (/home2/mourasi1/domains/mourasiloon.com/public_html/libraries/src/Exception/ExceptionHandler.php:72)
  at Joomla\CMS\Exception\ExceptionHandler::handleException()
     (/home2/mourasi1/domains/mourasiloon.com/public_html/libraries/src/Application/CMSApplication.php:322)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home2/mourasi1/domains/mourasiloon.com/public_html/includes/app.php:61)
  at require_once('/home2/mourasi1/domains/mourasiloon.com/public_html/includes/app.php')
     (/home2/mourasi1/domains/mourasiloon.com/public_html/index.php:32)                
[1/2] InvalidArgumentException
InvalidArgumentException:
لايمكن ايجاد القالب "".

  at /home2/mourasi1/domains/mourasiloon.com/public_html/libraries/src/Application/SiteApplication.php:537
  at Joomla\CMS\Application\SiteApplication->getTemplate()
     (/home2/mourasi1/domains/mourasiloon.com/public_html/libraries/src/Document/OpensearchDocument.php:85)
  at Joomla\CMS\Document\OpensearchDocument->__construct()
     (/home2/mourasi1/domains/mourasiloon.com/public_html/libraries/src/Document/Factory.php:60)
  at Joomla\CMS\Document\Factory->createDocument()
     (/home2/mourasi1/domains/mourasiloon.com/public_html/libraries/src/Factory.php:786)
  at Joomla\CMS\Factory::createDocument()
     (/home2/mourasi1/domains/mourasiloon.com/public_html/libraries/src/Factory.php:338)
  at Joomla\CMS\Factory::getDocument()
     (/home2/mourasi1/domains/mourasiloon.com/public_html/libraries/src/Application/WebApplication.php:278)
  at Joomla\CMS\Application\WebApplication->loadDocument()
     (/home2/mourasi1/domains/mourasiloon.com/public_html/libraries/src/Application/SiteApplication.php:154)
  at Joomla\CMS\Application\SiteApplication->dispatch()
     (/home2/mourasi1/domains/mourasiloon.com/public_html/libraries/src/Application/SiteApplication.php:249)
  at Joomla\CMS\Application\SiteApplication->doExecute()
     (/home2/mourasi1/domains/mourasiloon.com/public_html/libraries/src/Application/CMSApplication.php:293)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home2/mourasi1/domains/mourasiloon.com/public_html/includes/app.php:61)
  at require_once('/home2/mourasi1/domains/mourasiloon.com/public_html/includes/app.php')
     (/home2/mourasi1/domains/mourasiloon.com/public_html/index.php:32)