Hello,
I have recently upgraded to php 8.1 from 7.4
I am now getting an error message displaying on the home page saying:
E_DEPRECATED: Return type of Themeco\Cornerstone\Parsy\Token::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/rz307iqp/public_html/wp-content/themes/pro/cornerstone/includes/classes/Parsy/Token.php on line 33.
I cannot suppress this using ini_set etc.
I have also lost access to my sites back end, getting a “Critical error” message when I try to log in, enabling debugging results in the same error as above.
I have attempted to roll the site back to version 7.4 but the problem remains.
Can you please advise as to how to resolve this?
Can you also please supply me with a list of what PHP extensions are required to be enabled for PRo / Cornerstone to function correctly?
Best Regards,
Stephen