Support » Fixing WordPress » 2 WordPress – 1 Membership DB – Error

  • zerophreak


    Hey guys,

    I use 2 WP systems, one with Membership Pro and one with WooCommerce.

    Now I want to combine both systems but it doesn’t work when I want to login as admin:
    “You do not have sufficient permissions to access this page.”

    I added:

    define('CUSTOM_USER_TABLE', 'wp_users');
    define('CUSTOM_USER_META_TABLE', 'wp_usermeta');

    And changed:

    function _init_caps( $cap_key = '' ) {
    		global $wpdb;
    		if ( empty($cap_key) )
    			$this->cap_key = $this->cap_key = ‘wp_capabilities’;#$wpdb->prefix . 'capabilities';

    In Capabilites!

    What am I doing wrong?

    And do you know if there’s a Paid Membership Pro bridge for merging 2 user databases (with WooCommerce)?


  • The topic ‘2 WordPress – 1 Membership DB – Error’ is closed to new replies.