When using PHP 8.1, the Contact token for the Address State / Province field returns no value when used in Message Templates. Works fine on PHP 7.4
When using PHP 8.1, the Contact token for the Address State / Province field returns no value when used in Message Templates. Works fine on PHP 7.4.
These are the tokens that return no value:
{contact.address_primary.state_province_id:abbr}
{contact.state_province}
Other Contact tokens for contact fields and address return a value correctly.
Agileware Ref: CIVICRM-2102