jalamar
Forum Replies Created
-
My web developer found the issue:
“Since update 2.1.8, the issue affects all WooCommerce variable products in general. While trying to convert file links to Google api links, WP-Stateless is interfering with product data and filtering the variation data thus causing the variations to not show up.
Specifically, the function “post_metadata_filter” which is hooked to the “get_post_metadata” filter is affecting the retrieval of the post meta “_product_attributes” which is returning null always when WP-Stateless is active. This is causing all WooCommerce variable products to not display their variation on the frontend.”
Please fix this in a future update.
Hey Maria,
In our store, we use the WC Variations Radio Buttons plugin as a selector for WooCommerce Attribute values. As you can see in this before and after screenshot, using WP-Stateless 2.1.7, the radio selector buttons work properly. However, once updated to 2.1.8, the section that allows a customer to select the radio button attributes disappears entirely. I have had to disable updates to WP-Stateless 2.1.7 so that my store works properly.
Screenshot:
https://ibb.co/cENYA0Link to example product page (the issue occurs on every product storewide):
https://prodrumloops.com/product/kygo-drum-loops-kit/- This reply was modified 6 years, 4 months ago by jalamar.
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=2WordPress 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’, ”, ‘https://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
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.
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://www.ads-software.com/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.
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 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=2WordPress 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’, ”, ‘https://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