WPFront
  • Home
  • Plugins
    • Notification Bar Plugin
      • Plugin Ideas
      • Plugin Settings
      • Plugin FAQ
    • Scroll Top Plugin
      • Plugin Settings
      • Plugin FAQ
    • User Role Editor Plugin
      • Plugin Documentation
      • Plugin Settings
      • Plugin FAQ
    • Paddle Gateway Plugin
  • Go Pro
  • Support
    • Documentation
    • FAQ
  • Affiliates
  • Contact
  • Login
  • Cart
  • This topic has 1 reply, 2 voices, and was last updated 10 years, 1 month ago by Syam Mohan.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • March 18, 2015 at 12:03 pm #6312
    Fabrizio Penso
    Participant

    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

    March 18, 2015 at 6:19 pm #6338
    Syam Mohan
    Keymaster

    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

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Problem with DB’ is closed to new replies.
Log In
Lost Password

Search Topics

Documentation

FAQ
Roles List Add Role Edit Role Delete Role Restore Role Add or Remove Capability Assign/Migrate Users Posts/Pages Extended Permissions Custom Post Type Permissions Navigation Menu Permissions Widget Permissions Admin Menu Editor Media/Attachment File Permissions User Level Permissions Content Restriction Shortcodes Login Redirect Export Roles Import Roles Bulk Edit Settings Multisite Roles List Multisite Add New Role Multisite Edit Role Multisite Delete Role Multisite Restore Role Multisite Sync Roles Multisite Settings WordPress Capabilities Actions and Filters Installation Instructions