fireball91

fireball91

Member Since 3 Years Ago

Experience Points 255
Experience Level 1

4,745 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed 0
Lessons
Completed
Best Reply Awards 0
Best Reply
Awards
  • start-engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

09 Mar
3 years ago

fireball91 left a reply on Php Artisan Doesnt Work [ErrorException] Undefined Offset: 0 In Laravel 5.1

error happens here, in this method

/** * Get an item at a given offset. * * @param mixed $key * @return mixed */

public function offsetGet($key)

{

   //here

    return $this->items[$key];

}

fireball91 left a reply on Php Artisan Doesnt Work [ErrorException] Undefined Offset: 0 In Laravel 5.1

thanks for reply

[2016-03-09 10:29:47] local.ERROR: exception 'ErrorException' with message 'Undefined offset: 0' in /home/leri/Projects/radioclassic/vendor/laravel/framework/src/Illuminate/Support/Collection.php:1045 Stack trace: #0 /home/leri/Projects/radioclassic/vendor/laravel/framework/src/Illuminate/Support/Collection.php(1045): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/home/leri/Proj...', 1045, Array) #1 /home/leri/Projects/radioclassic/app/Providers/AppServiceProvider.php(14): Illuminate\Support\Collection->offsetGet(0) #2 [internal function]: App\Providers\AppServiceProvider->boot() #3 /home/leri/Projects/radioclassic/vendor/laravel/framework/src/Illuminate/Container/Container.php(507): call_user_func_array(Array, Array) #4 /home/leri/Projects/radioclassic/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(734): Illuminate\Container\Container->call(Array) #5 /home/leri/Projects/radioclassic/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(717): Illuminate\Foundation\Application->bootProvider(Object(App\Providers\AppServiceProvider)) #6 [internal function]: Illuminate\Foundation\Application->Illuminate\Foundation{closure}(Object(App\Providers\AppServiceProvider), 16) #7 /home/leri/Projects/radioclassic/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(718): array_walk(Array, Object(Closure)) #8 /home/leri/Projects/radioclassic/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\Foundation\Application->boot() #9 /home/leri/Projects/radioclassic/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(203): Illuminate\Foundation\Bootstrap\BootProviders->bootstrap(Object(Illuminate\Foundation\Application)) #10 /home/leri/Projects/radioclassic/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(208): Illuminate\Foundation\Application->bootstrapWith(Array) #11 /home/leri/Projects/radioclassic/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(105): Illuminate\Foundation\Console\Kernel->bootstrap() #12 /home/leri/Projects/radioclassic/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #13 {main}

fireball91 started a new conversation Php Artisan Doesnt Work [ErrorException] Undefined Offset: 0 In Laravel 5.1

when i try to run php artisan i got the error [Error Exception]
Undefined offset: 0

when i run composer install or composer update i got this error Script php artisan clear-compiled handling the post-install-cmd event returned with an error

[RuntimeException]
Error Output:

i install all extensions, run composer dumpautoload but i still get this error. the problem is in this current procjet(i created another laravel project and it works fine)

20 Jan
3 years ago

fireball91 left a reply on Laravel Doesnt Show Validation Messages Correctly

thanks for reply. I dont have this file. I want the same error messages(in english) for all languages. so, now I should create 3 same validation.php files ?

fireball91 started a new conversation Laravel Doesnt Show Validation Messages Correctly

in my controller i have

   public function store(Request $request)
         {
                  $validator = Validator::make($request->all(), [
                   "list_img" => "required",
                     "ge_title" => "required|max:255",
                    "ge_location" => "required|max:255",
                    "ge_dept_time" => "required|max:255",
                     "ge_return_time" => "required|max:255",
                   "ge_body" => "required",
                   "en_title" => "required|max:255",
             ]);

    if ($validator->fails()){
        return redirect()->back()->withErrors($validator)->withInput();
    }
}

if validation fails i got messages

validation.required validation.required .....

instead of ge_title is required list_img is required ....

p.s. I have 3 languages on my site(if it matters)

04 Oct
3 years ago

fireball91 left a reply on Php Artisan Command MAKE Is Missing

thank you! it helped

fireball91 started a new conversation Php Artisan Command MAKE Is Missing

hi! just started learning laravel with laracasts videos. I'm trying to create controller php artisan make:controller ... but there is no make command in commands list. what should i do?