This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Unwind theme PHP 8.1 support

2 years ago · Last reply by Andrew Misplon 2 years ago

My web host tried to update my site to PHP 8.1 and had to roll back to an older version due to an error returned by the Unwind theme. The specific error was:
Permission denied PHP Fatal error: Uncaught Error: Call to undefined function create_function()
I did some searching and apparently create_function() is no longer exists in PHP 8+.

I have Unwind version 1.9.7 installed. I don’t see any pending updates available in WordPress, and I couldn’t see a version number on the theme page here on the site – is there a way to identify for sure whether I have the latest version? And if the one I have is the latest version, is there any chance of a future update at some point for PHP 8 compatibility? I only have a few months before I have to either update to PHP 8.1 or start being charged for legacy support for the older version.

Any advice is appreciated – thanks!

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

4
  1. Andrew Misplon Staff 2 years, 11 months ago

    Hi Daisy

    Thanks for getting in touch.

    Kindly request the complete error read out. The complete error will include a file path.

  2. Daisy 2 years, 11 months ago

    Hi Andrew,

    Sorry, I think this turned out to be something unfortunate that I did in a child theme file. I thought all I had added was some formatting stuff in style.css and extra text in footer.php (since that’s really all I’m qualified to mess around with these days without breaking things!) but I just discovered I also had a functions.php in my child them, and guess what I found in there? A create_function() doing something that I can’t fully remember the point of (which can’t have been that important since nothing broke when I commented it out). I still have the same errors after updating to PHP 8.1 with that out of the way, I’ll report back. Sorry about that!

  3. Daisy 2 years, 11 months ago

    Sorry, that last line should have said *if* I still have the same errors after updating to 8.1, I’ll report back :)

  4. Andrew Misplon Staff 2 years, 11 months ago

    Hi Daisy

    Thanks for your feedback; I’m glad to hear you’ve made progress :)

    Kind regards

    Andrew

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread