0 Class "Html" Not Found - Question | JoomShaper

0 Class "Html" Not Found

TK

Tatiana K.

Helix Framework 3 months ago

Hallo,

following mistakes

0 Class "Html" not found Call Stack

Function Location

1 () JROOT/templates/themis/offline.php:65 2 require() JROOT/libraries/src/Document/HtmlDocument.php:731 3 Joomla\CMS\Document\HtmlDocument->_loadTemplate() JROOT/libraries/src/Document/HtmlDocument.php:785 4 Joomla\CMS\Document\HtmlDocument->_fetchTemplate() JROOT/libraries/src/Document/HtmlDocument.php:622 5 Joomla\CMS\Document\HtmlDocument->parse() JROOT/libraries/src/Application/CMSApplication.php:1057 6 Joomla\CMS\Application\CMSApplication->render() JROOT/libraries/src/Application/SiteApplication.php:732 7 Joomla\CMS\Application\SiteApplication->render() JROOT/libraries/src/Application/CMSApplication.php:311 8 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:58 9 require_once() JROOT/index.php:32

0
7 Answers
JL
Joe Lockhart
Accepted Answer
3 months ago #146167

Have you checked on your server to see if you're using the right php?

0
TK
Tatiana K.
Accepted Answer
3 months ago #146169

Thanks Joe,

but is ok. PHP-Version 8.2.13

0
TK
Tatiana K.
Accepted Answer
3 months ago #146170

Chatgpt means

The provided error message originates from a PHP application, likely within a Joomla!-based Content Management System (CMS). Here is a brief analysis of the message:

The error occurs in the file offline.php, located in the directory JROOT/templates/themis/, at line 65.
The error is triggered by a require() statement in the file HtmlDocument.php, which is located in the directory JROOT/libraries/src/Document/. Specifically, at line 731 of this file.
The require() statement is part of the _loadTemplate() method defined in the HtmlDocument class (line 785).
This method, in turn, calls the _fetchTemplate() method (line 622).
The error occurs during the parsing of the HTML document, initiated by the parse() method in the HtmlDocument class (line 1057).
The actual invocation of the parse() method happens in the CMSApplication class (Content Management System Application) in the file CMSApplication.php (line 311).
The application then attempts to render (line 732), and finally, the execute() method is called in the file app.php (line 58).
The entire process begins with the invocation of the index.php file in JROOT (line 32).

The exact cause of the error can vary, and it's important to note that this is only a general analysis based on the provided error message. To resolve the issue, it is necessary to inspect the code in the mentioned files and determine the specific cause of the error. It could be a missing file path, a syntax error, or another issue. Dependencies might also be incorrectly installed. Reviewing the relevant code lines in the mentioned files could provide further insights.

Unfortunately I am not a programmer.

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 3 months ago #146237

Hi Tatiana K.

Thanks for contacting us and sorry for your issue.

Would you please try to downgrade to PHP 8.1 or PHP 8.0 to see if it helps?

Best Regards

0
TK
Tatiana K.
Accepted Answer
3 months ago #146248

Hallo Rashida,

I tried both. Even I deleted the cache in the Joomla system and in the browser. Nothing changed.

Edit: Now at 8.0 ... it comes

Sorry, your PHP version is not supported

Your host needs to use PHP version 8.1.0 or newer to run this version of Joomla!

--> here doesnt work the backend

With 8.1 it coms:

0 Class "Html" not found

--> Here works the backend.

0
TK
Tatiana K.
Accepted Answer
3 months ago #146256

Here the screenshot from the mistakes

https://prnt.sc/G2YMg-PdveYV

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 months ago #146794

Hi there!

Sorry to hear that and for the delayed response. Would you plese request your host to use PHP 8.0 untill the Themis template gets next template update with higher PHP support?

Best Regards

0