Solucionado (ver solução)
Solucionado
(ver solução)
2
respostas

Após instalar o módulo de login ocorre um erro ao tentar registrar-se

Passo 1 : php artisan make:auth Passo 2: http://localhost:8000/register Passo 3: preenchi os dados do formulário Passo 4: cliquei no botão para registrar e deu erro:

ErrorException (E_USER_DEPRECATED)

The "Doctrine\Common\Inflector\Inflector::pluralize" method is deprecated and will be dropped in doctrine/inflector 2.0. Please update to the new

C:\xampp\htdocs\controle-series_parte3\vendor\doctrine\inflector\lib\Doctrine\Common\Inflector\Inflector.php

                    return new Substitution(new Word($word), new Word($to));
                },
                array_keys($irregular),
                array_values($irregular)
            ))
        );
    }

    /**
     * Returns a word in plural form.
     *
     * @param string $word The word in singular form.
     *
     * @return string The word in plural form.
     *
     * @deprecated
     */
    public static function pluralize(string $word) : string
    {
        @trigger_error(sprintf('The "%s" method is deprecated and will be dropped in doctrine/inflector 2.0. Please update to the new Inflector API.', __METHOD__), E_USER_DEPRECATED);

        return self::getInstance()->pluralize($word);
    }

    /**
     * Returns a word in singular form.
     *
     * @param string $word The word in plural form.
     *
     * @return string The word in singular form.
     *
     * @deprecated
     */
    public static function singularize(string $word) : string
    {
        @trigger_error(sprintf('The "%s" method is deprecated and will be dropped in doctrine/inflector 2.0. Please update to the new Inflector API.', __METHOD__), E_USER_DEPRECATED);

        return self::getInstance()->singularize($word);
    }
}

Arguments

"The "Doctrine\Common\Inflector\Inflector::pluralize" method is deprecated and will be dropped in doctrine/inflector 2.0. Please update to the new Inflector API."

SERVER_SOFTWARE"PHP 7.4.4 Development Server"

2 respostas

Fala, Humberto.

Qual versão do Laravel você está utilizando? Tenta atualizar pra versão mais recente que tudo deve funcionar.

solução!

Atualizações feitas. Voltou a funcionar. Obrigado