Your cart is currently empty!
Homepage › Community Forums › Aspire Theme Support › Aspire 1.3 and PHP 8.1?
Tagged: error
Is Aspire 1.3 compatible with PHP 8.1? I just upgraded to PHP 8.1, and the theme is crashing. What do I do?
Here’s the error message I’m getting:
Error Details
=============
An error of type E_ERROR was caused in line 128 of the file /home/821121.cloudwaysapps.com/mcqxsmygnr/public_html/wp-content/themes/aspire-pro/functions.php. Error message: Uncaught Error: Call to undefined function create_function() in /home/821121.cloudwaysapps.com/mcqxsmygnr/public_html/wp-content/themes/aspire-pro/functions.php:128
Stack trace:
#0 /home/821121.cloudwaysapps.com/mcqxsmygnr/public_html/wp-settings.php(611): include()
#1 /home/821121.cloudwaysapps.com/mcqxsmygnr/public_html/wp-config.php(92): require_once(‘/home/821121.cl…’)
#2 /home/821121.cloudwaysapps.com/mcqxsmygnr/public_html/wp-load.php(50): require_once(‘/home/821121.cl…’)
#3 /home/821121.cloudwaysapps.com/mcqxsmygnr/public_html/wp-login.php(12): require(‘/home/821121.cl…’)
#4 {main}
thrown
I just spent an hour with this issue and the technical support staff at Cloudways has confirmed that the Aspire 1.3 theme is not compatible with PHP 8.1.
Is there an update planned anytime soon? If not, is there a simple fix to resolve the compatibility problem?
Thanks!
Hi Kelly,
Unfortunately that’s an old version of the theme that doesn’t work with PHP8. We made a completely new version that works with Gutenberg and all of the latest WP features.
You can purchase the new version/upgrade here – https://appfinite.com/shop/aspire/ which comes with versions 2.0 and 3.0. We have the Block Theme version (3.0) that is a Full Site Editor and doesn’t require Genesis. It works just like the latest WordPress Block themes.
Or you can upgrade to the 2.0 version that still works with Genesis. Both versions no longer use Front Page Widgets and are Block based now to keep up with latest WP standards.
Both 2.0 and 3.0 are included together in the same purchase.
The other option is to keep using this version (assuming you’ve made a lot of customizations that you want to keep), and either I or another developer would have to go through each of the files to replace any code that won’t work with PHP8, and replace it with code that does. If you’re interested in hiring me to do this just let me know. I’ve helped clients do this recently and for some I’ve just upgraded them to the new theme. Either way should work.
Hi Wes,
Thanks for the prompt response. If I upgrade, which version is easier to update from my existing install, your Genesis or Block Theme version?
It really depends on how much work you’ve done with the current theme. Once you install the upgraded version you’re basically replacing the old theme and adding in a brand new version. Both of the new versions keep the same styling as the original demo.
Do you have a working link that I can take a quick look at?
If not, are you using Front Page widgets? Have you made a lot of CSS changes?
If it were me, I’d just go with the 3.0 FSE version, but I can understand if some users prefer to keep Genesis and use the 2.0 version.
Nice! This is looking good!
Yeah this could easily be setup on either version, but I would personally just use the latest 3.0 version which is the Full Site Editor. Its the direction WP is going anyways.
It will definitely work with the latest PHP8+
And of course I can assist if you run into any issues.