Leon L.

Results 60 comments of Leon L.

Yeah it's a private repository of a friend, but i could post issue and something else there. Or does it only work with public repositories? @jbalsas

Using Laravel 9.13! Is there a workaround for the time? Because the issue still exists even if i remove `$attributes`! - This also occurs when setting a simple empty array...

Right now i only tried `$ac->soldItems` and `with/load` so nothing special - these didnt work Added the array just via the mysql itself, so nothing from Laravel

Unfortunately it still does not work! I am still getting the `array_key_exists` error, with the same setup as above, just updated to `1.6.2`

```php $character = Character::where('id', 'bc8207fe-a640-48d4-b576-8e9f5e1d01f6')->first(); $ac = Auctionhouse::whereBelongsTo($character)->first(); $ac->soldItems ``` I tried this and i tried adding `protected $with = ['soldItems'];` into the auctionhouse model and on the query. Both...

Any update on this? Keen to help if its needed!

``` array:5 [▼ "id" => "470f0a4f-cbaa-46e7-b056-da56079033ed" "character_id" => "bc8207fe-a640-48d4-b576-8e9f5e1d01f6" "itemCollection" => "[{"item_id": "077df06d-1c38-4fd6-b141-3544c6ddbc27"}]" "created_at" => "2022-07-21 17:28:35" "updated_at" => "2022-07-21 17:28:35" ] ``` this is the output

Oh sorry ive changed the model while testing out what the issue could be, the foreign keys are now `item_id`, which still runs into the same issue as if its...

Hopefully i got this right! My Error still is `array_key_exists(): Argument #2 ($array) must be of type array, null given` when i call `$ac->soldItems` ![image](https://user-images.githubusercontent.com/7354569/184834506-e2579636-7ce3-4eb5-89a0-d7c28e3eb0fc.png)

without it, with the dd call i endup with the image posted above