Problem solved.
In my case there was ‘PHP Fatal error: Call to undefined function get_home_path()’.
Yup. That’s simply.
Related Posts:
- Admin Notification after save_post, when ajax saving in gutenberg
- Detecting post type within init action
- wp_ajax_[service] returning 0
- Is there a hook that fires before an ajax call?
- wp_ajax action is not running
- Conditional action hooks
- Is there a hook to process a backbone restful PUT request inside wordpress?
- Can I fire an add_action hook inside of a function that recieves data via wp_ajax?
- WordPress Ajax Problems
- Which allowed API hooks work to add wp_ajax action?
- Using admin-ajax prevents regular php form submission
- ajax problem – function on server is not called
- change wordpress pagination url after doing the request
- Refresh Gutenberg with JS for it show updated post
- Set cors header for ajax requests
- Is there a hook that fires after an ajax call?
- Content including hooks inside wp-settings.php are being called twice in WordPress
- Hook after all metadata are set is triggering several time
- Why function called by admin-ajax executes synchronously?
- Trying to send AJAX data to WordPress hook
- WordPress blocking polling request when signed into Admin
- At what stage does wp_ajax hooks gets applied during WordPress request?
- Google Maps API throws “Uncaught ReferenceError: google is not defined” only when using AJAX
- Initialize TinyMCE editor / visual editor after AJAX insert
- add_action(‘wp_ajax_[action name]’, myfunction) problem
- Displaying PHP Errors from admin-ajax.php
- wp_set_auth_cookie() doesn’t work in Ajax call
- WP-AJAX vs WP REST API: What to use for requests to the website from outside?
- Is it safe to assume that a nonce may be validated more than once?
- Using Nonces for AJAX that only retrieves data
- How to implement AJAX post navigation into WordPress?
- Quick Edit: Selected Custom Taxonomy Not Refreshing After Save
- Built in admin ajax hooks?
- Is it OK to use a system cron to trigger a function hooked into the AJAX API
- wp_verify_nonce always returns false when logged in as admin
- fetching via fetch/ajax gutenberg block data from third party
- Is it safe to use $_POST directly in my plugin instead of using admin-ajax.php to receive data from ajax?
- How to make get_theme_mod work with AJAX in the customizer preview
- How to check an ajax nonce in PHP
- admin-ajax.php slows down, but cant figure out which plugin
- Fatal error: Call to undefined function get_post() with ajax
- Admin-ajax.php 400 error
- wp_create_nonce() in REST API makes user->ID zero
- Plugin: AJAX query external API to sync to tables
- splitting the URL using jQuery
- How do I get reusable blocks via frontend REST API?
- AJAX Load more on CPT returning random posts
- WordPress admin-ajax.php not available for subscribers/contributors
- WP Ajax never returning any data / calling action
- get_queried_object_id in AJAX
- Should I check for privileges before hooking into `wp_ajax_$handle` or after?
- Refresh Markercluster after ajax call
- How to load content from many posts on a page, only if needed
- Mapping Backbone Models to serialized array in wp_options table
- WordPress Settings api data not sanitized if i use ajax
- Ajax login without redirect/reload
- wp_mail 200 response but no mail sent
- Ajaxify Form That Submits To Same Page To Display Post Data [closed]
- Ajax call with javascript in post content (not enqueued)
- What’s the latest I can hook into wp_ajax_%?
- Retrieve JSON file from JS trough php
- Nonce doesn’t validate in nopriv call
- Sql formatting for post data within function
- Get returned URL from wp_remote_post if response code is 302
- Change URL without reload Ajax
- Admin-ajax.php 400 error in custom theme
- Why does check_ajax_referer give a 403 error on https websites?
- Hide Load more Ajax button if there is no more users to load or less than the number?
- Send checkbox status with Ajax / JSON and save it
- wp ajax execution time aborted 30 sec
- How to get setting from separate file?
- Contact form – ajax, wp_mail
- WordPress function not defined in AJAX call
- admin-ajax.php calls fail if referrer is sent with 500
- Fetch value using AJAX in WordPress
- AJAX not working when clicking load more button, when two terms are present in tax_query
- AJAX – get_posts for a specific post type returns empty
- Admin Ajax always return 0
- Ajax call undefined index
- WPBakery post content inside Bootstrap Modal
- error_log() not working within wp_ajax_{action} handler
- check_ajax_reffer not working when logged
- Assign author on ajax wp post insert
- Ajax a php file that has Advanced Custom Fields in it
- AJAX is not submitting data to database
- Ajax Category add doesn’t update the list table custom column
- How to trigger lost password email using REST API?
- Display post thumbnail after clicking on post id with AJAX
- Retrieve Header Background Image with AJAX
- How to block search engines indexing certain AJAX actions
- Ajax Comment: Page reloads whenever the comment submission form is reloaded
- wp_ajax_action, wp_ajax_nopriv_action not working
- get_comments() returns empty array if called through AJAX
- Manually cache a special, non-WP-but-using-WP page (e.g. Ajax results) with W3TC
- change attachment custom field onChange event
- Is it a good idea to init ajax functions only while ‘DOING_AJAX’
- How to get parent comment’s id?
- Static var overwritten with WP AJAX action, works fine without AJAX
- using ajax to query sql
- wordpress ajax bad request 400