People on my site picture does not succeed in posting of that to make, but me I arrive
Hi there, congrats with version 4.0.0 Running smoothly so far on a test server.
We use Ultimate Member (and so do many other websites) as our social thing system. Any chance there will be upcoming integration either directly or via a plugin between Anspress and UM?
Hi There,
I need to remove the link to user profiles. My customer does not want to have individual user profile pages, so I would like to remove the hyperlink. I noticed that someone asked a similar question in 2015, and you said “I will add an option to disable links.” However, I do not see this option.
Any assistance is appreciated – thanks in advance!
Erin
Why does this query have to run on a category page? There seems to be no use for this on a category page but its firing when I go to any category page. This is a query that goes against the entire tables of wp_posts and wp_ap_qameta. Can it just be prevented from being run by any pages? What calls this? (or could you tell me how I can debug this to stop it from being called?) Is it possible something is setup to trigger this additional call for now reason?
- WP_Query->get_posts()
wp-includes/class-wp-query.php:2846
SELECT wp_posts.*, qameta.*, qameta.votes_up – qameta.votes_down AS votes_net
FROM wp_posts
LEFT JOIN wp_term_relationships
ON (wp_posts.ID = wp_term_relationships.object_id)
LEFT JOIN wp_ap_qameta qameta
ON qameta.post_id = wp_posts.ID
WHERE 1=1
AND ( wp_term_relationships.term_taxonomy_id IN (327689) )
AND wp_posts.post_type = ‘question’
AND ((wp_posts.post_status = ‘publish’
OR wp_posts.post_status = ‘trash’
OR wp_posts.post_status = ‘moderate’
OR wp_posts.post_status = ‘private_post’)
OR ( wp_posts.post_author = 1
AND wp_posts.post_status IN (‘publish’, ‘private_post’, ‘trash’, ‘moderate’) ) )
GROUP BY wp_posts.ID
ORDER BY CASE
WHEN IFNULL(qameta.featured, 0) =1
THEN 1
ELSE 2
END ASC, qameta.last_updated DESC
LIMIT 0, 20
- WP_Query->get_posts()
wp-includes/class-wp-query.php:2846
+
Plugin: anspress
15
Separately. The question page itself seems to call this Query again which is unnecessary for that specific page. Why would this be?
SELECT count(wp_posts.ID) FROM wp_posts LEFT JOIN wp_ap_qameta qameta ON qameta.post_id = wp_posts.ID WHERE 1=1 AND wp_posts.post_type = ‘question’ AND ((wp_posts.post_status = ‘publish’ OR wp_posts.post_status = ‘trash’ OR wp_posts.post_status = ‘moderate’ OR wp_posts.post_status = ‘private_post’) OR ( wp_posts.post_author = 1 AND wp_posts.post_status IN (‘publish’, ‘private_post’, ‘trash’, ‘moderate’) ) )
From the Theme or from Settings -> Reading -> set static page to home page does not set home/front page to user selected page because of Askbug Theme. With Askbug theme applied, no matter what you change the front page to unless it recognizes it the page will load AnsPress Questions. But if you select a different theme, you can change the front page to whatever you want.
Background
I have AnsPress installed through the WordPress Plugins site, and am running version 3.0.7. I have the AskBug theme installed, version 1.9.
Problem
I have a page in wordpress, ANSPRESS_TITLE, and the permalink is set to example.com/forum.
If I go to that page, I see my list of anspress posts. I see the pagination at the bottom, and if I inspect the page 2 button, I see the link: example.com/forum/page/2.
However, when I click that link, it does not work. I just get sent to example.com/forum/.
If I go to an individual post (example.com/forum/question/test_question), and try to go to the next page of answers (example.com/forum/question/test_question/page/2), I also get redirected to example.com/forum/.
If I go to my wordpress Settings > Reading section, I have the following setup:
I have tried resaving permalinks, but that does not fix the problem. Any ideas?
I see 4 times that crash in my debug.log, i have no idea when and how it happens.
__
[23-Feb-2017 13:29:59 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_queried_object() on null in /home/wp-includes/query.php:45
Stack trace:
#0 /home/wp-content/plugins/anspress-question-answer/includes/functions.php(146): get_queried_object()
#1 /home/wp-content/plugins/anspress-question-answer/includes/functions.php(169): is_anspress()
#2 /home/wp-content/plugins/anspress-question-answer/includes/views.php(40): is_question()
#3 /home/wp-includes/class-wp-hook.php(298): AnsPress_Views::insert_views(”)
#4 /home/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
#5 /home/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#6 /home/wp-includes/load.php(677): do_action(‘shutdown’)
#7 [internal function]: shutdown_action_hook()
#8 {main}
thrown in /home/wp-includes/query.php on line 45
I am trying to create a review site and i want to create rating system for reviews,inside the answer form.