Outdated code
Old code is not automatically bad code. Plenty of PHP apps written fifteen years ago still do their job perfectly well, they just need a touch-up: removing legacy instructions, switching from now unsupported libraries to new ones, or some basic CSS upgrades for a responsive interface that works on mobile devices.
I carefully plan and execute the required interventions - and tell you honestly beforehand if a rebuild is the better option after all.