WordPress.org

Ready to get started?Download WordPress

Forums

2 WordPress - 1 Membership DB - Error (1 post)

  1. zerophreak
    Member
    Posted 10 months ago #

    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)?

    Thanks,
    zero

Reply

You must log in to post.

About this Topic