Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Admin Ajax Issue
- This topic has 4 replies, 2 voices, and was last updated 10 years, 11 months ago by
David Kinloch.
-
AuthorPosts
-
June 22, 2015 at 12:18 pm #5067
David Kinloch
ParticipantHey,
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
DavidJune 22, 2015 at 12:31 pm #5069Ernest Marcinko
KeymasterHi 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: http://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.
June 22, 2015 at 12:54 pm #5070David Kinloch
Participant– 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 />
”June 22, 2015 at 12:57 pm #5072Ernest Marcinko
KeymasterHi!
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.
June 22, 2015 at 1:04 pm #5073David Kinloch
ParticipantAwesome that fixed it ! Thanks not sure I would have ever found that
-
AuthorPosts
- You must be logged in to reply to this topic.