aungwinthant / apilogger

Small laravel package for viewing api logs which can be used in debugging.
MIT License
346 stars 61 forks source link

ApiLoggerInterface Issue #45

Open kuldeepBacancy opened 1 year ago

kuldeepBacancy commented 1 year ago

Hello,

Laravel version: "laravel/framework": "^6.18.35" I'm using the below 2 packages at the same time:

"awt/apilogger": "dev-master"
"tightenco/ziggy": "^1.0"

I've added @routes to some blade files which will be used to get all routes in the javascript files. Now I wanted to add some other packages and after installing/removing other packages I'm getting the error in pages where I've added @routes

I tried removing, installing, and updating the package. Also, checked some solutions and tried this one (Stackoverflow).

The error screenshot is attached. Can I get the solution for the same?

Error

Akhundoff commented 1 year ago

Is there no solution to this problem without upgrade php version to 8.0? Upgrading php version to 8.0 is not acceptable for Laravel 6.

Akhundoff commented 1 year ago

@kuldeepBacancy did you solve this problem?

kuldeepBacancy commented 1 year ago

Is there no solution to this problem without upgrade php version to 8.0? Upgrading php version to 8.0 is not acceptable for Laravel 6.

There is no solution without upgrading the PHP version. Just because in php version < 8.0 we don't have support for bitwise operators.

So, we need to upgrade the PHP + Laravel versions and resolve the issue.

areoid commented 1 year ago

bad versioning :(