I am trying to create a Masonry Post Grid on our homepage and I am getting the following jQuery error that I cannot resolve.
vc_grid.min.js?ver=5.6:1 Uncaught TypeError: this.$content.masonry is not a function at vcGridStyleLazyMasonry.setMasonry (vc_grid.min.js?ver=5.6:1) at vcGridStyleLazyMasonry.filter (vc_grid.min.js?ver=5.6:1) at vcGridStyleLazyMasonry.vcGridStyleLazy.addItems (vc_grid.min.js?ver=5.6:1) at i (jquery.js?ver=1.12.4-wp:2) at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2) at x (jquery.js?ver=1.12.4-wp:4) at XMLHttpRequest.c (jquery.js?ver=1.12.4-wp:4) setMasonry @ vc_grid.min.js?ver=5.6:1 filter @ vc_grid.min.js?ver=5.6:1 vcGridStyleLazy.addItems @ vc_grid.min.js?ver=5.6:1 i @ jquery.js?ver=1.12.4-wp:2 fireWith @ jquery.js?ver=1.12.4-wp:2 x @ jquery.js?ver=1.12.4-wp:4 c @ jquery.js?ver=1.12.4-wp:4 :large:1 GET http://staging.action-artists.com/:large 404 (Not Found)
While it did take care of the 404 for the large image, I am still seeing this error. It looks to be jQuery-related. Since this is a theme that we purchased, I do not want to start making changes to it. I do see it has been 3 months since you've updated the theme.
Here is the error again:
Uncaught TypeError: this.$content.masonry is not a function at vcGridStyleLazyMasonry.setMasonry (vc_grid.min.js?ver=6.0.5:10) at vcGridStyleLazyMasonry.filter (vc_grid.min.js?ver=6.0.5:10) at vcGridStyleLazyMasonry.vcGridStyleLazy.addItems (vc_grid.min.js?ver=6.0.5:10) at i (jquery.js?ver=1.12.4-wp:2) at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2) at x (jquery.js?ver=1.12.4-wp:4) at XMLHttpRequest.c (jquery.js?ver=1.12.4-wp:4)
Please advise. This is holding me back from finishing this project and launching this site.
I am very sorry about it, I really don't know where the issue is coming from, since that is an element created by WPBakery Page Builder and not our team. I will do some research now to see why is that happening.
Is there any specific feature that the element Masonry Post Grid has and not our element? So, I can help you on that?
Thanks for responding. I guess I will try and load a version of jQuery in my child theme.
Does your Portfolio grid allow you to pull an artist and their featured image into a masonry grid? I was planning on using your grid on the artists' individual pages. I wanted to use the WP Bakery post grid to do what I'm asking about above.
Hello,
I am trying to create a Masonry Post Grid on our homepage and I am getting the following jQuery error that I cannot resolve.
vc_grid.min.js?ver=5.6:1 Uncaught TypeError: this.$content.masonry is not a function
at vcGridStyleLazyMasonry.setMasonry (vc_grid.min.js?ver=5.6:1)
at vcGridStyleLazyMasonry.filter (vc_grid.min.js?ver=5.6:1)
at vcGridStyleLazyMasonry.vcGridStyleLazy.addItems (vc_grid.min.js?ver=5.6:1)
at i (jquery.js?ver=1.12.4-wp:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
at x (jquery.js?ver=1.12.4-wp:4)
at XMLHttpRequest.c (jquery.js?ver=1.12.4-wp:4)
setMasonry @ vc_grid.min.js?ver=5.6:1
filter @ vc_grid.min.js?ver=5.6:1
vcGridStyleLazy.addItems @ vc_grid.min.js?ver=5.6:1
i @ jquery.js?ver=1.12.4-wp:2
fireWith @ jquery.js?ver=1.12.4-wp:2
x @ jquery.js?ver=1.12.4-wp:4
c @ jquery.js?ver=1.12.4-wp:4
:large:1 GET http://staging.action-artists.com/:large 404 (Not Found)
Thank you for the latest version.
While it did take care of the 404 for the large image, I am still seeing this error. It looks to be jQuery-related. Since this is a theme that we purchased, I do not want to start making changes to it. I do see it has been 3 months since you've updated the theme.
Here is the error again:
Uncaught TypeError: this.$content.masonry is not a function
at vcGridStyleLazyMasonry.setMasonry (vc_grid.min.js?ver=6.0.5:10)
at vcGridStyleLazyMasonry.filter (vc_grid.min.js?ver=6.0.5:10)
at vcGridStyleLazyMasonry.vcGridStyleLazy.addItems (vc_grid.min.js?ver=6.0.5:10)
at i (jquery.js?ver=1.12.4-wp:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
at x (jquery.js?ver=1.12.4-wp:4)
at XMLHttpRequest.c (jquery.js?ver=1.12.4-wp:4)
Please advise. This is holding me back from finishing this project and launching this site.
Hi,
I am very sorry about it, I really don't know where the issue is coming from, since that is an element created by WPBakery Page Builder and not our team. I will do some research now to see why is that happening.
Is there any specific feature that the element Masonry Post Grid has and not our element? So, I can help you on that?
http://prntscr.com/osyb8o
Our element Portfolio has the masonry layout and the metro layout, you can use them easily via our element.
Please let me know if you need further help.
Kind Regards
Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.
Thanks for responding. I guess I will try and load a version of jQuery in my child theme.
Does your Portfolio grid allow you to pull an artist and their featured image into a masonry grid? I was planning on using your grid on the artists' individual pages. I wanted to use the WP Bakery post grid to do what I'm asking about above.
This looks like a viable solution.
https://github.com/passy/angular-masonry/issues/135#issuecomment-250478703
Hi,
Well, our element is able to call only the portfolio post type, if that is enough for you.
Well, the issue is related to the WPBakery Page Builder(Formerly Visual Composer) not to the masonry plugin.
I've done some research and it seems like the plugin is interfering with a third-party plugin.
- https://kriesi.at/support/topic/masonry-element-not-displaying/
Can you please try to deactivate the other plugins and see if that fixes your issue.
Kind Regards
Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.
Also, try to use the following code that the author provided, maybe it helps.
- https://www.gomahamaya.com/visual-composer-post-grid-compatibility-issue-3rd-party-plugin/
Kind Regards
Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.
it looks like your portfolio element does what I want: pulls in an artist and displays their featured image.
Good to know, feel free to ask for anything you need
Kind Regards
Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.