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

Laravel 5 support is broken #92

Closed
tharshanlk opened this issue Dec 12, 2014 · 13 comments
Closed

Laravel 5 support is broken #92

tharshanlk opened this issue Dec 12, 2014 · 13 comments

Comments

@tharshanlk
Copy link

laravel/framework#6583

@freekmurze
Copy link

Hi, what's the status on L5 compatibilty?

@cviebrock
Copy link
Owner

Have you tried dev-develop? To be honest, I haven't had a chance to look at this before. But now that L5 has been released, the plan is to package this up in the next few days.

So, try the develop branch and let me know if you have any issues with it.

@ricardocanelas
Copy link

After install and run 'artisan php' on the terminal

my composer.json

"require": {
        "laravel/framework": "5.0.*",
        "illuminate/html": "~5.0",
        "cviebrock/eloquent-sluggable": "dev-develop"
    },
...

app.config

..
  'Cviebrock\EloquentSluggable\SluggableServiceProvider',
..
   composer dump-autoload
exception 'BadMethodCallException' with message 'Call to undefined method [package]' in /MyFolder/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php:226
Stack trace:
#0 /MyFolder/vendor/cviebrock/eloquent-sluggable/src/Cviebrock/EloquentSluggable/SluggableServiceProvider.php(22): Illuminate\Support\ServiceProvider->__call('package', Array)
#1 /MyFolder/vendor/cviebrock/eloquent-sluggable/src/Cviebrock/EloquentSluggable/SluggableServiceProvider.php(22): Cviebrock\EloquentSluggable\SluggableServiceProvider->package('cviebrock/eloqu...')
#2 [internal function]: Cviebrock\EloquentSluggable\SluggableServiceProvider->boot()
#3 /MyFolder/vendor/laravel/framework/src/Illuminate/Container/Container.php(523): call_user_func_array(Array, Array)
#4 /MyFolder/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(631): Illuminate\Container\Container->call(Array)
#5 /MyFolder/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(613): Illuminate\Foundation\Application->bootProvider(Object(Cviebrock\EloquentSluggable\SluggableServiceProvider))
#6 [internal function]: Illuminate\Foundation\Application->Illuminate\Foundation\{closure}(Object(Cviebrock\EloquentSluggable\SluggableServiceProvider), 19)
#7 /MyFolder/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(614): array_walk(Array, Object(Closure))
#8 /MyFolder/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(15): Illuminate\Foundation\Application->boot()
#9 /MyFolder/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(165): Illuminate\Foundation\Bootstrap\BootProviders->bootstrap(Object(Illuminate\Foundation\Application))
#10 /MyFolder/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(192): Illuminate\Foundation\Application->bootstrapWith(Array)
#11 /MyFolder/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(89): Illuminate\Foundation\Console\Kernel->bootstrap()
#12 /MyFolder/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 {main}

@oknoote
Copy link

oknoote commented Feb 9, 2015

I get the same error, using the dev-develop branch.

@ttocskcaj
Copy link

I'm getting the same error. Any news?

@cviebrock
Copy link
Owner

Yeah, I kinda broke it while trying to consolidate everything for L5. Sorry! :(

Composer is being super slow for me today, but I'm getting it all organized and will try and push up an alpha version for L5 later today.

@freekmurze
Copy link

nice, looking forward to testing your changes!

@oknoote
Copy link

oknoote commented Feb 10, 2015

That would be awesome! It's one of the final pieces to finish upgrade my project to L5.

@cviebrock
Copy link
Owner

Want to try dev-master now?

@oknoote
Copy link

oknoote commented Feb 10, 2015

Hi Colin, I tried it but the slug column in the database remains empty. No
time to debug now unfortunately so perhaps I've made a mistake. Will
investigate tomorrow!

2015-02-10 21:05 GMT+01:00 Colin Viebrock notifications@github.com:

Want to try dev-master now?


Reply to this email directly or view it on GitHub
#92 (comment)
.

@ttocskcaj
Copy link

dev-master seems to work for me now. Did a quick test with a seeder.

@oknoote
Copy link

oknoote commented Feb 11, 2015

Silly me, I had commented out the SluggableServiceProvider in the
configuration. It's working like a charm! Thanks!!

2015-02-11 6:47 GMT+01:00 Jack Scott notifications@github.com:

dev-master seems to work for me now. Did a quick test with a seeder.


Reply to this email directly or view it on GitHub
#92 (comment)
.

@cviebrock
Copy link
Owner

👍

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

6 participants