pushpak18's avatar

Getting error in blog/bootstrap/app.php file

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in C:\xampp\htdocs\blog\bootstrap\app.php

0 likes
4 replies
Snapey's avatar

unless you have edited this file, check your php version and the minimum requirements for the version of Laravel being used

pushpak18's avatar

i have checked the version of php as well it's php 7.4.6....but still it show the same error..

Snapey's avatar

have you checked it from a web page (not just from the command line). Its easy to have your web server running an older php version.

ousid's avatar

Can You Show Us The the code in bootstrap/app.php ?

with PHP version and laravel version also

Please or to participate in this conversation.