Error After Update Joomla 3 To 4 - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Error After Update Joomla 3 To 4

M

Marco

Template 3 years ago

Hi all,

I got the following Error on my website:

require_once(JPATH_LIBRARIES.'/joomla/document/html/renderer/head.php');

Now i changed this script with:

$header_contents = ''; if(!class_exists('JDocumentRendererHead')) { $head = JPATH_LIBRARIES . '/joomla/document/html/renderer/head.php'; if(file_exists($head)) { require_once($head); } }

After this i get an other error :(

call to undefined method joomla\database\mysqli\mysqlidriver::geterrornum()

Can anyone help me out here :)

0
5 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #47323

Advice:

Always check if all used extensions (components, modules and plugins) and default template are 100% ready for Joomla 4.0.x before upgrade. If you are not sure just check on developers websites, one by one. Joomla testing tool is not always perfect.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #47322

Hoi,

contact with Template developer from where you downloaded WT Inspire Pro. Maybe he has a new version of template ready for Joomla 4. Right now it seems to be version for Joomla 3.x only. Opss.. you cannot use it on J4. You have to recover website from backup. I hope you have it.

0
M
Marco
Accepted Answer
3 years ago #47324

Aah thats to bad. I hoped i could change this template a little bit and get it working. I have made an backup before upgrading :)

thanks for the advice.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #47325

Don't rush. Joomla 4.0.x has many bugs. You can wait next 1-2 months to reduce possible problems. Joomla 4.0.8/9 should be fine :)

0
M
Marco
Accepted Answer
3 years ago #47371

Hi Paul,

thanks you so much that you made some time free to answer my question. I will wait. Also i have an ticket pending at WarpTheme.

0