Old version of PHP
-
Hi Folks.. our web host has tried to upgrade our server to php 8.3, and we get an error saying the Kadence theme is blocking the update because it’s not compatible with php 8.3. Theme does say php 7.4 is pretty outdated and no longer supported. Any news on updates for this theme?
The page I need help with: [log in to see the link]
-
Hi @colinfraseri3d,
Thank you for reaching out.
I currently have PHP 8.3 running on a few of my own sites using the Kadence Theme, and I was also just able to upgrade one of my sites to PHP 8.3 without any issues. Here’s a screencast for reference:
https://share.zight.com/01a02127-de66-7288-a1bb-71919bf66402Could you please confirm the exact error message you’re seeing when your host attempts to upgrade the server to PHP 8.3?
As a next step, you can enable WordPress error logging and then try the PHP upgrade again. The resulting error should give more information about what is preventing the upgrade. See how to enable WordPress error logs:
https://docs.nexcess.com/software/kadence/enable-wordpress-error-logs/In the meantime, as a troubleshooting step, could you temporarily deactivate the Kadence Theme for a few minutes and have your host try upgrading PHP to 8.3 again?
Please let me know how this goes.
Hi @colinfraseri3d,
Just checking in on this topic. Do you still need assistance here?
If you’re all set, kindly set the topic as resolved. Otherwise, let us know if we can assist you further.
Thank you.
Hi Eze!
Yes.. sorry.. just got back from summer holidays.. of course things always go sideways when you’re on vacation!
Yes.. still need help… just got this information back from our web host:
( message from host when trying to upgrade PHP ) …
Thank you for contacting Support my name is Joshua W. As requested sending this follow-up here.
When I switched the PHP version to 8.3 and enabled error display via the php.ini file.
I see these errors output on [ redundant link deleted ].Warning: Undefined array key "cmd" in /home/stolla5/nanosilvermoon.com/check.php on line 8
Warning: Undefined array key "REAL_DOCUMENT_ROOT" in /home/stolla5/nanosilvermoon.com/check.php on line 13
Warning: Cannot modify header information - headers already sent by (output started at /home/stolla5/nanosilvermoon.com/check.php:8) in /home/stolla5/nanosilvermoon.com/check.php on line 18
Warning: Cannot modify header information - headers already sent by (output started at /home/stolla5/nanosilvermoon.com/check.php:8) in /home/stolla5/nanosilvermoon.com/check.php on line 19
Warning: Cannot modify header information - headers already sent by (output started at /home/stolla5/nanosilvermoon.com/check.php:8) in /home/stolla5/nanosilvermoon.com/check.php on line 20
Warning: session_cache_limiter(): Session cache limiter cannot be changed after headers have already been sent in /home/stolla5/nanosilvermoon.com/check.php on line 21
Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/stolla5/nanosilvermoon.com/numo/classes/functions.php on line 326Hi @colinfraseri3d,
Thanks so much for sharing the full log from your host, and no worries at all about the delay, hope you had a lovely holiday!
From the error your host sent over, this doesn’t actually appear to be related to Kadence Theme. Both file paths mentioned in the error,
check.phpandnumo/classes/functions.php, sit outside the Kadence Theme and are separate files elsewhere on your server.The fatal error itself (the “curly braces” one) is a fairly common PHP 8+ compatibility issue, but it looks like it lives in that “numo” folder, not in Kadence. It might be worth asking your host what that folder relates to, it’s possible it’s from an old plugin or some legacy code that’s no longer active but still sitting on the server.
There’s also a
check.phpfile being mentioned that might be worth asking your host about directly too, just to be safe, since files sitting outside the usual WordPress folders are sometimes worth double-checking.As a quick test to help confirm this: could you try temporarily deactivating Kadence Theme and switching to one of WordPress’s default themes (like Twenty Twenty-Four), then ask your host to attempt the PHP 8.3 upgrade again? If it goes through successfully with a default theme active, that would confirm the issue is coming from somewhere else on the server rather than Kadence.
Please let me know how this goes.
Hi @colinfraseri3d,
Just checking in on this topic. Do you still need assistance here?
If you’re all set, kindly set the topic as resolved. Otherwise, let us know if we can assist you further.
Thank you.
You must be logged in to reply to this topic.
