laravel-adminer
laravel-adminer copied to clipboard
Conflict in lang function
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.