Joomla 4 PHP 8.1 0 - Class "Uri" not found

soulless
9 Posts
soulless posted this 30 November 2023

Themler version 570

Message 0 - Class "Uri" not found, appears on new template after adding few elements and saving. Same result with versions 564 and newer...

Themler version 570 Message 0 - Class "Uri" not found, appears on new template after adding few elements and saving. Same result with versions 564 and newer...

Last edited 30 November 2023 by soulless

Vote to pay developers attention to this features or issue.
26 Comments
Order By: Standard | Newest
CHSNET
16 Posts
CHSNET posted this 04 December 2023

I have the same problem.

Joomla4 and Joomla5 - PHP 8.1

I have the same problem. Joomla4 and Joomla5 - PHP 8.1
haka81
15 Posts
haka81 posted this 05 December 2023

I have the same problem.
Joomla4 - PHP8.1

I have the same problem. Joomla4 - PHP8.1
Werbeagentur Schulz-Design
171 Posts
Werbeagentur Schulz-Design posted this 05 December 2023

Same Problem here!
Themler V 570
Joomla 4.4.1
PHP 8.1.26

Same Problem here! Themler V 570 Joomla 4.4.1 PHP 8.1.26
soulless
9 Posts
soulless posted this 12 December 2023

Dear support,

I just renewed mu subscription few days ago when I saw that Themler was updated, but this error (image below) showing every time I change something and save changes... I tried different versions of joomla (4-5), different versions of PHP (from 7.4.3 to 8.2.13) with same result - same error. It's not browser issue... tried various browsers - same result.

Can you pleases solve this annoying error asap..

Best regards

enter image description here

Dear support, I just renewed mu subscription few days ago when I saw that Themler was updated, but this error (image below) showing every time I change something and save changes... I tried different versions of joomla (4-5), different versions of PHP (from 7.4.3 to 8.2.13) with same result - same error. It's not browser issue... tried various browsers - same result. Can you pleases solve this annoying error asap.. Best regards ![enter image description here][1] [1]: https://x.img.in.rs/Rkl4

Last edited 12 December 2023 by soulless

AMoell
1 Posts
AMoell posted this 15 December 2023

Same here

Please solve this anyway asap!

Same here Please solve this anyway asap!
Eric-P
38 Posts
Eric-P posted this 17 December 2023

I confirm I have the same error displayed in joomla4 and joomla5.

I confirm I have the same error displayed in joomla4 and joomla5.
Werbeagentur Schulz-Design
171 Posts
Werbeagentur Schulz-Design posted this 18 December 2023

Is this starting again?
Why is an update released with errors and then no response again?

I'm starting to think they're deliberately trying to deceive us!
A quick update so that users believe that Themler is still alive, to sell one or two subscriptions on Black Friday, only to then be unreachable again.

WHEN WILL THIS PROBLEM BE FIXED???
I'm very angry!

Thorsten
Werbeagentur Schulz-Design

Is this starting again? Why is an update released with errors and then no response again? I'm starting to think they're deliberately trying to deceive us! A quick update so that users believe that Themler is still alive, to sell one or two subscriptions on Black Friday, only to then be unreachable again. WHEN WILL THIS PROBLEM BE FIXED??? I'm very angry! Thorsten [Werbeagentur Schulz-Design][1] [1]: https://www.schulzdesign.info
CHSNET
16 Posts
CHSNET posted this 18 December 2023

Ich weiß der Support ist grottenschlecht, aber eine erste reaktion zu diesem Thema gibt es in diesem Post:

https://answers.themler.io/questions/224495/themler-has-stopped-working

Ich weiß der Support ist grottenschlecht, aber eine erste reaktion zu diesem Thema gibt es in diesem Post: https://answers.themler.io/questions/224495/themler-has-stopped-working

Last edited 18 December 2023 by CHSNET

Eric-P
38 Posts
Eric-P posted this 18 December 2023

Other error if you do "insert/More/Search" as search control which doesn't work, it doesn't search anything.
Joomla 4 Php8.1

Other error if you do "insert/More/Search" as search control which doesn't work, it doesn't search anything. Joomla 4 Php8.1
plonkarchivist
1 Posts
plonkarchivist posted this 21 December 2023

I can verify that I encounter the same error in both Joomla 4 and Joomla 5. vampire survivors

I can verify that I encounter the same error in both Joomla 4 and Joomla 5. [vampire survivors][1] [1]: https://vampire-survival.com
larsenlola06
1 Posts
larsenlola06 posted this 21 December 2023

@drift hunters I am preparing on a parallel domain to upgrade to joomla 4.

@[drift hunters][1] I am preparing on a parallel domain to upgrade to joomla 4. [1]: https://drift-hunters.io
jeanmarcvieux
45 Posts
jeanmarcvieux posted this 29 December 2023

Same here

Same here
jeanmarcvieux
45 Posts
jeanmarcvieux posted this 29 December 2023

Hello,
With a little workaround I found that; (it's OK on my side)

Open your the page home_1.php in /templates/name-of-your-template/templates/
At line 5 between PHP tags copy :

defined('_JEXEC') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Uri\Uri;

Save it and it's done.

Hello, With a little workaround I found that; (it's OK on my side) Open your the page home_1.php in /templates/name-of-your-template/templates/ At line 5 between PHP tags copy : defined('_JEXEC') or die; use Joomla\CMS\Factory; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Uri\Uri; Save it and it's done.

Last edited 29 December 2023 by jeanmarcvieux

jeanmarcvieux
45 Posts
jeanmarcvieux posted this 29 December 2023

Themler version 570

Message 0 - Class "Uri" not found, appears on new template after adding few elements and saving. Same result with versions 564 and newer...

Hello,
With a little workaround I found that; (it's OK on my side)

Open your the page home_1.php in /templates/name-of-your-template/templates/
At line 5 between PHP tags copy :

defined('_JEXEC') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Uri\Uri;

Save it and it's done.
Do the same thing with other page like default, page# and blog.
Be carefull you have to add this each time you save the template.
I'm still working how to add this in the template

> Themler version 570 > > Message 0 - Class "Uri" not found, appears on new template after adding few elements and saving. Same result with versions 564 and newer... Hello, With a little workaround I found that; (it's OK on my side) Open your the page home_1.php in /templates/name-of-your-template/templates/ At line 5 between PHP tags copy : defined('_JEXEC') or die; use Joomla\CMS\Factory; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Uri\Uri; Save it and it's done. Do the same thing with other page like default, page# and blog. Be carefull you have to add this each time you save the template. I'm still working how to add this in the template

Last edited 29 December 2023 by jeanmarcvieux

CHSNET
16 Posts
CHSNET posted this 29 December 2023

Unfortunately it only works for a short time. After the upload, Themler automatically carries out an online update and the error is there again.

Unfortunately it only works for a short time. After the upload, Themler automatically carries out an online update and the error is there again.
jeanmarcvieux
45 Posts
jeanmarcvieux posted this 30 December 2023

Unfortunately it only works for a short time. After the upload, Themler automatically carries out an online update and the error is there again.

I've the solution now:

From home then settings add in the field additionnal head html between PHP tag :
"<?php" use joomla\cms\factory; use joomla\cms\html\htmlhelper; use joomla\cms\language\text; use joomla\cms\uri\uri; "?>"
Just withdraw the quote around PHP tag.
You can add it even if the error is in the editor. Add the lines and save.

capture

It's now OK on save

It is still unacceptable that THEMLER would allow such an error to persist. I looked for a different way to add it but couldn't find anything.
If someone knows how the app add code to the page let us know the way to add theses lines.

@themler: please add it asap

> Unfortunately it only works for a short time. After the upload, Themler automatically carries out an online update and the error is there again. I've the solution now: From home then settings add in the field additionnal head html between PHP tag : "&lt;?php&quot; use joomla\cms\factory; use joomla\cms\html\htmlhelper; use joomla\cms\language\text; use joomla\cms\uri\uri; &quot;?&gt;" Just withdraw the quote around PHP tag. You can add it even if the error is in the editor. Add the lines and save. ![capture][2] It's now OK on save It is still unacceptable that THEMLER would allow such an error to persist. I looked for a different way to add it but couldn't find anything. If someone knows how the app add code to the page let us know the way to add theses lines. @themler: please add it asap [1]: https://intelartifice.fr/capture.png [2]: https://ibb.co/M5PvbtJ

Last edited 30 December 2023 by jeanmarcvieux

annawood954
2 Posts
annawood954 posted this 01 January 2024

Common side effects of Kamagra Oral Jelly may include headaches, flushing, indigestion, nasal congestion, and changes in vision. More serious side effects are rare but can include prolonged erections (priapism) and sudden vision or hearing loss. If you experience any unusual or severe side effects, you should seek medical attention.

Common side effects of [Kamagra Oral Jelly][1] may include headaches, flushing, indigestion, nasal congestion, and changes in vision. More serious side effects are rare but can include prolonged erections (priapism) and sudden vision or hearing loss. If you experience any unusual or severe side effects, you should seek medical attention. [1]: https://sexmedz.com/product/kamagra-oral-jelly-100-mg/
codgerchervil
1 Posts
codgerchervil posted this 03 January 2024

I saw a similar problem in this post:
https://answers.themler.io/questions/224495/themler-has-stopped-working pumpkin panic

I saw a similar problem in this post: https://answers.themler.io/questions/224495/themler-has-stopped-working [pumpkin panic](https://pumpkinpanic.com)

Last edited 03 January 2024 by codgerchervil

jeanmarcvieux
45 Posts
jeanmarcvieux posted this 03 January 2024

I saw a similar problem in this post:
https://answers.themler.io/questions/224495/themler-has-stopped-working pumpkin panic

Hello,
just copy past what I wrote and it's done

From home then settings add in the field additionnal head html between PHP tag :
"<?php" use joomla\cms\factory; use joomla\cms\html\htmlhelper; use joomla\cms\language\text; use joomla\cms\uri\uri; "?>"
Just withdraw the quote around PHP tag.
You can add it even if the error is in the editor. Add the lines and save.

> I saw a similar problem in this post: > https://answers.themler.io/questions/224495/themler-has-stopped-working [pumpkin panic](https://pumpkinpanic.com) Hello, just copy past what I wrote and it's done From home then settings add in the field additionnal head html between PHP tag : "&lt;?php&quot; use joomla\cms\factory; use joomla\cms\html\htmlhelper; use joomla\cms\language\text; use joomla\cms\uri\uri; &quot;?&gt;" Just withdraw the quote around PHP tag. You can add it even if the error is in the editor. Add the lines and save.
Werbeagentur Schulz-Design
171 Posts
Werbeagentur Schulz-Design posted this 27 February 2024

Hello jeanmarcvieux

From home then settings add in the field additionnal head html between PHP tag :
"<?php" use joomla\cms\factory; use joomla\cms\html\htmlhelper; use joomla\cms\language\text; use joomla\cms\uri\uri; "?>"
Just withdraw the quote around PHP tag.

Thank you for your great help.
Unfortunately it doesn't work for me. Maybe I'm doing something wrong too.
I used the following code (e.g. at home_1.php) from line 4:

    <?php use joomla\cms\factory; use joomla\cms\html\htmlhelper; use joomla\cms\language\text; use joomla\cms\uri\uri;
    $base = $document->getBase();
    if (!empty($base)) {
        echo '<base href="' . $base . '" />';
        $document->setBase('');
    }
?>

Unfortunately the error still exists.
Did I do something wrong?

Many thanks for your support.

Best regards
Thorsten
Werbeagentur Schulz-Design

Hello jeanmarcvieux > From home then settings add in the field additionnal head html between PHP tag : > "&lt;?php&quot; use joomla\cms\factory; use joomla\cms\html\htmlhelper; use joomla\cms\language\text; use joomla\cms\uri\uri; &quot;?&gt;" > Just withdraw the quote around PHP tag. Thank you for your great help. Unfortunately it doesn't work for me. Maybe I'm doing something wrong too. I used the following code (e.g. at home_1.php) from line 4: <?php use joomla\cms\factory; use joomla\cms\html\htmlhelper; use joomla\cms\language\text; use joomla\cms\uri\uri; $base = $document->getBase(); if (!empty($base)) { echo '<base href="' . $base . '" />'; $document->setBase(''); } ?> Unfortunately the error still exists. Did I do something wrong? Many thanks for your support. Best regards Thorsten [Werbeagentur Schulz-Design][1] [1]: https://www.schulzdesign.info
You must log in or register to leave comments