Comments (3)
looks like PHP doesn't allow you to override functions, so you'll have to rename it.
from helpers.
take out the first line. the function already exists
from helpers.
I've tried that, it throws a FatalErrorException
Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_UNKNOWN)
Cannot redeclare logger() (previously declared in /var/www/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:514)
from helpers.
Related Issues (14)
- Use PHP v5.5.9 instead of v5.6 HOT 3
- php artisan make:helper MyHelper show problem HOT 2
- Re-inventing a wheel HOT 7
- 5.7 Compatibility HOT 2
- Helpers is not defined in server hosting HOT 5
- Support for Laravel 5.8.* HOT 1
- Accessing helpers in models? HOT 3
- Laravel 6.0 support HOT 1
- Can't install in laravel 6.xx HOT 1
- Laravel 9 for composer command HOT 1
- Error after run php artisan optimize:clear
- Is it compatible with laravel 5.3? HOT 2
- Lumen compatibility HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helpers.