Git Product home page Git Product logo

Comments (9)

lucasjose501 avatar lucasjose501 commented on June 11, 2024 2

As you are using Laragon, maybe your composer is reading your path variable that have php 7.4 defined and not your recent 8.0 version. Test it opening the cmd and type "php -v" to confirm.
Usually what works for me is opening Laragon and: "Menu > Tools > Path > Remove Laragon from Path" and then again but add it to the Path.
Try it and see if works

from laravel-from-scratch-blog-project.

kunal254 avatar kunal254 commented on June 11, 2024

I think that is a null safe operator.

from laravel-from-scratch-blog-project.

th3hero avatar th3hero commented on June 11, 2024

I know but that's throwing an error while migrating to database, I don't know that happened just with or anyone else, but when I removed it, worked fine!.

from laravel-from-scratch-blog-project.

kunal254 avatar kunal254 commented on June 11, 2024

Hi, could you please attach the screenshot of the error here.

from laravel-from-scratch-blog-project.

th3hero avatar th3hero commented on June 11, 2024

error

Kindly have a look.

from laravel-from-scratch-blog-project.

kunal254 avatar kunal254 commented on June 11, 2024

well that's makes no sense to me. sorry bro.

from laravel-from-scratch-blog-project.

Shoovoon avatar Shoovoon commented on June 11, 2024

How did you solved the issue?

from laravel-from-scratch-blog-project.

lucasjose501 avatar lucasjose501 commented on June 11, 2024

That syntax requires PHP 8.0 or newer to work

from laravel-from-scratch-blog-project.

Shoovoon avatar Shoovoon commented on June 11, 2024

That syntax requires PHP 8.0 or newer to work

-I changed my Php version to 8.0 from 7.4 from laragon, didnt work.
-Changed required php version ["php": "^7.3|^8.0",] on composer.json file, didnt work.

Please guide me to tackle this kind of problem.

from laravel-from-scratch-blog-project.

Related Issues (7)

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.