Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    From what I can see, this is related to a script error in your theme (I found that in the Google Chrome Developer Tools’ error log console).
    In the file /wp-content/themes/geochallenge/js/effects.js, the line

    Cufon.replace('.blogname h1,.title h2,.title h1,h3.sidetitl,h3.bothead,h3#comments', { fontFamily: 'Myriad Pro',hover:true });

    raises an error, as there is no Cufon function loaded. I therefore suggest to simply remove that line.

    Regards,
    Tobias

    mathewmackenzie

    (@mathewmackenzie)

    Hi

    I have the same problem – no table functions work despite being enabled. Had a look at the Developer Log but can’t interpret. Any ideas?

    http://www.paintshow.co.uk/table-demo-hdyfhgsd/

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    indeed, there seem to be JS script error on your page as well. At least one of them is coming from the Cookie Control plugin, where the text

    <p>Some cookies on this site are essential, and the site will not work as expected without them. These cookies are set when you submit a form, login or interact with the site by doing something that goes beyond clicking on simple links. We also use some non-essential cookies to anonymously track visitors or enhance your experience of the site. If you're not happy with this, we won't set these cookies but some nice features of the site may be unavailable.</p><p>Read more about our <a href="" title="Read our privacy policy">privacy policy.</a></p>

    is causing problems because it contains single quotes '. Those must be escaped in the text, i.e. written as \' (this happens twice, in the words you're and won't).

    I suggest that you fix that first.

    Regards,
    Tobias

    VP

    (@studio500)

    Hi Tobias
    Same issue for me sadly
    http://bisfhouse.com/register-of-all-bisf-house-locations-uk/

    although I have limited knowledge regards js and using debuggers one chrome extension states

    Uncaught TypeError: Cannot read property ‘msie’ of undefined bunyard-theme.js:142

    Any ideas?

    regards

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    in your cause, the problem is likely caused by something on your site (a plugin or the theme) loading an old version of the jQuery library from the Google CDN, instead of using the up-to-date version that ships with WordPress.

    This could give you some pointers on how to find that cause: http://tablepress.org/faq/js-functions-not-working/

    Regards,
    Tobias

    VP

    (@studio500)

    Thanks for the quick reply as always Tobias

    I updated the question above but add the line here in case you missed it

    Uncaught TypeError: Cannot read property ‘msie’ of undefined
    bunyard-theme.js:142

    this was using the javascript console extension in chrome

    Would this suggest that that one of the 3 bunyard plugins that comes with my theme is to blame?

    VP

    (@studio500)

    I just followed your link and also got the extra info

    http://bisfhouse.com/wp-content/themes/smart-mag/js/bunyad-theme.js?ver=2.4.1

    mathewmackenzie

    (@mathewmackenzie)

    Hi Tobias

    Deactivating the Cookie Control plugin did not help.

    The only error the developer console reports now is in your plugin.

    $(‘#tablepress-1’).dataTable({“order”:[],”orderClasses”:false,”stripeClasses”:[‘even’,’odd’],”pagingType”:”simple”});

    Many thanks.

    http://www.paintshow.co.uk/table-demo-hdyfhgsd/

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    @studio500:
    I noticed that error, and it’s caused by the usage of the wrong JS library. The script that you mention is trying to access the $.browser.msie variable. This however has been removed in jQuery 1.9.0 and is only available via the jQuery Migrate script. WordPress does load that by default, but as something on your site is overriding the loading of the jQuery JS library, it’s not loaded in your case.
    You will have to find what’s loading jQuery from the Google CDN. My guess is the theme, so that you should find something in the theme’s “functions.php”.

    @mathewmackenzie:
    Yes, that error remains, but I can’t see what’s causing it…
    Can you please try deactivating other plugins as well, one by one? Also, please switch to a WordPress default theme like TwentyFifteen. Maybe we can isolate the issue that way.

    Regards,
    Tobias

    mathewmackenzie

    (@mathewmackenzie)

    Hi

    It’s not another plugin – tried disabling them all.

    I’m not able to take this site offline, which I would have to if I changed the theme, as too much of the content is theme-specific.

    Given that I’m only thinking of using your plugin and wanted to demo it – I might have to give it a miss.

    Thanks anyway, and if you have any other ideas, do let me know.

    The base theme is http://themeforest.net/item/jupiter-multipurpose-responsive-theme/5177775 in case you want to investigate the incompatibility.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    unfortunately, the theme is my only guess, then. 🙁 It’s making quite heavy use of JS and it’s loading some external libraries, that’s why I assume that something is interfering with the jQuery library there.

    Note that you should still fix that error with the ' in your text about the cookies! That message will not display otherwise.

    Regards,
    Tobias

    VP

    (@studio500)

    Hi Tobias
    Thank you for your reply.

    I have now installed the jQuery Updater plugin and all seems to be working.

    I have my search box and functions back. I’m not sure if I have done the right thing but until I can get a response from my themes author, I guess this should work.

    I no longer have the error code showing when the JQuery plugin is active.
    Apologies for hijacking the thread btw.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    yes, using the jQuery Updater plugin is also fine here. It’s not ideal (as it still uses a different jQuery version than what WordPress ships with), but at least it’s a current version and the jQuery Migrate plugin is included.
    Good to hear that this fixed it!

    Best wishes,
    Tobias

    Thread Starter dhobeika

    (@dhobeika)

    Thanks for your help with my issue — it is now resolved.

    I’m wondering why the Firebug error console didn’t pick it up though, it usually does for stuff like this.

    Thanks again!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    I’m not really sure why Firebug did not show this. Maybe the error is raised before it’s completely initialized, as it’s a Firefox Extension, from what I know?

    Best wishes,
    Tobias

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

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘Search box/sorting options not working’ is closed to new replies.