Git Product home page Git Product logo

Comments (6)

milewski avatar milewski commented on September 12, 2024

I think this is due to the version of php you are using, what version is it?

from nova-dashboard.

haxifang-aircos avatar haxifang-aircos commented on September 12, 2024

I have the same problem. My VERSION of PHP is 7.4.6

from nova-dashboard.

milewski avatar milewski commented on September 12, 2024

Guys the line in the error is this one https://github.com/dcasia/nova-dashboard/blob/master/src/NovaDashboard.php#L13 are you sure you are using php 7.4? It should support property type hint

from nova-dashboard.

haxifang-aircos avatar haxifang-aircos commented on September 12, 2024

I am sure the version is 7.4.6. What version do you have?

from nova-dashboard.

milewski avatar milewski commented on September 12, 2024

Im currently on: PHP 7.4.8 (cli) (built: Jul 9 2020 23:47:36) ( NTS )

However it should work since PHP 7.4, are you sure that your host machine is using 7.4 but your web server is actually using an older version?

---edit

I have just rebuild my docker images using php:7.4.6-fpm-alpine image and it still works without issues... I do think your webserver is not pointing to the right version of php

from nova-dashboard.

cord avatar cord commented on September 12, 2024

works here with php 7.4.5

from nova-dashboard.

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.