使用以下代码在laravel简单控制器类中获取错误
MethodNotAllowedHttpException
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use DB;
use app\Http\Requests;
use Illuminate\Support\Facades\Auth;
class ProfileController extends Controller
{
    private $userId;
    public function __construct()
    {
         $this->userId = Auth::id();    
    }
}
Run Code Online (Sandbox Code Playgroud)
路线:
Route::post('user_profile','ProfileController@insert');
Run Code Online (Sandbox Code Playgroud)
致电:   <form action="/user_profile" method="post">
我必须在wordpress注销用户,其中顶栏被禁用,并且在任何页面都没有可用的注销选项.
是否有从wordpress注销的一般链接?
我刚刚在 laravel 5.4 安装了 voyager 并迁移了表,但最后它显示以下错误
Route [voyager.posts.index] not defined
Run Code Online (Sandbox Code Playgroud)