user70
Forum Replies Created
-
Forum: Plugins
In reply to: [Participants Database] pdb_list search stopped workingThanks, that did the trick.
I’ll keep an eye out for that update.Forum: Plugins
In reply to: [Participants Database] pdb_list search stopped workingThanks. It appears the logged query is incorrect:
Log when suppress=true (FAIL)
PDb_List::_setup_iteration list query: SELECT p.id, p.title, p.first_name, p.last_name, p.specialty, p.address, p.city, p.state, p.country FROM participants_database p WHERE p.id = "0" ORDER BY p.last_name ASC
- I am searching for a last_name, so the WHERE clause is incorrect
- I am certain the last_name exists in the database
- I mentioned in the original post that if I set suppress=false and run the search, it returns the correct result
Log when suppress=false (SUCCESS)
PDb_List::_setup_iteration list query: SELECT p.id, p.title, p.first_name, p.last_name, p.specialty, p.address, p.city, p.state, p.country FROM participants_database p WHERE p.approved = "Yes" AND (p.last_name LIKE "%morgan%") ORDER BY p.last_name ASC
Any additional thoughts?
Forum: Plugins
In reply to: [Paystack WooCommerce Payment Gateway] Orders stuck in Pending payment statusThanks.
1. Yes, webhook url is correctly setup.
2. They were all card transactions.
3. Yes, I have triple-checked and the keys match.Pardon my error. It appears I was looking at an incorrect settings page. Apparently, there was a leftover installation of Paystack Forms and those were the settings that were correct while the Woocommerce Payment Gateway settings were incorrect. Once corrected everything now works as expected – thanks for the nudge!
Question? If payments are completely handled by the Paystack Woocommerce Payment Gateway, I suppose Paystack Forms has no further known role to play and can be removed?
- This reply was modified 2 years, 7 months ago by user70.
Never mind. I found a fix in the manual. I defined a default store address in woocommerce settings and set a Default customer location.
Strange that it only became obvious in firefox and not in any chromium-based browser.Forum: Plugins
In reply to: [WP Abstracts] Dashboard does not show upGreat job with support.
It seems the AIO SEO plugin doesn’t play nicely with wpabstracts.Forum: Themes and Templates
In reply to: [AccessPress Parallax] Turn static background image into sliderI thought it was enough to add the image to the post body itself, turns out I have to set it as “Featured image” in the post.
Thanks for the pointer – RTM!Forum: Themes and Templates
In reply to: [AccessPress Parallax] Turn static background image into sliderIt’s the slider on the homepage.
Forum: Themes and Templates
In reply to: [AccessPress Parallax] Turn static background image into sliderI can’t get the image slider on the homepage to be widescreen. Instead it just fills a box in the middle of the homepage.
I activated the slider from the WP Theme Customization menu.Forum: Plugins
In reply to: [Code Snippets] PHP variable in SQL select issuesNever mind, this fixed it:
function fetch_member_id(){ $current_user = wp_get_current_user(); $current_user_id = $current_user->ID; global $wpdb; $result = $wpdb->get_results('SELECT meta_value FROM usermeta WHERE meta_key = \'random_number\' AND user_id = ' . $current_user->ID); foreach($result as $row){ return 'Membership ID: '. $row->meta_value; } }
- This reply was modified 4 years, 9 months ago by user70.
Thanks @sharmadpk03
I’ve completed those steps, but I have not yet been able to get my function display results in the dashboard.function fetch_member_id(){ $current_user = wp_get_current_user(); $current_user_id = $current_user->ID; global $wpdb; $result = $wpdb->get_results('SELECT meta_value FROM usermeta WHERE meta_key = \'random_number\' AND user_id = ' . $current_user->ID); foreach($result as $row){ return 'Membership ID: '. $row->meta_value; } }
I’m trying to display a membership id in the user’s dashboard, but I get the following error in the dashboard tab
There has been a critical error on your website.
- This reply was modified 4 years, 9 months ago by user70.