[Solved] Laravel notifications not working (composer error) [closed]


You are using the wrong version of PHP. The version of PHP that you are using does not support the feature of trailing commas in parameter lists when making calls. This is a feature that was added in 7.3.

The error proves this.

For Laravel 8 you need PHP >= 7.3.

PHP.net manual – 7.3 New Features – Trailing Commas

solved Laravel notifications not working (composer error) [closed]