Coder Social home page Coder Social logo

Comments (11)

nasirkhan avatar nasirkhan commented on June 1, 2024

Can you please check that the version of MariaDb you are using supports JSON column?

from laravel-starter.

finnie2006 avatar finnie2006 commented on June 1, 2024

I have the same problem, i run mariadb 10.5.13

from laravel-starter.

finnie2006 avatar finnie2006 commented on June 1, 2024

@nasirkhan

from laravel-starter.

nasirkhan avatar nasirkhan commented on June 1, 2024

from laravel-starter.

finnie2006 avatar finnie2006 commented on June 1, 2024

With mysql it works not with the latest mariadb

from laravel-starter.

nasirkhan avatar nasirkhan commented on June 1, 2024

from laravel-starter.

nasirkhan avatar nasirkhan commented on June 1, 2024

from laravel-starter.

JohnB17 avatar JohnB17 commented on June 1, 2024

Fixed. Although, for some reason when I set something in the settings, it doesn't apply. It remembers what I set it to, but it doesn't change anything.

from laravel-starter.

nasirkhan avatar nasirkhan commented on June 1, 2024

@JohnB17 well you may need to clear the cache to see the changed data. As the Settings Items usually not changed that frequently, so they are cached for a longer time.

from laravel-starter.

finnie2006 avatar finnie2006 commented on June 1, 2024

oh oki, also i tried oauth github but i get the following error when clicking on the button

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'name' cannot be null (SQL: insert into `users` (`first_name`, `last_name`, `name`, `email`, `updated_at`, `created_at`) values (, , ?, [email protected], 2021-11-20 17:19:18, 2021-11-20 17:19:18)) 

from laravel-starter.

nasirkhan avatar nasirkhan commented on June 1, 2024

I can see from the query that the First name and Last name is empty so the Name is empty. I always found that Github returns name and email while social login. You may have not set your name on your github account. Please Check the social login with an account with a name.

If you want to allow User accounts without a first name or last name you need to implement that by your own. Or you can handle this exception and show a input form if the social account does not return a Name. If you can build a solution to address this issue, please consider submitting a PR to this repo.

from laravel-starter.

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.