Project

General

Profile

in 5.1.0,I Can not create a new user

Added by alex alex 26 days ago

when i click create new user,it show 500,this is the log:


ActionView::Template::Error (The single-table inheritance mechanism failed to locate the subclass: 'AuthSourceUcenter'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. Please rename this column if you didn't intend it to be used for storing the inheritance class or overwrite AuthSource.inheritance_column to use another column for that information.):


Replies (1)

RE: in 5.1.0,I Can not create a new user - Added by Holger Just 24 days ago

You likely had previously installed a plugin which adds a custom auth source with a model named AuthSourceUcenter. You likely have now removed this plugin but still have its data in the database.

To fix this, you have to at least manually remove all roes in the auth_sources table in your database where the type column is AuthSourceUcenter. The plugin may have added other data whioch you may have to remove when uninstalling the plugin. You may have to check this with the plugin authors.

    (1-1/1)