Nice work! Although when I try the php artisan app:load_api_data step I get the following error :
php artisan app:load_api_data
ErrorException Trying to get property 'date' of non-object at app/Helpers/Misc.php:21 17| $updatedAt = $jobStart->toDateTimeString(); // 2015-12-19 10:10:16 18| 19| $earliestDate = JobDate::where('type', 'earliest date')->first(); 20| $latestDate = JobDate::where('type', 'latest date')->first(); > 21| $fEarliestDate = substr($earliestDate->date, 0, 4) 22| . '-' . substr($earliestDate->date, 5, 2) . '-' . substr($earliestDate->date, 8, 2); 23| $fLatestDate = substr($latestDate->date, 0, 4) 24| . '-' . substr($latestDate->date, 5, 2) . '-' . substr($latestDate->date, 8, 2); 25| $cEarliestDate = Carbon::createFromFormat('Y-m-d', $fEarliestDate); 1 app/Helpers/Misc.php:21 Illuminate\Foundation\Bootstrap\HandleExceptions::handleError() 2 app/Jobs/LoadApiDataJob.php:38 App\Helpers\Misc::jobStart()
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice work!
Although when I try the
php artisan app:load_api_data
step I get the following error :