GithubHelp home page GithubHelp logo

ErrorException about confide HOT 6 CLOSED

zizaco avatar zizaco commented on July 17, 2024
ErrorException

from confide.

Comments (6)

Zizaco avatar Zizaco commented on July 17, 2024

At the end of your config/app.php, have you written 'Confide' => 'Zizaco\Confide\ConfideFacade' correctly?

'aliases' => array(

    'App'        => 'Illuminate\Support\Facades\App',
    'Artisan'    => 'Illuminate\Support\Facades\Artisan',
    ...
    'Confide'    => 'Zizaco\Confide\ConfideFacade',

),

Haven't you mistyped Confide instead of ConfideFacade?


edit: The logAttempt method is not static, but the ConfideFacade simulates that, So in order to call the method statically, without registering it in $aliases array, you should do Zizaco\Confide\ConfideFacade::logAttempt($input)

from confide.

Bulmer avatar Bulmer commented on July 17, 2024

Hello Zizaco.
Yes I have "'Confide' => 'Zizaco\Confide\ConfideFacade'," in class aliases. Any other idea what it may be as i'd prefer to call statically.'Cheers.

from confide.

Zizaco avatar Zizaco commented on July 17, 2024

You should be able to call it statically. There is something else wrong.
I'm not able reproduce the error here, can you please post your code in github? so I can check exactly what is going on?

from confide.

Bulmer avatar Bulmer commented on July 17, 2024

I will get back to you in about 7 hours, when I get back to my Dev laptop. Cheers.

from confide.

Bulmer avatar Bulmer commented on July 17, 2024

Ok. Its not a problem with your code it seems my IDE (eclipse) automatically added "use Zizaco\Confide\Confide;" to the top of the page.
By the way , thanks for this 'unbloated' Auth package. Its just what I was looking for. Cheers.

from confide.

Zizaco avatar Zizaco commented on July 17, 2024

Your welcome :)

from confide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.