fbpx

You'll fall in love with this sweet deal Save 25% with this code: VALENTINESDAY Unlock Offer

Welcome, Guest
Username: Password: Remember me

TOPIC: Upgrade to PHP 7.1: Fatal error: require_once(): Failed open

Upgrade to PHP 7.1: Fatal error: require_once(): Failed open 2 months 2 weeks ago #9787

  • davewx
  • davewx's Avatar
  • Offline
  • New Member
  • Posts: 1
  • Karma: 0
I'm using J3.91 on 3 sites. Upgrading to PHP7.1 works for 2/3. The third produces this error.
Complete error is: Fatal error: require_once(): Failed opening required '...public_html/libraries/joomla/document/html/renderer/head.php' (include_path='.:/opt/php71/lib/php') in .../public_html/templates/baryonic/error.php on line 78
Here is error.php lines 78 to 82:
require_once(JPATH_LIBRARIES.'/joomla/document/html/renderer/head.php');
$header_renderer = new JDocumentRendererHead($doc);
$header_contents = $header_renderer->render(null);
ob_start();
?>
I'm not a coder, so this is all Greek to me. I suspect I need a tweak to the code. Can anyone help?
Thanks in advance.
The administrator has disabled public write access.

Upgrade to PHP 7.1: Fatal error: require_once(): Failed open 2 months 2 weeks ago #9790

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Posts: 1743
  • Thank you received: 237
  • Karma: 51
Hello,

The code above isn't of Astroid. You are using some other template. You have to post in the correct category in order to get help.

Thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.
Time to create page: 0.534 seconds