s2Member Framework (Member Roles, Capabilities, Membership, PayPal Members)
Database Table Prefix Change Causing Issues (1 post)

  1. mygeek911
    Posted 1 year ago #

    We changed the database tables' prefix as a security measure, but now the plugin is throwing PHP errors because it is still using the old table prefix.

    [17-Apr-2014 14:41:24 UTC] WordPress database error Table 'database_name.wp_usermeta' doesn't exist for query SELECT meta_value FROM wp_usermeta WHERE user_id=127 && meta_key='wp_s2member_custom_fields' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/egesto/author.php')

    As you can see, it is using wp_ still for the prefix. How can we update S2Member so that it looks for the correct table prefix? Thanks.


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic