Closed qschmick closed 7 years ago
Looks like a php version issue. I haven't tested this in Laravel 5.4 with php 5.6. I will run some tests and will let you know.
Also, make sure you have v1.X for L5.4. If you still have pre release version installed, make sure that you run a composer update --no-scripts
to bring totem to its latest version.
Thanks for looking into it. I did test with both v1.0.0 and v1.0.1
Sorry for the delay. I got swamped. Can you please try updating to 1.0.2 and give this a second try ?
Looks great. Thanks for the help. 👍
While attempting to add the package to my project I received these issues.
unexpected '->' (T_OBJECT_OPERATOR)
ANDsyntax error, unexpected '('
.Steps taken:
composer require studio/laravel-totem
Studio\Totem\Providers\TotemServiceProvider::class,
to app/config.phpartisan migrate
Line causing error:
return (CronExpression::factory($event->expression)->getNextRunDate($date->toDateTimeString()))->format('Y-m-d H:i:s');
Specifically it is the->
going to theformat()
function.Commenting out this line allows for the migration to run and for the assets to be published. After adding the
Totem::auth()
to AppServiceProvider a new error arises from tinker or when viewing a route.Line causing error:
Removing
($request)
also removes the error.Environmental setup: