Problem Solving By Back-Tracking PHP

Need help upgrading your Joomla! website or converting to Joomla! 3.x?

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
austtr
Joomla! Intern
Joomla! Intern
Posts: 70
Joined: Tue Sep 14, 2010 11:34 pm

Problem Solving By Back-Tracking PHP

Post by austtr » Mon Feb 28, 2022 5:17 am

Hi….. A client site has just been updated to 3.10.6. PHP is ver 8.0 which would have been set by the domain administrator (Bluehost)

Site administrator login now fails and reports:

“Failed to start the session because headers have already been sent by "/home1/freigvu/public_html/plugins/system/betterpreview/helper.php" at line 47.” Is that a system file that is part of the Joomla core?

If the PHP is backtracked to ver 7.4 using cPanel the problem goes away…. but I really don’t want to revert to a superseded version of PHP. Should this be flicked to Bluehost for a solution or is there a simple tweak I can do myself?

On a related but separate topic with the same site….. a third party menu module also failed with PHP 8.0 and started working again with 7.4

All suggestions welcome.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17417
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Problem Solving By Back-Tracking PHP

Post by toivo » Mon Feb 28, 2022 5:57 am

austtr wrote:
Mon Feb 28, 2022 5:17 am
“Failed to start the session because headers have already been sent by "/home1/freigvu/public_html/plugins/system/betterpreview/helper.php" at line 47.” Is that a system file that is part of the Joomla core?
It is a third party extension, Better Preview that has a free and a paid Professional versions.

Edit the database table _extensions and disable this system plugin by changing the column 'enabled' from 1 to 0.

If the site does not have the latest version, install the updated version. This extension was updated on February 10.

Check the other failing module from Joomla Extensions Directory (JED) and also from the developer's website because older extensions may not have updated the latest version information in JED.
Toivo Talikka, Global Moderator


Locked

Return to “Migrating and Upgrading to Joomla! 3.x”