Membership errors

Membership Plugin gives me this error in my php error_log:

[30-Jan-2012 05:04:08] WordPress database error Table 'edberryc_wrd1.wp_46_m_membership_relationships' doesn't exist for query SELECT * FROM wp_46_m_membership_relationships WHERE user_id = 1 AND sub_id != 0 made by require, require_once, include, get_header, locate_template, load_template, require_once, wp_head, do_action, call_user_func_array, feed_links, get_feed_link, apply_filters, call_user_func_array, membershippublic->add_feed_key, M_Membership->M_Membership, M_Membership->transition_through_subscription, M_Membership->get_relationships

This error may be related:

[30-Jan-2012 22:34:53] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 24 bytes) in /home2/edberryc/public_html/wp-includes/wp-db.php on line 1402

What can I do?

Thanks,

Ed

  • Timothy
    • Chief Pigeon

    Hey Ed.

    The error:

    Allowed memory size

    Is because your PHP is running out of memory, you will need to up that.

    This can be done through php.ini usually. If you are not sure how to do this then it might be best to contact your host.

    These may work for you:

    In your wp-config:

    define( 'WP_MEMORY_LIMIT', '256M' );

    In your htaccess:

    php_value memory_limit 256M

    In your PHP.ini
    memory_limit = 64M

    Once done, your other issue may well go away. :slight_smile:

    Hope this helps.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.