Open thomasa00 opened 1 year ago
The problem seems to be, that the metadata can't be parsed correctly in Schema.php.
Any idea?
@thomasa00 Have you been able to solve this? we used this package recently for another project where it seems to work however for a new project it also gives me errors on the "@attributes" key in Schema.php Edit: we are on PHP 8.0 in both projects, so isn't necessarily the PHP version.
@ArneAmeye did you manage to get it working?I have the same issue.
@ArneAmeye did you manage to get it working?I have the same issue.
Nope, I ended up using the Http client by Laravel and a custom class to write my get and post calls depending on API routes provided by the external partner. The SDK is left unused for now...
@ArneAmeye ok cool, did the same thing
Hi, I'm getting the error
Call to a member function getEntityType() on null
when I try to do any query. It seems the problem starts in `EntityCollection.ph , line 77:$response['@odata.context']
has a valid content: https://api.businesscentral.dynamics.com/v2.0/myTenant/sandbox/ODataV4/$metadata#Company$response
looks good as well (array of value is there; 1 element in it, with Name, Display_Name, Id, ...But
$this->query->getEntitySet
returnsnull
Complete usage of SDK:
At creating the instance some warnings will come - maybe this is the reason?
PHP Version: 8.1.6