Solved Templates

Template: Innovate - error 404 after switch PHP to version 8

Asked by Marek 2 years ago Last activity 2 years ago

After switching Domena from PHP 7.4 to version 8, the page will show a 404 "Cannot Access Out Type String on String" error.
Thank you for your help.

Joomla 4.4.2
SP Page Builder Pro 3.8.10
Innovate: 2.0

Erorr during debug mod:
1 () JROOT/libraries/src/HTML/HTMLHelper.php:795
2 Joomla\CMS\HTML\HTMLHelper::script() JROOT/libraries/src/HTML/HTMLHelper.php:292
3 Joomla\CMS\HTML\HTMLHelper::call() JROOT/libraries/src/HTML/HTMLHelper.php:180
4 Joomla\CMS\HTML\HTMLHelper::_() JROOT/templates/innovate/index.php:151
5 require() JROOT/libraries/src/Document/HtmlDocument.php:721
6 Joomla\CMS\Document\HtmlDocument->_loadTemplate() JROOT/libraries/src/Document/HtmlDocument.php:776
7 Joomla\CMS\Document\HtmlDocument->_fetchTemplate() JROOT/libraries/src/Document/HtmlDocument.php:612
8 Joomla\CMS\Document\HtmlDocument->parse() JROOT/libraries/src/Application/CMSApplication.php:1012
9 Joomla\CMS\Application\CMSApplication->render() JROOT/libraries/src/Application/SiteApplication.php:724
10 Joomla\CMS\Application\SiteApplication->render() JROOT/libraries/src/Application/CMSApplication.php:298
11 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
12 require_once() JROOT/index.php:32

Accepted answer

Marked as the solution
Ofi Khan Staff

There was incorrect code in templates/innovate/index.php. I have removed this. I have also overriden Image Carousel addon. Now, your site looks good.

6 more replies

Ofi Khan Staff

Hello Marek

Please update your PHP version to 8.0 and share screenshots of where you see the error. Take a screenshot and share via any platform. For example: Lightshot or Imgur

Best regards

Ofi Khan Staff

Which page has this error? Please share the error page link to check.

Marek Asked this

The error is at www.janicko.com. Error occurs after switching PHP7.4 to version 8.
I switched it to version 8 and turned on the debug mod now.
Please check it.
Thank you

Marek Asked this

Thank you very much.
I found what you edited and helped me fix the test versions of the site.

Ofi Khan Staff

You are welcome 😊

I have a humble request. It would be very kind of you if you can manage some moment to give us feedback on 

  1. Joomla Extension Directory
  2. TrustPilot

This will inspire us to improve.

Log in to reply.