Battling broken code in a client’s site that was built using PHP 5.
Their hosting company arbitrarily decided to upgrade to PHP 7 and the code used for database interactions was all deprecated (translation=”now totally non-functional”).
A little warning would have been nice so I could update code to use mysqli at a reasonable pace rather than a fire drill.
The front-end was easy to fix and back up and running in short order, but the back end maintenance site is giving me headaches. SO much code to change.