×
UpdatePHP Pro Login Registro
Avviso di scadenza PHP : PHP v8.1 è scaduto da poco. Il tuo sito web utilizza ancora questa versione? Clicca qui per maggiori dettagli
SICURO versioni di PHP: 8.5.12, 8.4.27, 8.3.36, 8.2.35
☰
My host upgraded PHP and now parts of my site are broken what should I do?
Si prega di scrivere in inglese per avere maggiori possibilità di risposte utili. Le risposte del forum sono principalmente in inglese.

My hosting company upgraded PHP automatically (I think from 7.4 to 8.1), and now parts of my site have stopped working.

The homepage loads, but:

- some pages show a blank screen
- one plugin throws a fatal error
- admin area is partially broken

I didnt change anything myself, so Im guessing its related to the PHP version.

Ive seen errors mentioning things like deprecated functions and undefined array key.

Whats the safest way to fix this without taking the whole site offline?
Should I downgrade PHP again or start updating everything first?
Question by Alan Jones | Posted 4:12pm, Apr 15, 2026

C'è 1 risposta a questa domanda

Fred Clarke ha risposto: 10:46pm, Apr 19, 2026 (7 months ago)
This happens because PHP 8 is stricter than 7.4, so code that previously worked with warnings now causes fatal errors. Nothing new broke the upgrade just exposed outdated code.

First, switch back to PHP 7.4 if possible to get the site stable. Then check the server error logs to see which plugin or theme is causing the issue.

Update all plugins, the theme, and WordPress. If something hasnt been maintained in a long time, its usually the problem and may need replacing.

Once everything is updated, switch back to PHP 8 and test again. Rolling back PHP is only temporary since older versions arent supported long term.

Non hai trovato la risposta di cui avevi bisogno?   Prova a utilizzare la nostra ricerca nella parte superiore della pagina per affinare la ricerca.

Puoi contribuire con una risposta a questa domanda?

Se puoi assistere il problema degli utenti, puoi rispondere rapidamente completando i campi sottostanti per rispondere.





Torna all'elenco delle domande

UpdatePHP non è responsabile e declina espressamente ogni responsabilità per danni di qualsiasi tipo derivanti dall'uso, dal riferimento o dall'affidamento su qualsiasi informazione contenuta all'interno del sito. Non intraprendere mai riparazioni manuali o modifiche all'hardware senza qualifiche e chiedi sempre assistenza al tuo rivenditore se non riesci a trovare una soluzione al tuo problema.