Support the ongoing development of Laravel.io →
Database Eloquent Packages

I am simply just doing this $me = \Auth::user(); return $me->program()->get(); GIVES me;

InvalidArgumentException Data missing open: C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\data\localweb\laravel\vendor\nesbot\carbon\src\Carbon\Carbon.php }

  if ($dt instanceof DateTime) {
     return static::instance($dt);
  }

  $errors = static::getLastErrors();
  throw new InvalidArgumentException(implode(PHP_EOL, $errors['errors']));

}

if i var_dump $me = \Auth::user(); return $me->program()->get(); i see all the data that came from db!

but getting this error if i only return by get() can anybody tell me why ?

Last updated 3 years ago.
0

Anyway i downgraded back to 4.1.26 work fine again! I am guessing 4.2. is still in development mode and having issues that needs to be fixed before we start having to use it.

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.