spatie/laravel-missing-page-redirector

Call to undefined method Spatie\MissingPageRedirector\RedirectsMissingPages::isDeferred()

nivv opened this issue · 4 comments

nivv commented

Getting an error when trying to publish the config.

Steps to reproduce:

$ laravel new spatie && cd spatie
$ composer require spatie/laravel-missing-page-redirector
$ php artisan vendor:publish --provider="Spatie\MissingPageRedirector\MissingPageRedirectorServiceProvider"
# Outputs:
  [Symfony\Component\Debug\Exception\FatalThrowableError]
  Call to undefined method Spatie\MissingPageRedirector\RedirectsMissingPages::isDeferred()

I've tried to add the config manually but I still get the same error message.

PHP-version: 7.1.8

nivv commented

@freekmurze

        "php": ">=7.0.0",
        "fideloper/proxy": "~3.3",
        "laravel/framework": "5.5.*",
        "laravel/tinker": "~1.0",
        "spatie/laravel-missing-page-redirector": "^2.1"

PHP-version: 7.1.8

I tried your steps and it seems to be working at my end.
screen shot 2017-09-20 at 10 21 02

Tried & working for me too. Reopen this if you still face the issue :)