Git Product home page Git Product logo

Comments (14)

mvrska avatar mvrska commented on September 14, 2024 4

@DLO33 @Globulard I had this issue, too, but when I doublechecked I didn't really have PHP 7.4, check in the context tab by the stack trace, just in case you have multiple php versions

from laravel-webhook-client.

freekmurze avatar freekmurze commented on September 14, 2024 1

Make sure to have PHP 7.4 installed.

from laravel-webhook-client.

DLO33 avatar DLO33 commented on September 14, 2024

I am also encountering this error. I have php 7.4.2 installed.

PHP 7.4.2 (cli) (built: Feb 5 2020 16:50:38) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.2, Copyright (c), by Zend Technologies

image

from laravel-webhook-client.

Globulard avatar Globulard commented on September 14, 2024

Same issue here using PHP 7.4.1. I don't get why @freekmurze closed it this fast.

from laravel-webhook-client.

kennblvnp avatar kennblvnp commented on September 14, 2024

same issue with 7.4.4.

from laravel-webhook-client.

blessingdube avatar blessingdube commented on September 14, 2024

If anyone is using Docker, you will need to maker sure that the PHP version in your container is also set to PHP 7.4. The error syntax error you are receiving is actually coming from the container's PHP version and not your local PHP version.

If using laradock, this is pretty easy to resolve.

First edit your laradock .env file on line 42 and set the PHP_VERSION value to 7.4

Then run docker-compose build php-fpm, followed by docker-compose build workspace

Once that's done, run docker-compose down and then bring your containers up as you normally would.

I hope this helps!

from laravel-webhook-client.

DLO33 avatar DLO33 commented on September 14, 2024

@DLO33 @Globulard I had this issue, too, but when I doublechecked I didn't really have PHP 7.4, check in the context tab by the stack trace, just in case you have multiple php versions

@mvrska appreciate the reply, finally got around to having a look at this and you were correct. Context was showing an older version of php. Updated Ngix and everything seems to be good now :)

from laravel-webhook-client.

LinuxSwiss avatar LinuxSwiss commented on September 14, 2024

Good evening all. Plsss I encounter de same problem but is not telling me to be expecting any ')' is just like that. Just check it out here please and help me
IMG_20210624_100707_289

from laravel-webhook-client.

mvrska avatar mvrska commented on September 14, 2024

Good evening all. Plsss I encounter de same problem but is not telling me to be expecting any ')' is just like that. Just check it out here please and help me
IMG_20210624_100707_289

is this even laravel?

from laravel-webhook-client.

LinuxSwiss avatar LinuxSwiss commented on September 14, 2024

Good evening all. Plsss I encounter de same problem but is not telling me to be expecting any ')' is just like that. Just check it out here please and help me
IMG_20210624_100707_289

is this even laravel?

well I don't really know I got my code from the company by name bulksmsnigeria.com.
And I integrated it using just php.

from laravel-webhook-client.

LinuxSwiss avatar LinuxSwiss commented on September 14, 2024

And this error is showing.

from laravel-webhook-client.

LinuxSwiss avatar LinuxSwiss commented on September 14, 2024

IMG_20210707_070548_673

from laravel-webhook-client.

LinuxSwiss avatar LinuxSwiss commented on September 14, 2024

This is the code

from laravel-webhook-client.

vicmi-dev avatar vicmi-dev commented on September 14, 2024

Make sure to have PHP 7.4 installed.

the issue for me was that I had changed the php version but I had not restarted apache. Thank you for the hint!

from laravel-webhook-client.

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.