framework icon indicating copy to clipboard operation
framework copied to clipboard

Call to undefined method Illuminate\Foundation\Bootstrap\ConfigureLogging::configureHandler

Open xbagir opened this issue 11 years ago • 13 comments

When run "composer update ", got error:

Fatal error: Call to undefined method Illuminate\Foundation\Bootstrap\ConfigureLogging::configureHandler() in ...\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\ConfigureLogging.php on line 54 Script php artisan clear-compiled handling the post-update-cmd event returned with an error

xbagir avatar Feb 26 '15 21:02 xbagir

Delete the compiled file by hand.

GrahamCampbell avatar Feb 26 '15 21:02 GrahamCampbell

Deleting will not help. 5.0.7 works correctly bug in 5.0.8

xbagir avatar Feb 26 '15 22:02 xbagir

error messages when updating from 5.0.7 to 5.0.8

Generating autoload files

Notice: date_default_timezone_set(): Timezone ID '' is invalid in D:\www\Larave l\test\L5-test\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap
LoadConfiguration.php on line 41

Fatal error: Call to undefined method Illuminate\Foundation\Bootstrap\ConfigureL ogging::configureHandler() in D:\www\Laravel\test\L5-test\vendor\laravel\fr amework\src\Illuminate\Foundation\Bootstrap\ConfigureLogging.php on line 54 Script php artisan clear-compiled handling the post-update-cmd event returned wi th an error

app.php 'timezone' => 'UTC'

DragonI avatar Feb 26 '15 23:02 DragonI

Fixed?

https://github.com/laravel/framework/pull/7632

RomainLanz avatar Feb 26 '15 23:02 RomainLanz

Sorry, same error when upgrading to 5.0.11

DragonI avatar Feb 26 '15 23:02 DragonI

And with 5.0.10?

RomainLanz avatar Feb 26 '15 23:02 RomainLanz

Yes, same errors with 5.0.10 as well. Reverted back to 5.0.7 and it's all good

DragonI avatar Feb 26 '15 23:02 DragonI

Wait for https://github.com/laravel/framework/pull/7634

RomainLanz avatar Feb 27 '15 00:02 RomainLanz

Correct here https://github.com/laravel/framework/commit/839c2f9a9f07948037f76be647a0131fbdc465a0

Can you confirm?

RomainLanz avatar Feb 27 '15 00:02 RomainLanz

5.0.12 worked like a charm :) Thx @RomainLanz

DragonI avatar Feb 27 '15 00:02 DragonI

@Dragonl all thanks go to @portonefive :)

RomainLanz avatar Feb 27 '15 00:02 RomainLanz

See #7635 for the proper fix.

ghost avatar Feb 27 '15 00:02 ghost

When I upgrade my laravel to 5.0 from 4.2, I copy my app.php. I solved it by this #6310

LF-DevJourney avatar Aug 23 '17 03:08 LF-DevJourney