I've been tasked with maintaining a website that was custom built by the web developer before me. The website included integration with XERO which as of last week has started to fail, despite no development changes to the site itself.
The Laravel logs show the following:
[2018-11-13 11:18:50] production.ERROR: Cannot use 'XeroPHP\Remote\Object' as class name as it is reserved {"userId":1,"email":"developer@vok.com.au","exception":"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 64): Cannot use 'XeroPHP\Remote\Object' as class name as it is reserved at *********************/public_html/vendor/calcinai/xero-php/src/XeroPHP/Application.php:186)
Sounds like there might've been some changes to the PHP language itself where by a specific word is now reserved and cannot be used as a class name. Perhaps the issue is as simple as using a different class name?
The file its complaining about and more specifically, link 186 is as follows:
public function save(Remote\Object $object, $replace_data = false)
Any help is appreciated. I will respond very quickly and provide any information that's required to successfully debug the issue.
Thank you in advance!
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire