Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    What to do if old theme is not compatible with new php?

    WordPress (Developer)
    1
    3
    34
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jdaviescoates
      jdaviescoates last edited by

      I've got this old site which is kept as an archive/ record of a big event I co-produced 5 years ago:

      https://2017.open.coop

      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!

      I use Cloudron with Gandi & Hetzner

      1 Reply Last reply Reply Quote 0
      • jdaviescoates
        jdaviescoates last edited by

        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...

        I use Cloudron with Gandi & Hetzner

        jdaviescoates 1 Reply Last reply Reply Quote 0
        • jdaviescoates
          jdaviescoates @jdaviescoates last edited by

          @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).

          I use Cloudron with Gandi & Hetzner

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB