Update to PHP 8 problem


I updated from PHP 7.3 to 7.4 and it was fine but when I updated to PHP 8 as proposed by Gandi my host, the site stopped working and I received following error involving shapely:

Une erreur de type E_COMPILE_ERROR a été causée dans la ligne 442 du fichier /srv/data/web/vhosts/http://www.ulys-coaching.com/htdocs/wp-content/themes/shapely/inc/extras.php. Message d’erreur : Unparenthesized a ? b : c ? d : e is not supported. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e)

could you help me fixing this?

many thanks for your support,

website : ulys-coaching.com

Hi Julien

Sorry, but it’s not yet fully compatible, so, you need to keep a compatible version, for now, we are doing a routine updates of the themes and soon it will be fully compatible with to the latest version of PHP

Hi, I manage a website that uses the Shapely theme and the hosting provider is going to be upgrading php to 8.1 Oct 6. Has there been any progress on Shapely’s compatibility with this version of php?

Hi @justindesrosiers

Im sorry, yet we don’t have any update about this but I hope it will be fully compatible soon



Any more news yet on the Shapely theme being compatible with PHP 8?

tt’s been such a breeze using this theme and I’d to have to use another. PHP 7.4 is about to lose support … eek


Hi there

My apologies, yet I cant say anything, I’m sure it will be PHP 8 supported but cant say any dates


Hi There
I am experiencing the same problem regarding PHP 8. If there are no dates available yet could you please recommend a similar theme that is PHP 8 supported?

Hi there

My apologies, however I cant say any estimate dates still :frowning:


1 Like

Appreciate the response. No other PHP 8 themes you can recommend?


basically all other WordPress themes are under the same condition :slight_smile:


Ouch! That sucks. Thanks

My apologies once again :frowning: