Give needs to upgrade the database but cannot because AJAX does not appear
-
I am getting the error message:
Give needs to upgrade the database but cannot because AJAX does not appear accessible. This could be because your website is password protected, in maintenance mode, or has a specific hosting configuration or plugin active that is preventing access.
Ajax is enabled on my server at SiteGround and none of the other issues apply.
What do I need to do to make this error message go away?
When I added the following code to the plugin it broke my site:
/**
* Always return true for Give’s AJAX check.
*
* If Give is throwing a false positive for admin-ajax accessibility this will bypass the check within give_test_ajax_works.
*
* @return bool
*/
function my_ajax_works_and_im_positive() {
return true;
}add_filter( ‘give_test_ajax_works’, ‘my_ajax_works_and_im_positive’ );
Am I supposed to add that to the functions.php file?
The page I need help with: [log in to see the link]
- The topic ‘Give needs to upgrade the database but cannot because AJAX does not appear’ is closed to new replies.