TOPIC:

Upgrade to PHP 7.1: Fatal error: require_once(): Failed open in baryonic templat 2 years 2 months ago #232394

  • Topic Author
  • davewx
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 18
  • Thanks: 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.

Please Log in or Create an account to join the conversation.

Upgrade to PHP 7.1: Fatal error: require_once(): Failed open in baryonic templat 2 years 2 months ago #232403

  • mihaela
  • Offline
  • Developer
  • Developer
  • Posts: 3128
  • Karma: 105
  • Thanks: 415
Hello,

Please check this solution: crosstec.org/en/forums/49-joomla-templat....html?start=6#230580 .

Also, please check whether you are using the latest version of the baryonic template. If you are not, updating it might resolve the issue.

Let me know whether this helped.

Regards,

Mihaela

Please Log in or Create an account to join the conversation.

Upgrade to PHP 7.1: Fatal error: require_once(): Failed open in baryonic templat 2 years 2 months ago #232424

  • Topic Author
  • davewx
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 18
  • Thanks: 0
Unfortunately, it did not work. I get a new error.

Error: 0 - [] operator not supported for strings
You may not be able to visit this page because of:

an out-of-date bookmark/favourite
a search engine that has an out-of-date listing for this site
a mistyped address
you have no access to this page
The requested resource was not found.
An error has occurred while processing your request.
← Home

Please Log in or Create an account to join the conversation.

Upgrade to PHP 7.1: Fatal error: require_once(): Failed open in baryonic templat 2 years 2 months ago #232429

  • mihaela
  • Offline
  • Developer
  • Developer
  • Posts: 3128
  • Karma: 105
  • Thanks: 415
Hello,

Ok, then please check whether you have the latest Gantry installed.

Let me know which version you have and if it is not up to date, please update it and let me know whether that resolved the issue.

If that doesn't resolve the issue, take a look at this solution also: crosstec.org/en/forums/49-joomla-templat...ith-php7.html#202108

Regards,

Mihaela

Please Log in or Create an account to join the conversation.

Upgrade to PHP 7.1: Fatal error: require_once(): Failed open in baryonic templat 2 years 2 months ago #232449

  • Topic Author
  • davewx
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 18
  • Thanks: 0
I have the update engine running and Gantry was recently updated, in the last month, 10/26.

I will check the link.

Please Log in or Create an account to join the conversation.

Upgrade to PHP 7.1: Fatal error: require_once(): Failed open in baryonic templat 2 years 2 months ago #232450

  • Topic Author
  • davewx
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 18
  • Thanks: 0
Gantry is 4.1.37

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Time to create page: 0.048 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!