vrry

vrry

Member Since 1 Year Ago

Experience Points 390
Experience Level 1

4,610 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.

26 Feb
5 months ago

vrry started a new conversation Send Post Array Data In Spesific Column Using Axios

How can i use axios to post array data in spesific column in database. in frontend i use vuejs.

For example :

I have array hobbies = ['swimming', 'travelling', 'reading'] and name=steven

and I have a table from database, table = {id: integer, name: string, hobbies, string}

and the result in database :

{id: 1, name: steven, hobbies: swimming} {id: 2, name: steven, hobbies: travelling} {id: 3, name: steven, hobbies: reading}

how I make the code in vue script.

I hope you understand what I mean :d

thanks lots

17 Jan
7 months ago

vrry started a new conversation Catch NotFoundHttpException

[#ASK]

I want to use my handler NotFoundHttpException exception in App\Exceptions\Handler.php. But I get this message.

{ "status": "error", "message": "Endpoint is not found", "data": null, "errors": { "exception": "Symfony\Component\HttpKernel\Exception\NotFoundHttpException", "trace": [ "#0 C:\laragon\www\larashop\vendor\laravel\framework\src\Illuminate\Routing\Router.php(636): Illuminate\Routing\RouteCollection->match(Object(Illuminate\Http\Request))", "#1 C:\laragon\www\larashop\vendor\laravel\framework\src\Illuminate\Routing\Router.php(625): Illuminate\Routing\Router->findRoute(Object(Illuminate\Http\Request))", "#2 C:\laragon\www\larashop\vendor\laravel\framework\src\Illuminate\Routing\Router.php(614): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))", "#3 C:\laragon\www\larashop\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(176): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))", "#4 C:\laragon\www\larashop\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(30): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))", "#5 C:\laragon\www\larashop\vendor\fideloper\proxy\src\TrustProxies.php(57): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))", "#6 C:\laragon\www\larashop\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(151): Fideloper\Proxy\TrustProxies->handle(Object(Illuminate\Http\Request), Object(Closure))", "#7 C:\laragon\www\larashop\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))", "#8 C:\laragon\www\larashop\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TransformsRequest.php(31): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))", "#9 C:\laragon\www\larashop\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(151): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))", "#10 C:\laragon\www\larashop\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))", "#11 C:\laragon\www\larashop\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TransformsRequest.php(31): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))", "#12 C:\laragon\www\larashop\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(151): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))", "#13 C:\laragon\www\larashop\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))", "#14 C:\laragon\www\larashop\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\ValidatePostSize.php(27): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))", "#15 C:\laragon\www\larashop\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(151): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(Object(Illuminate\Http\Request), Object(Closure))", "#16 C:\laragon\www\larashop\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))", "#17 C:\laragon\www\larashop\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode.php(62): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))", "#18 C:\laragon\www\larashop\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(151): Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))", "#19 C:\laragon\www\larashop\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))", "#20 C:\laragon\www\larashop\vendor\barryvdh\laravel-cors\src\HandlePreflight.php(29): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))", "#21 C:\laragon\www\larashop\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(151): Barryvdh\Cors\HandlePreflight->handle(Object(Illuminate\Http\Request), Object(Closure))", "#22 C:\laragon\www\larashop\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))", "#23 C:\laragon\www\larashop\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(104): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))", "#24 C:\laragon\www\larashop\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(151): Illuminate\Pipeline\Pipeline->then(Object(Closure))", "#25 C:\laragon\www\larashop\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(116): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))", "#26 C:\laragon\www\larashop\public\index.php(55): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))", "#27 {main}" ] } }

I already 'use' this Symfony\Component\HttpKernel\Exception\NotFoundHttpException; in Handler.php class. Thanks before

13 May
1 year ago

vrry started a new conversation Illuminate \ Database \ QueryException (42000) SQLSTATE[42000]: Syntax Error Or Access Violation: 1066 Not Unique Table/alias:

Why i get this error?

this is my query. tq before.

$getAll = DB::table('guests') ->join('guests', 'orders.guest_id', '=', 'orders.guest_id') ->join('orders', 'invoices.order_id', '=', 'orders.order_id') ->select( DB::raw('count(guests.guest_id) as countGuest'), 'guests.guest_name as name', DB::raw('count(orders.order_id) as countOrder'), DB::raw('sum(invoices.payment) as total') ) ->groupBy('guests.guest_id') ->orderBy('countOrder', 'DESC') ->limit(5) ->get();

01 Apr
1 year ago

vrry left a reply on Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_RECOVERABLE_ERROR)

@tykus yes, i'm using Auth::attempt(). and my attribute is username_guest and password_guest. How can i fix it?

vrry started a new conversation Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_RECOVERABLE_ERROR)

Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_RECOVERABLE_ERROR) Type error: Argument 1 passed to Illuminate\Auth\SessionGuard::attempt() must be of the type array, object given, called in ....... vendor\laravel\framework\src\Illuminate\Auth\AuthManager.php on line 292

vrry left a reply on BadMethodCallException Method Illuminate\Http\Request::expect Does Not Exist.

@Cronix i did't use auth::user()->attempt..... , but i use auth::employee()->attempt..... what should i do?

vrry started a new conversation BadMethodCallException Method Illuminate\Http\Request::expect Does Not Exist.

public function __call($method, $parameters)
{
    if (! static::hasMacro($method)) {
        throw new BadMethodCallException(sprintf(
            'Method %s::%s does not exist.', static::class, $method
        ));
    }

    $macro = static::$macros[$method];

    if ($macro instanceof Closure) {
        return call_user_func_array($macro->bindTo($this, static::class), $parameters);
    }

    return call_user_func_array($macro, $parameters);
}

i don't know what's the problem :(

vrry started a new conversation ErrorException (E_NOTICE) Undefined Index: Password

this is the error :

public function validateCredentials(UserContract $user, array $credentials)
{
    $plain = $credentials['password'];

    return $this->hasher->check($plain, $user->getAuthPassword());
}

i did't use default name "password" for attribute password, but i use "password_guest". why i get this trouble? tq

28 Mar
1 year ago

vrry left a reply on SQLSTATE[42S22]: Column Not Found: 1054 Unknown Column 'created_at' In 'order Clause'

@shez1983 can you give me a specify query example as you mean :d

vrry started a new conversation SQLSTATE[42S22]: Column Not Found: 1054 Unknown Column 'created_at' In 'order Clause'

"SQLSTATE[42S22]: Column not found: 1054 Unknown column 'created_at' in 'order clause' (SQL: select * from branches order by created_at desc limit 5 offset 0)"