Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined property: DateTime::$timezone #5

Open
devbeans opened this issue Jul 28, 2016 · 1 comment
Open

Undefined property: DateTime::$timezone #5

devbeans opened this issue Jul 28, 2016 · 1 comment

Comments

@devbeans
Copy link

Hi, First of all thank you for making our lives easier by developing this.

For some weird reason when I installed the app into our forge server, after logging in(linkedIn) and logging out, Undefined property: DateTime::$timezone error is thrown. This works perfectly though using valet or homestead. Any thoughts? More details below:

ErrorException in line 0:
Undefined property: DateTime::$timezone (View: /home/forge/admin.xxx.xyz/resources/views/partials/login.blade.php) (View: /home/forge/admin.xxx.xyz/resources/views/partials/login.blade.php) (View: /home/forge/admin.xxx.xyz/resources/views/partials/login.blade.php) (View: /home/forge/admin.xxx.xyz/resources/views/partials/login.blade.php)
in line 0
at CompilerEngine->handleViewException(object(ErrorException), '0') in PhpEngine.php line 44
at PhpEngine->evaluatePath('/home/forge/admin.xxx.xyz/storage/framework/views/08590354a1a9edc3f9e76fdddc7a6038d9c1cf39.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag))) in CompilerEngine.php line 59
at CompilerEngine->get('/home/forge/admin.xxx.xyz/resources/views/pages/index.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag))) in View.php line 149
at View->getContents() in View.php line 120
at View->renderContents() in View.php line 85
at View->render() in Response.php line 53
at Response->setContent(object(View)) in Response.php line 201
at Response->__construct(object(View)) in Router.php line 1085
at Router->prepareResponse(object(Request), object(View)) in ControllerDispatcher.php line 95
at Closure$Illuminate\Routing\ControllerDispatcher::callWithinStack(object(Request))
at call_user_func(object(ControllerDispatcher::callWithinStack;2047710842), object(Request)) in Pipeline.php line 52
at Closure$Illuminate\Routing\Pipeline::getInitialSlice(object(Request))
at call_user_func(object(Pipeline::getInitialSlice;1865709929), object(Request)) in Pipeline.php line 103
at Pipeline->then(object(ControllerDispatcher::callWithinStack;2047710842)) in ControllerDispatcher.php line 96
at ControllerDispatcher->callWithinStack(object(PagesController), object(Route), object(Request), 'getIndex') in ControllerDispatcher.php line 54
at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\PagesController', 'getIndex') in Route.php line 174
at Route->runController(object(Request)) in Route.php line 140
at Route->run(object(Request)) in Router.php line 725
at Closure$Illuminate\Routing\Router::runRouteWithinStack(object(Request))
at call_user_func(object(Router::runRouteWithinStack;194570111), object(Request)) in Pipeline.php line 52
at Closure$Illuminate\Routing\Pipeline::getInitialSlice(object(Request)) in VerifyCsrfToken.php line 64
at VerifyCsrfToken->handle(object(Request), object(Pipeline::getInitialSlice;1865709929))
at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Pipeline::getInitialSlice;1865709929))) in Pipeline.php line 136
at Closure$Illuminate\Pipeline\Pipeline::getSlice(object(Request))
at call_user_func(object(Pipeline::getSlice;1111480756), object(Request)) in Pipeline.php line 32
at Closure$Illuminate\Routing\Pipeline::getSlice(object(Request)) in ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(object(Request), object(Pipeline::getSlice;1865709929))
at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Pipeline::getSlice;1865709929))) in Pipeline.php line 136
at Closure$Illuminate\Pipeline\Pipeline::getSlice(object(Request))
at call_user_func(object(Pipeline::getSlice;1111480756), object(Request)) in Pipeline.php line 32
at Closure$Illuminate\Routing\Pipeline::getSlice(object(Request)) in StartSession.php line 62
at StartSession->handle(object(Request), object(Pipeline::getSlice;1865709929))
at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Pipeline::getSlice;1865709929))) in Pipeline.php line 136
at Closure$Illuminate\Pipeline\Pipeline::getSlice(object(Request))
at call_user_func(object(Pipeline::getSlice;1111480756), object(Request)) in Pipeline.php line 32
at Closure$Illuminate\Routing\Pipeline::getSlice(object(Request)) in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Pipeline::getSlice;1865709929))
at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Pipeline::getSlice;1865709929))) in Pipeline.php line 136
at Closure$Illuminate\Pipeline\Pipeline::getSlice(object(Request))
at call_user_func(object(Pipeline::getSlice;1111480756), object(Request)) in Pipeline.php line 32
at Closure$Illuminate\Routing\Pipeline::getSlice(object(Request)) in EncryptCookies.php line 59
at EncryptCookies->handle(object(Request), object(Pipeline::getSlice;1865709929))
at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Pipeline::getSlice;1865709929))) in Pipeline.php line 136
at Closure$Illuminate\Pipeline\Pipeline::getSlice(object(Request))
at call_user_func(object(Pipeline::getSlice;1111480756), object(Request)) in Pipeline.php line 32
at Closure$Illuminate\Routing\Pipeline::getSlice(object(Request))
at call_user_func(object(Pipeline::getSlice;1865709929), object(Request)) in Pipeline.php line 103
at Pipeline->then(object(Router::runRouteWithinStack;194570111)) in Router.php line 726
at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 699
at Router->dispatchToRoute(object(Request)) in Router.php line 675
at Router->dispatch(object(Request)) in Kernel.php line 246
at Closure$Illuminate\Foundation\Http\Kernel::dispatchToRouter(object(Request))
at call_user_func(object(Kernel::dispatchToRouter;18462137), object(Request)) in Pipeline.php line 52
at Closure$Illuminate\Routing\Pipeline::getInitialSlice(object(Request)) in CheckForMaintenanceMode.php line 44
at CheckForMaintenanceMode->handle(object(Request), object(Pipeline::getInitialSlice;1865709929))
at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Pipeline::getInitialSlice;1865709929))) in Pipeline.php line 136
at Closure$Illuminate\Pipeline\Pipeline::getSlice(object(Request))
at call_user_func(object(Pipeline::getSlice;1111480756), object(Request)) in Pipeline.php line 32
at Closure$Illuminate\Routing\Pipeline::getSlice(object(Request))
at call_user_func(object(Pipeline::getSlice;1865709929), object(Request)) in Pipeline.php line 103
at Pipeline->then(object(Kernel::dispatchToRouter;18462137)) in Kernel.php line 132
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 99
at Kernel->handle(object(Request)) in index.php line 54

@mauri870
Copy link
Contributor

mauri870 commented Jul 28, 2016

Seems like a misconfiguration on your server or a bad call to DateTime/Carbon on your app, not related with this package itself.

Try clean your cache files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants