Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 15h 46m 06s
Claim 50% off
Solved Templates

Error after update joomla 3 to 4

Asked by Marco 4 years ago Last activity 4 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 :)

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff

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.

4 more replies

Paul Frankowski Senior Staff
4 years ago · edited

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.

Marco Asked this

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.

Paul Frankowski Senior Staff

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 :)

Marco Asked this

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.

Log in to reply.