laravel-adminer icon indicating copy to clipboard operation
laravel-adminer copied to clipboard

Conflict in lang function

Open mbernet opened this issue 2 years ago • 0 comments

I'm using the package thiagocordeiro/laravel-translator and I have a conflict with this package.

FatalError PHP 8.2.3 9.52.6 Cannot redeclare lang() (previously declared in /var/www/html/vendor/thiagocordeiro/laravel-translator/src/Framework/helpers.php:9)

It seems that the laravel-translator package loads first and defines the function lang. Then, the package laravel-adminer tries to define the same function and as it loads after, it causes a fatal error.

mbernet avatar Apr 19 '23 13:04 mbernet