We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

PHP 7.4 update breaks admin?

Development and Programming

pelluche's avatar
pelluche
10 posts
3 years ago
pelluche's avatar pelluche

Dreamhost just updated servers to PHP 7.4 and it seems that my clients admin area is now broken. The user facing site is still working at least, but just can’t access admin cms. Any idea if this was due to 7.4 and if its EE code or something on dreamhost side they have to enable maybe?

can’t tell what version of EE I had installed but it’s been updated within past 4 months. Here’s the errors I get:

Deprecated
Function get_magic_quotes_gpc() is deprecated
ee/legacy/core/Input.php, line 970

Severity: E_DEPRECATED
Deprecated
Function get_magic_quotes_gpc() is deprecated
ee/legacy/core/Input.php, line 970

Severity: E_DEPRECATED
Deprecated
Function get_magic_quotes_gpc() is deprecated
ee/legacy/core/Input.php, line 970

Severity: E_DEPRECATED
Deprecated
Function get_magic_quotes_gpc() is deprecated
ee/legacy/core/Input.php, line 970

Severity: E_DEPRECATED
Warning
session_set_cookie_params(): Cannot change session cookie parameters when headers already sent
ee/legacy/libraries/Core.php, line 126

Severity: E_WARNING
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:120)
ee/legacy/core/Input.php, line 238

Severity: E_WARNING
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:120)
ee/legacy/core/Input.php, line 238

Severity: E_WARNING
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:120)
ee/legacy/libraries/Functions.php, line 393

Severity: E_WARNING
       
pelluche's avatar
pelluche
10 posts
3 years ago
pelluche's avatar pelluche

I had them revert back to php 7.2 and that fixes it. It was using EE 5.3.0 so maybe this has been fixed with a newer version of EE.

       
Andy McCormick's avatar
Andy McCormick
183 posts
3 years ago
Andy McCormick's avatar Andy McCormick

EE has supported PHP 7.4 since version 5.3.1 (https://docs.expressionengine.com/v5/installation/changelog.html#version-531). However there’s a possibility that one of the add-ons installed your site does not. I would ensure that you get the latest updates for all your add-ons, then try upgrading again (as always I would suggest going to the latest version of EE6 if possible).

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.