Bitte immer Live Url, PHP Version, Template Version und Template Name angeben
[GELÖST] AF::getDocument(): Return value must be of type Astroid\Document
- tonix90
-
Autor
- Junior Mitglied
-
- Beiträge: 25
- Dank erhalten: 1
rAstroid\Framework::getDocument(): Return value must be of type Astroid\Document wurde erstellt von tonix90
Posted 2 Jahre 2 Wochen her #1
PHP 8.2
Joomla 4.4.3
Astroid 3.0.11
th16169-web302.server13.vorschauseite.eu/
I install the template Brand an get a 500 with this stack
Astroid\Framework::getDocument(): Return value must be of type Astroid\Document, null returned
TypeError
in /var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/libraries/astroid/framework/library/astroid/Framework.php (line 88)
Framework::getDocument()
in /var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/templates/tp_travel/error.php (line 22)
require('/var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/templates/tp_travel/error.php')
in /var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/libraries/src/Document/HtmlDocument.php (line 721)
HtmlDocument->_loadTemplate('/var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/templates/tp_travel', 'error.php')
in /var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/libraries/src/Document/HtmlDocument.php (line 776)
HtmlDocument->_fetchTemplate(array('template' => 'tp_travel', 'directory' => '/var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/templates', 'debug' => true, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
in /var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/libraries/src/Document/HtmlDocument.php (line 612)
HtmlDocument->parse(array('template' => 'tp_travel', 'directory' => '/var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/templates', 'debug' => true, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
in /var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/libraries/src/Document/HtmlDocument.php (line 630)
HtmlDocument->render(false, array('template' => 'tp_travel', 'directory' => '/var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/templates', 'debug' => true, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
in /var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/libraries/src/Document/ErrorDocument.php (line 139)
ErrorDocument->render(false, array('template' => 'tp_travel', 'directory' => '/var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/templates', 'debug' => true, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
in /var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/libraries/src/Error/Renderer/HtmlRenderer.php (line 70)
HtmlRenderer->render(object(Error))
in /var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/libraries/src/Exception/ExceptionHandler.php (line 126)
ExceptionHandler::render(object(Error))
in /var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/libraries/src/Exception/ExceptionHandler.php (line 72)
ExceptionHandler::handleException(object(Error))
in /var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/libraries/src/Application/CMSApplication.php (line 322)
CMSApplication->execute()
in /var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/includes/app.php (line 61)
require_once('/var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/includes/app.php')
in /var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/index.php (line 32)
Joomla 4.4.3
Astroid 3.0.11
th16169-web302.server13.vorschauseite.eu/
I install the template Brand an get a 500 with this stack
Astroid\Framework::getDocument(): Return value must be of type Astroid\Document, null returned
TypeError
in /var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/libraries/astroid/framework/library/astroid/Framework.php (line 88)
Code:
return self::$reporters; } public static function getDocument(): Document { return self::$document; } public static function getTemplate($id = null): Template { if ($id !== null) {
Framework::getDocument()
in /var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/templates/tp_travel/error.php (line 22)
require('/var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/templates/tp_travel/error.php')
in /var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/libraries/src/Document/HtmlDocument.php (line 721)
HtmlDocument->_loadTemplate('/var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/templates/tp_travel', 'error.php')
in /var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/libraries/src/Document/HtmlDocument.php (line 776)
HtmlDocument->_fetchTemplate(array('template' => 'tp_travel', 'directory' => '/var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/templates', 'debug' => true, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
in /var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/libraries/src/Document/HtmlDocument.php (line 612)
HtmlDocument->parse(array('template' => 'tp_travel', 'directory' => '/var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/templates', 'debug' => true, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
in /var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/libraries/src/Document/HtmlDocument.php (line 630)
HtmlDocument->render(false, array('template' => 'tp_travel', 'directory' => '/var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/templates', 'debug' => true, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
in /var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/libraries/src/Document/ErrorDocument.php (line 139)
ErrorDocument->render(false, array('template' => 'tp_travel', 'directory' => '/var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/templates', 'debug' => true, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
in /var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/libraries/src/Error/Renderer/HtmlRenderer.php (line 70)
HtmlRenderer->render(object(Error))
in /var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/libraries/src/Exception/ExceptionHandler.php (line 126)
ExceptionHandler::render(object(Error))
in /var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/libraries/src/Exception/ExceptionHandler.php (line 72)
ExceptionHandler::handleException(object(Error))
in /var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/libraries/src/Application/CMSApplication.php (line 322)
CMSApplication->execute()
in /var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/includes/app.php (line 61)
require_once('/var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/includes/app.php')
in /var/www/vhosts/web302.server13.configcenter.info/httpdocs/aojoomla/index.php (line 32)
Last Edit:2 Jahre 1 Woche her
von tonix90
Letzte Änderung: 2 Jahre 1 Woche her von tonix90.
Dieses Thema wurde gesperrt.
- WM-Loose
-
- Moderator
-
- Beiträge: 2841
- Dank erhalten: 492
WM-Loose antwortete auf Astroid\Framework::getDocument(): Return value must be of type Astroid\Document
Posted 2 Jahre 2 Wochen her #2
Das Astroid Framework Plugin ist auch aktiviert?
Außerdem ist Brand nicht aktiviert sondern TP_Travel!
Außerdem ist Brand nicht aktiviert sondern TP_Travel!
JP-Administrator
Supporter im forum.joomla.de/
Supporter im forum.joomla.de/
Last Edit:2 Jahre 2 Wochen her
von WM-Loose
Letzte Änderung: 2 Jahre 2 Wochen her von WM-Loose.
Dieses Thema wurde gesperrt.
- tonix90
-
Autor
- Junior Mitglied
-
- Beiträge: 25
- Dank erhalten: 1
tonix90 antwortete auf Astroid\Framework::getDocument(): Return value must be of type Astroid\Document
Posted 2 Jahre 2 Wochen her #3
Ja ist aktiviert
das ist richtig , habe mit einem anderen Template testen wollen aber der Fehler bleibt der gleiche
das ist richtig , habe mit einem anderen Template testen wollen aber der Fehler bleibt der gleiche
von tonix90
Dieses Thema wurde gesperrt.
- tonix90
-
Autor
- Junior Mitglied
-
- Beiträge: 25
- Dank erhalten: 1
tonix90 antwortete auf Astroid\Framework::getDocument(): Return value must be of type Astroid\Document
Posted 2 Jahre 2 Wochen her #4
mit Astroid 2.6.6 bleibt das Problem auch
von tonix90
Dieses Thema wurde gesperrt.
- joomlaplates
-
- Moderator
-
- Beiträge: 2649
- Dank erhalten: 407
joomlaplates antwortete auf Astroid\Framework::getDocument(): Return value must be of type Astroid\Document
Posted 2 Jahre 2 Wochen her #5
Ich bekomme einen Fehler 403 auf ihrem Server
Fehler 403: Ihr Zugriff auf diese Seite wurde verweigert
Mögliche Ursachen für diesen Fehler sind:
Es wurde keine Index-Seite (z.B. index.html oder index.php) hinterlegt
Ihre Anfrage wurde von unserer Web Application Firewall unterbunden. Sofern Sie der Betreiber dieser Website sind, können Sie die Web Application Firewall in unserem Control Panel server13.configcenter.info:8443 anpassen oder deaktivieren.
von joomlaplates
Dieses Thema wurde gesperrt.
- tonix90
-
Autor
- Junior Mitglied
-
- Beiträge: 25
- Dank erhalten: 1
tonix90 antwortete auf [GELÖST] AF::getDocument(): Return value must be of type Astroid\Document
Posted 2 Jahre 1 Woche her #6
Neu-installation von allem hat den Fehler behoben
Last Edit:2 Jahre 1 Woche her
von tonix90
Letzte Änderung: 2 Jahre 1 Woche her von WM-Loose.
Dieses Thema wurde gesperrt.