What to do if old theme is not compatible with new php?
-
I've got this old site which is kept as an archive/ record of a big event I co-produced 5 years ago:
But the theme isn't compatible with new php.
What's the best thing to do? Obviously I can't update as that will break everything.
But I guess that leaves the site potentially open to getting hacked.
Answering my own question here, but perhaps I should use a web scraping tool to generate a static HTML clone of the site and then just whack that up in Surfer or something and throw the outdated WordPress site away. Anyone know a good/ easy way to do this?
Any other ideas?
Thanks!
-
Also, in my case the specific file which is no longer compatible appears to
simplexlsx.class.php
and I'm not sure the site is actually making use of that anywhere (it seems it is a Excel reader and we aren't using anything to do with Excel anywhere on the website), so can't help wondering if I could just delete that file... -
@jdaviescoates said in What to do if old theme is not compatible with new php?:
Also, in my case the specific file which is no longer compatible appears to
simplexlsx.class.php
and I'm not sure the site is actually making use of that anywhere (it seems it is a Excel reader and we aren't using anything to do with Excel anywhere on the website), so can't help wondering if I could just delete that file...Ah, tried that on the cloned version of the app I'm debugging things with and of course (as I half expected) I then got a load of errors for files that refer to that file... so I deleted those references too...
And now it seems to be working fine!
So for now I'll just do the same thing on the actual app and then update.
Perhaps in the future I'll need to do the scrape to static HTML thing... but no immediate need now (but still interested in easy ways to accomplish that).