Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Admin Ajax Issue
This topic contains 4 replies, has 2 voices, and was last updated by David Kinloch 8 years, 5 months ago.
- AuthorPosts
- June 22, 2015 at 12:18 pm #5067
Hey,
I have a local version at moment. using Search Pro. I disabled other plugins and used default 15 theme.
With Debug False getting this error:
jquery.js?ver=1.11.2:4 POST http://mhwordpress/wordpress/wp-admin/admin-ajax.php 500 (Internal Server Error)
m.ajaxTransport.send @ jquery.js?ver=1.11.2:4
m.extend.ajax @ jquery.js?ver=1.11.2:4
m.each.m.(anonymous function) @ jquery.js?ver=1.11.2:4
methods.search @ jquery.ajaxsearchpro.js?ver=4.2.2:792
(anonymous function) @ jquery.ajaxsearchpro.js?ver=4.2.2:549With debug true getting this error:
jquery.ajaxsearchpro.js?ver=4.2.2:794 Uncaught TypeError: Cannot read property ‘1’ of null
Uncaught TypeError: Cannot read property ‘1’ of null(anonymous function) @ jquery.ajaxsearchpro.js?ver=4.2.2:794m.Callbacks.j @ jquery.js?ver=1.11.2:2m.Callbacks.k.fireWith @ jquery.js?ver=1.11.2:2x @ jquery.js?ver=1.11.2:4m.ajaxTransport.send.b @ jquery.js?ver=1.11.2:4
Working on MAMP latest version of WP and your plugin.
Any help ?
thanks
DavidAttachments:
You must be logged in to view attached files.June 22, 2015 at 12:31 pm #5069Hi David!
Could you please check the response body if debug mode is enabled in wp-config.php? These are only the javascript error messages due to the server response.
Error 500 means, that at some operation the server stops the ajax process with an error 500. If debug mode is enabled, it might send the error message as well with the ajax response. You can check that on your browsers Network panel:
– before typing in anything: https://i.imgur.com/KBJnv4Z.png
– after typing in a phrase, you check the failed response: Step 1, Step 2Hopefully there will be some kind of error message.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
June 22, 2015 at 12:54 pm #5070– before typing in anything: no errors
– after typing in a phrase, you check the failed response:I have attached an archive of failed repsonses on admin-ajax.php
one
“testosterone”
and another
”
<br />
<b>Warning</b>: Illegal string offset ‘caching’ in <b>/Users/DK/Sites/MERCER/marshall-hurley/WORDPRESS/wp-content/plugins/ajax-search-pro/search.php</b> on line <b>223</b><br />
<br />
<b>Fatal error</b>: Only variables can be passed by reference in <b>/Users/DK/Sites/MERCER/marshall-hurley/WORDPRESS/wp-content/plugins/ajax-search-pro/search.php</b> on line <b>223</b><br />
”Attachments:
You must be logged in to view attached files.June 22, 2015 at 12:57 pm #5072Hi!
Try to go to the plugin caching options submenu on the back-end and save it without changing anything. It looks like an options incosistency, so it might help.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
June 22, 2015 at 1:04 pm #5073Awesome that fixed it ! Thanks not sure I would have ever found that
- AuthorPosts
You must be logged in to reply to this topic.