WordPress.org

Ready to get started?Download WordPress

Forums

TablePress
[resolved] Filter issue (19 posts)

  1. kevin.wilescg
    Member
    Posted 1 year ago #

  2. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    that's because there are some other JavaScript issues on your site, due to which the DataTables scripts are prevented from running.

    The Chrome Developer Tools reveal these:

    Failed to load resource: the server responded with a status of 404 (Not Found) http://www.kevinwiles.co.uk/wp-content/plugins/wordpressguestpost/js/postreviewbyadmin_script.js?ver=3.4.2
    
    Failed to load resource: the server responded with a status of 404 (Not Found) http://www.kevinwiles.co.uk/wp-content/plugins/wordpressguestpost/jscripts/tiny_mce/tiny_mce.js?ver=3.4.2
    
    Uncaught SyntaxError: Unexpected token < /seo-tools/:1010
    
    Failed to load resource http://ib.adnxs.com/getuid?http%3A%2F%2Fib.adnxs.com%2Fgetuid%3Fhttp%253A%252F%252Fd.shareaholic.com%252Fdough%252F1.0%252Fmixer.gif%253Fp_name%253DAN%2526p_id%253D%2524UID

    The main issue seems to be that a very old version of jQuery is loaded on your site, and that some JS files of some plugins are missing.

    Regards,
    Tobias

  3. kevin.wilescg
    Member
    Posted 1 year ago #

    Hi

    How can I fix these issues? I have now removed that pluign but it still doesnt work

  4. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    that's a good start already. Another plugin that seems to cause trouble is the Shareaholic plugin.
    To find out which plugin is responsible for loading the old jQuery library from the Google CDN, I recommend to deactivate all plugins one by one and then check when the line

    <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js?ver=3.4.2'></script>

    in the page source disappears or changes.
    This might also be caused by your theme, so if no plugin is responsible, try switching to the WP default theme.
    Finally, the Google Analytics code that likely have added to the "footer.php" has one wrapping of <script> and </script> too much.

    Regards,
    Tobias

  5. kevin.wilescg
    Member
    Posted 1 year ago #

    Is there a way I could keep them active and update the J query?

  6. kevin.wilescg
    Member
    Posted 1 year ago #

    Hi

    I removed every plugin and then the theme and it still didnt work!

  7. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Kevin,

    it is either a theme or a plugin that is loading this old version of jQuery. Updating this would also require to find out what plugin (or where in the theme) is doing this.
    There's nothing I can do if this is not changed. WordPress and TablePress require the latest version of jQuery, which by default comes with WordPress already.

    Please try again with deactivating plugins and switching the theme.

    Regards,
    Tobias

  8. kevin.wilescg
    Member
    Posted 1 year ago #

    Hi

    Everything has gone but it still doesnt work the only thing active now is Tablepress

  9. kevin.wilescg
    Member
    Posted 1 year ago #

    You can see for yourself if you need to?

  10. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    thanks for deactivating everything. Now the mentioned errors are gone, which confirms they originated in other plugins or the theme.
    For some reason now, there's still an error reported by the JS in the DataTables library of TablePress.
    To better find the reason for this, please also deactivate the Multi Filter Select extension, so that I can see if the DataTables functionality works on its own.

    Thanks,
    Tobias

  11. kevin.wilescg
    Member
    Posted 1 year ago #

    HI

    All off again now

  12. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    thanks. Now this is really strange.

    Can you please contact me via email, I'd like to take a direct look at your admin area, if possible. My address is in the main plugin file "tablepress.php".

    Thanks,
    Tobias

  13. kevin.wilescg
    Member
    Posted 1 year ago #

    Hi

    Any luck?

  14. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Kevin,

    unfortunately, I haven't yet received an email from you :-( I just checked again, even my spam folder...

    Regards,
    Tobias

  15. kevin.wilescg
    Member
    Posted 1 year ago #

    Hi

    I sent it to you yesturday to wordpres AT tobias.baethge DOT com

  16. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    nope, I didn't get that. Did you make the same typo as above? "wordpres" should be "wordpress", obviously.
    Can you please try to send it again?

    Regards,
    Tobias

  17. kevin.wilescg
    Member
    Posted 1 year ago #

    Hi

    Sent again just!

  18. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Kevin,

    great! Now I received the email!
    I will take a look later today then.

    Regards,
    Tobias

  19. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Kevin,

    just as a note for everybody: The site in question contained some outdated JS code, and also the table had some invalid HTML code in it. After fixing this, the issue with DataTables not loading is now fixed.

    Regards,
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.