• uptoeleven

    (@uptoelevengmailcom)


    https://github.com/jquery/jquery/issues/2267

    the Update button appears to use isArrayLike but can cause problems if it’s called on things that aren’t arrays.

    TypeError: invalid 'in' operand a
    
    ...]"]=b.toLowerCase()});function r(a){var b="length"in a&&a.length,c=m.type(a);ret...

    This means I can’t update any posts or pages.

    Jquery confirm the bug isn’t with them – the function is not documented to take anything other than an array. Please could you either fix the Update button or provide a method for us to do Update without Ajax while you’re fixing it ??

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Does this happen if you deactivate all your plugins?

    Thread Starter uptoeleven

    (@uptoelevengmailcom)

    I ran a stack trace using firebug. It’s related to one of the libraries included with the theme I’m using, not a plugin. The joys of WordPress – third party liraries and plugins (especially commercial ones, like this library) can be completely incompatible and as long as someone’s gonna pay $50 for the theme…

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Glad to hear you found the issue!

    Not a huge fan of incompatible themes either – or plugins for that matter. Makes it less exciting for others. ??

    I’ve had my fair share of incompatibilities down the road as well. It’s how I’ve learned a lot of what I know about using WordPress. ??

    Discussions of merits of CMSs aside, this is why Joomla choosing to use Bootstrap as a standard has made developing plugins for it way easier over the last few years.

    Thread Starter uptoeleven

    (@uptoelevengmailcom)

    How does seeing if an object is like an array have anything to do with bootstrap?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Does "Update" HAVE to use jQuery, it's throwing TypeErrors’ is closed to new replies.