0 Call To Undefined Method Joomla\CMS\Uri\Uri::_() - Question | JoomShaper

0 Call To Undefined Method Joomla\CMS\Uri\Uri::_()

cppleal

cppleal

Template 2 years ago

Hello. I have a problem migrating from Joomla 3 to 4 with the "Ensure" template.

I have checked all the extensions and I can't find the solution to the problem. I correctly display the articles from the main page, but when I go to menu options that show articles in blog format, it gives me this error.

If you could help me with this?

At the moment I am working on localhost... This is the detail of the error:

Call stack Function Location 1 () JROOT\templates\ensure\html\com_content\category\blog_item.php:93 2 include() JROOT\libraries\src\MVC\View\HtmlView.php:410 3 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT\templates\ensure\html\com_content\category\blog.php:88 4 include() JROOT\libraries\src\MVC\View\HtmlView.php:410

Greetings.

0
5 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #100294

Hello cppleal

Please take a full site backup with Akeeba Backup in ZIP format and share here. Follow this tutorial

Best regards

0
cppleal
cppleal
Accepted Answer
2 years ago #100368

Attached backup.

Thanks

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #110152

Apology for the delayed response. Please go to this location: templates/ensure/html/com_content/category and replace blog_item.php file with the attached file. You need to unzip the file and then replace.

blog_item.php.zip

0
PD
Peter Dowse
Accepted Answer
1 year ago #159066

Thanks - also had this issue and this fix was just what was needed.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 year ago #159084

Hello Peter Dowse

You are welcome 😊

Best regards

0