Skip to content

Magento 2.4 Parse Error

Need some assistance with this one.

Within Magento my store seems to be throwing up a parse error whenever you try to do any simple tasks like sending order notes to customers from within Magento.

ERR MSG:
“ParseError:syntax error, unexpected ‘fn’ (T_STRING), expected :: (T_PAAMAYIM_NEKUDOTAYIM)

Here’s some images to show the error.

https://postimg.cc/gallery/cLJTxSb

Any help on this would be great.