Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The reason for this is that something (another plugin or maybe the theme) is loading a very old (1.4.1) version of the jQuery JS library from the Google CDN, instead of simply using the latest version that ships with WordPress anyway.
    Can you think of a plugin (or the theme) that could be doing that?

    Regards,
    Tobias

    Thread Starter rickmesser

    (@rickmesser)

    Tobias, Gosh, SO many plugins on this site! I went into the chrome inspector and deleted every line on the page that was loading any other javascript and that didn’t seem to help. Is this a pretty normal reason for the plugin not working?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    the problem with an outdated version of jQuery is that most plugins simply require a newer version. That older version of jQuery is simply missing some functions, and when another plugin (this is not limited to TablePress) calls one of those missing functions, the browser bails out and stops executing JavaScript entirely.
    A plugin should simply not be using its own and outdated version of jQuery, as that breaks compatibility with other plugins. So, yes, this is a pretty normal reason for plugins not working.

    Deleting lines in the Chrome Inspector won’t really help, as that still doesn’t load the necessary up-to-date version of jQuery. You will basically need to find the plugin that loads that old version of jQuery, either by searching the source code for something like wp_enqueue_script or by temporarily deactivating other plugins one by one. Also, make sure to check the theme, as there are also themes that show this wrong behavior.

    Regards,
    Tobias

    Thread Starter rickmesser

    (@rickmesser)

    Ok thanks very much Tobias, I will find the source. Maybe it’s the theme I made. I’ll post an update and close this topic when I find it.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    sounds good! If you really can’t find it, I can offer to take a direct look at this on your site. In that case, please create a temporary admin account for me and send me the details via email (the address is in the main plugin file “tablepress.php”). That way, I can investigate this directly.

    Regards,
    Tobias

    Thread Starter rickmesser

    (@rickmesser)

    Wow are you kidding? That’s awesome man. I will make an effort before I ask you to do that. I’ll try to get it tonight if not I’ll contact you. Thanks x1million!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, always glad when I can help! Just let me know, if you can’t find it.

    Regards,
    Tobias

    Thread Starter rickmesser

    (@rickmesser)

    Ok Tobias, I have updated every plugin, deleted every plugin that wasn’t activated, updated wordpress and I even found the old jquery version being loaded in the functions.php file of the theme. So I updated jquery to 1.11. However, I am still not seeing the search or pagination working. Any thoughts? Still need a temporary admin?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    I would actually suggest to remove that entirely, as WordPress by default comes with the correct version of jQuery. Manually changing that to another version, or loading jQuery from somewhere else is discouraged.

    If that’s not yet it, I’m now also seeing JS errors regarding the Fancybox for WordPress plugin. If the suggestion from above is not working, can you please try deactivating that temporarily?

    Regards,
    Tobias

    Thread Starter rickmesser

    (@rickmesser)

    Got it! Disabling the fancybox plugin didn’t help, but when I took out the jquery from functions.php in the theme that worked! Thanks so much for your help!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    very cool! Great to hear that everything is working now! ??

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Search missing?’ is closed to new replies.