Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
388 views
in Q2A Core by
edited by

For some reason I couldn't post comments on my wordpress integrated site when wrapping the WP theme around the q2a theme.  I get:

PHP Fatal error:  Call to undefined function qa_db_select_with_pending() in /home/noah/ask/qa-include/qa-app-users.php on line 108

Adding a require_once solves the problem, as follows:

                        if (!isset($qa_cached_logged_in_points)) {
                                require_once QA_INCLUDE_DIR.'qa-db-selects.php';
                                $qa_cached_logged_in_points=qa_db_select_with_pending(
                                    qa_db_user_points_selectspec(
                                        qa_get_logged_in_userid(),
                                        true
                                    )
                                );
                        }

 

Not sure why this happens?
 

Q2A version: 1.5b1

1 Answer

+1 vote
by
selected by
 
Best answer
Thanks - will fix it in beta 2.
...