1. Fabrik 3.8.1 has been released. It is mostly bug fixes and feature enhancements, but does include two new plugins (push notifications, and the sequence element). As usual we strongly recommend testing the new release on a sandbox if your application is mission critical, and always do an Akeeba backup before updating.

JS error getLast is not a function

Discussion in 'Community' started by Bauer, Sep 2, 2017.

  1. Bauer

    Bauer Well-Known Member

    Level: Supporter
    I started getting this warning today...
    Uncaught TypeError: this.options.value.getLast is not a function

    A search for this on Google brought me back here - to this (unresolved?) thread in Pro support...
    J3.7/F3.6 Js error on cascading drop down | Fabrik

    A search of the web content in my project finds 'getLast()' referenced in 55 files - all but 4 of them have 'fabrik' in the path - the other 4 are media/sytem/js/mootools*.*

    So I take it mootols isn't getting loaded for some reason..

    The exact line that throws the error is Line 774 of plugins/fabrik_element/databasejoin/databasejoin.js
    which is...
    return this.options.value.getLast();
  2. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Professional
  3. Bauer

    Bauer Well-Known Member

    Level: Supporter
    Nope - looks like I don't have these changes, thanks.

Share This Page