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?