Hi jalamar in my testing site running WordPress 4.2.2 is letting me save the entry. Can you check the log file and report back with any findings.
Can you also carry out a test, by disabling all your other plugins and only leaving Simple Membership and this add-on active. Then try adding another URL.
I tried disabling all of the plugins except for Simple Membership and this add-on. Still does not save the URL. This is the error I receive when trying to save a URL:
WordPress database error: [Table ‘triple_threat_tech.wp_swpm_membership_meta_tbl’ doesn’t exist]
SELECT * FROM wp_swpm_membership_meta_tbl WHERE level_id=2
WordPress database error: [Table ‘triple_threat_tech.wp_swpm_membership_meta_tbl’ doesn’t exist]
REPLACE INTO wp_swpm_membership_meta_tbl (level_id, meta_key, meta_label, meta_value, meta_type, meta_default, meta_context) VALUES(2, ‘swpm_alr_after_login_page_field’, ”, ‘http://www.triplethreattech.com/newsite/support-ticket’, ‘text’, ”, ‘swpm_alr’);
Warning: Cannot modify header information – headers already sent by (output started at /home/triplethreattech/public_html/newsite/wp-includes/wp-db.php:1309) in /home/triplethreattech/public_html/newsite/wp-includes/pluggable.php on line 1196
Hi, the above errors are pointing a database table issue. Can you uninstall the add-on and download and install a fresh copy. Lets see if that works.
Just tried uninstalling the add-on and installing a fresh copy. Same issue. I even uninstalled again and tried to install version 1.0 of the add-on, and the same issue occurs.
After neither of these attempts worked, I even tried installing a fresh copy of WordPress 4.2.2 and created a test website. In order to avoid conflicts, I only installed the plugins Simple Membership and the redirect add-on, and I still ran into the same error using a totally different database.
I’m not quite sure why the add-on or Simple Membership plugin is not creating the required table wp_swpm_membership_meta_tbl. Is there an easy way of adding that table to my database or is it overly complicated?
I have submitted a request to one of the plugin developers to look into your issue further.
When you say version 1.0 do you mean version 1.1?
Regards
I have tested this issue on both versions 1.0 and 1.1 of the Simple Membership After Login Redirection add-on. I was explaining that I went a step further after the errors with version 1.1 because I was curious to see if the previous build may work instead. So I downloaded the 1.0 build from the “Developers” section of the plugin page https://wordpress.org/plugins/simple-membership-after-login-redirection/developers/ and tested the issue on the previous 1.0 build of this add-on as well.
Both the current version 1.1 and previous version 1.0 result in the same database table errors.
I have the same problem, the redirect URL is not being saved for the membershiplevels.
Please upgrade this addon to v1.2 and you shouldn’t see this issue anymore.
Just upgraded to v1.2 and the problem still exists. It will not save the URL when entered. When going back into the edit screen for the membership level, the “After Login Redirection Page” entry box remains empty.
This is the debug error I receive:
WordPress database error: [Table ‘triple_threat_tech.wp_swpm_membership_meta_tbl’ doesn’t exist]
SELECT * FROM wp_swpm_membership_meta_tbl WHERE level_id=2
WordPress database error: [Table ‘triple_threat_tech.wp_swpm_membership_meta_tbl’ doesn’t exist]
REPLACE INTO wp_swpm_membership_meta_tbl (level_id, meta_key, meta_label, meta_value, meta_type, meta_default, meta_context) VALUES(2, ‘swpm_alr_after_login_page_field’, ”, ‘http://www.triplethreattech.com/newsite/support-ticket/’, ‘text’, ”, ‘swpm_alr’);
Warning: Cannot modify header information – headers already sent by (output started at /home/triplethreattech/public_html/newsite/wp-includes/wp-db.php:1309) in /home/triplethreattech/public_html/newsite/wp-includes/pluggable.php on line 1196
Looks like the “wp_swpm_membership_meta_tbl” table doesn’t even exist on your site. That is very odd. That table should have gotten created when you installed the simple membership plugin.
Can you deactivate and reactivate the simple membership plugin to see if it creates the table.
@wp.insider I can confirm that deactivating and reactivating Simple Membership plugin worked on my test server.