- This topic has 1 reply, 2 voices, and was last updated 9 years, 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- The topic ‘Problem with DB’ is closed to new replies.
for better security issue, we change the prefix of our db tables: after the installation of wp, and after the installation/configuration of wpfront … from wp_TABLENAME to [something]_TABLENAME, ad we are used to do.
now we have a trouble: when i launch the site, after the renaming, we get this — >>
Fatal error: Call to a member function has_cap() on a non-object in /home/SITENAME/public_html/wp-content/plugins/wpfront-user-role-editor-personal-pro/classes/personal-pro/class-wpfront-user-role-editor-custom-post-types.php on line 111
We check the structure and the datas of the 4 tables of wpfront, and -apparentely- nothing change from a previous backup.
where we are wrong ?
if we delete the wpfront folder under wp-content/plugin, the website is ok, excluding the page managed by wpfront.
we make this operation a lot of time and everything went ok everytime: this is the first time with wpfront…
thnx a lot, fabrizio
Hi Fabrizio,
The line you mentioned works on the “Administrator” role. If your are getting an error in that line, then your Administrator role object do not exist and WordPress is returning null while accessing Administrator role.
Do you see Administrator role within the roles list? Can you try restoring the Administrator role.
Thanks
Syam