Viewing 1 post (of 1 total)
  • Author
  • #148665

    Hi Zac,

    I have been using the course and created a couple of blocks based on it.

    One of these was a carousel idea. I had it working but have since upgraded some of the dependancies (gone to Lodash 4) and the block no longer works. It throws this error in the console:

    TypeError: _.contains is not a function. (In '_.contains(r.allowed,e.orderby)', '_.contains' is undefined)

    I have understood that Lodash 4 has removed the _.contains alias.

    How do I get round this – I think it is related to the media part of WordPress but not 100% certain. My other blocks still work and they do not contain any media related stuff.


Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.