I am trying to add an image to my post by clicking on 'Add Media'. The media selection view opens, When I select an image from the list of images, below is the error I get on my chrome console and the image never adds to the post.
1) I tried updating the wp-admin
and wp-includes
directory with the latest wordpress(4.9.8) version but it doesn't help.
- When I click on the '
admin-ajax.php
' link i get '0' as a response.
2) I tried updating the theme and the plugin but no success.
3) I tried in different browsers but just can't get it working.
4) I disabled the plugins and tried as well but nothing works.
can anyone please help solve the above issue.
P.S. : I am not a wordpress developer.