Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › jQuery error
- This topic has 7 replies, 2 voices, and was last updated 10 years, 7 months ago by
onir.
-
AuthorPosts
-
October 27, 2015 at 4:13 pm #6485
onir
ParticipantIm getting this error
Uncaught TypeError: jQuery.easing[jQuery.easing.def] is not a functionjQuery.extend.swing @ jquery.easing.js?ver=4.5.3:46Za.run @ jquery.js?ver=1.11.3:5i @ jquery.js?ver=1.11.3:5m.fx.timer @ jquery.js?ver=1.11.3:5kb @ jquery.js?ver=1.11.3:5g @ jquery.js?ver=1.11.3:5m.extend.dequeue @ jquery.js?ver=1.11.3:4(anonymous function) @ jquery.js?ver=1.11.3:4m.extend.each @ jquery.js?ver=1.11.3:2m.fn.m.each @ jquery.js?ver=1.11.3:2m.fn.extend.queue @ jquery.js?ver=1.11.3:4m.fn.extend.animate @ jquery.js?ver=1.11.3:5methods.showIsotopicResults @ jquery.ajaxsearchpro.js?ver=4.5.3:1257methods.showResults @ jquery.ajaxsearchpro.js?ver=4.5.3:1000(anonymous function) @ jquery.ajaxsearchpro.js?ver=4.5.3:939j @ jquery.js?ver=1.11.3:2k.fireWith @ jquery.js?ver=1.11.3:2x @ jquery.js?ver=1.11.3:5b @ jquery.js?ver=1.11.3:5you can see it here
http://manual.nohaliahq.wpengine.com/coreagle/rules-book/October 27, 2015 at 4:18 pm #6486Ernest Marcinko
KeymasterHi!
Just checked the page, no error message in the console and the plugin is working: http://i.imgur.com/xOD1AF9.png
Probably it’s only your browser or site cache.
October 27, 2015 at 5:38 pm #6491onir
ParticipantIm not entirely sure about this as Im still getting the error and on more than one browser.
Also, after updating the plugin Im getting this other error.
[Tue Oct 27 15:23:42 2015] [error] [client 109.151.122.189] WordPress database error Table ‘wp_nohaliahq.wp_11_icl_translations’ doesn’t exist for query \r\n\t\t\t\tSELECT language_code\r\n\t\t\t\tFROM wp_11_icl_translations\r\n\t\t\t\tWHERE\r\n\t\t\t\telement_type = ‘post_coreagle’ AND\r\n\t\t\t\telement_id = 25 /* From [manual.nohaliahq.wpengine.com/wp-admin/post.php] in [/nas/wp/www/cluster-10773/nohaliahq/wp-content/plugins/ajax-search-pro/includes/etc/indextable.class.php:909] */ made by edit_post, wp_update_post, wp_insert_post, do_action(‘save_post’), call_user_func_array, asp_update_index_table, asp_indexTable->indexDocument, asp_indexTable->insertTokensToDB, asp_indexTable->langcode_post_id, referer: http://manual.nohaliahq.wpengine.com/wp-admin/post.php?post=25&action=editIf I deactivate the plugin both errors disappear.
October 27, 2015 at 5:40 pm #6492onir
ParticipantThe plugin is correctly working as you wrote. it just fires this errors.
Also can you please make the posts with the links private? I dont have the option to do that.
-
This reply was modified 10 years, 7 months ago by
onir.
October 27, 2015 at 5:59 pm #6494Ernest Marcinko
KeymasterI can’t change the thread to private, you wouldn’t be able to see it (wordpress only lets editor and admins to see private posts).
If you want to post sensitive information, upload it in a .txt file, that is only visible to me and you.
I still cannot see any of these errors on the page. The second one seems to be different. Is that visible on a specific action, like post editing or publishing or something else?
October 27, 2015 at 6:14 pm #6495onir
ParticipantAbout the jquery error you are correct. I tried browsing with incognito and got that it was an extension of chrome to cause the error: PageXray
About the second error of the table, it’s a default WPML table as seen here: https://wpml.org/documentation/support/wpml-tables/
WPML’s tables – WPMLDevelopers might be interested in WPML’s database tables and how language information is connected to WordPress post types and taxonomies.
“The table that holds the language and translation information is called icl_translations.”
And the error is “WordPress database error Table ‘wp_nohaliahq.wp_11_icl_translations’ doesn’t exist for query”It doesnt look about something to worry about, but how do the plugin related to this?
October 27, 2015 at 6:27 pm #6496Ernest Marcinko
KeymasterI probably figured out the casue.
The plugin is compatible with WPML plugin, and in the current version I made a few changes related to that. The error message is referring to a function which tries to get the post language if WPML plugin is activated. Apparently some weird error happens when checking for WPML availability.
I have a possible fix, by adding one line of code to the plugin. Try opening the wp-content/plugins/ajax-search-pro/includes/etc./indextable.class.php file and go to line 657 (or close to it), where you should see this:
[code]$lang = $this->langcode_post_id( $the_post );[/code]
change that line to these:
[code]
$lang = "";
if ( function_exists( ‘wpml_get_language_information’ ) )
$lang = $this->langcode_post_id( $the_post );[/code]
That should get rid off the error message.
October 27, 2015 at 7:57 pm #6501onir
Participanthi
yes this solved the problem. thank you.
-
This reply was modified 10 years, 7 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.