Best Multi Vendor Marketplace Plugin for WordPress › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Datatables error in view
- This topic has 3 replies, 2 voices, and was last updated 7 years, 8 months ago by
WCFM Forum.
- AuthorPosts
- March 6, 2019 at 6:23 am #51286
Ben
GuestI’ve created a view through the example plugin where I’ve placed shortcode that incorporates datatables. The table loads but none of the data. I updated the permalinks in dashboard pages and cleared my cache. I’m getting these errors:
Failed to load resource: the server responded with a status of 404 (Not Found)
jquery-migrate.min.js:2 JQMIGRATE: Migrate is installed, version 1.4.1
custom_script.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
js:121
datatables-views.min.js:1 Uncaught TypeError: Cannot set property ‘swfPath’ of undefined
at Object.setButtons (datatables-views.min.js:1)
at HTMLTableElement.<anonymous> (datatables-views.min.js:1)
at Function.each (jquery.js:2)
at a.fn.init.each (jquery.js:2)
at Object.init (datatables-views.min.js:1)
at HTMLDocument.<anonymous> (datatables-views.min.js:1)
at i (jquery.js:2)
at Object.fireWith [as resolveWith] (jquery.js:2)
at Function.ready (jquery.js:2)
at HTMLDocument.K (jquery.js:2)
setButtons @ datatables-views.min.js:1
(anonymous) @ datatables-views.min.js:1
each @ jquery.js:2
each @ jquery.js:2
init @ datatables-views.min.js:1
(anonymous) @ datatables-views.min.js:1
i @ jquery.js:2
fireWith @ jquery.js:2
ready @ jquery.js:2
K @ jquery.js:2
common.js:121 Uncaught TypeError: _.ta is not a function
at common.js:121
at js?v=3&key=AIzaSyCkLlZU0aF3btpDebZ1TLHk__F3-L-SCxc:179
at js?v=3&key=AIzaSyCkLlZU0aF3btpDebZ1TLHk__F3-L-SCxc:73
at js?v=3&key=AIzaSyCkLlZU0aF3btpDebZ1TLHk__F3-L-SCxc:179
at Ge (js?v=3&key=AIzaSyCkLlZU0aF3btpDebZ1TLHk__F3-L-SCxc:73)
at Ce.Zb (js?v=3&key=AIzaSyCkLlZU0aF3btpDebZ1TLHk__F3-L-SCxc:179)
at common.js:1
(anonymous) @ common.js:121
(anonymous) @ js?v=3&key=AIzaSyCkLlZU0aF3btpDebZ1TLHk__F3-L-SCxc:179
(anonymous) @ js?v=3&key=AIzaSyCkLlZU0aF3btpDebZ1TLHk__F3-L-SCxc:73
(anonymous) @ js?v=3&key=AIzaSyCkLlZU0aF3btpDebZ1TLHk__F3-L-SCxc:179
Ge @ js?v=3&key=AIzaSyCkLlZU0aF3btpDebZ1TLHk__F3-L-SCxc:73
Ce.Zb @ js?v=3&key=AIzaSyCkLlZU0aF3btpDebZ1TLHk__F3-L-SCxc:179
(anonymous) @ common.js:1
common.js:2 Uncaught TypeError: Cannot set property ‘constructor’ of undefined
at Object._.cj (common.js:2)
at util.js:209
at js?v=3&key=AIzaSyCkLlZU0aF3btpDebZ1TLHk__F3-L-SCxc:179
at Object.<anonymous> (js?v=3&key=AIzaSyCkLlZU0aF3btpDebZ1TLHk__F3-L-SCxc:73)
at js?v=3&key=AIzaSyCkLlZU0aF3btpDebZ1TLHk__F3-L-SCxc:179
at js?v=3&key=AIzaSyCkLlZU0aF3btpDebZ1TLHk__F3-L-SCxc:73
at js?v=3&key=AIzaSyCkLlZU0aF3btpDebZ1TLHk__F3-L-SCxc:179
at Ge (js?v=3&key=AIzaSyCkLlZU0aF3btpDebZ1TLHk__F3-L-SCxc:73)
at Ce.Zb (js?v=3&key=AIzaSyCkLlZU0aF3btpDebZ1TLHk__F3-L-SCxc:179)
at common.js:1I’ve researched other threads and there seem to be a lot of issues with Datatables. Is there a general fix?
Thank you.
- March 6, 2019 at 8:22 am #51327
WCFM Forum
MemberHi,
“I’ve created a view through the example plugin where I’ve placed shortcode that incorporates datatables.”
– I am not getting your this statement very clearly! Which plugin and and which short code? please show me screenshot.
Thank You
- March 6, 2019 at 5:32 pm #51397
Ben
GuestHello!
By plugin, I meant the example you guys have supplied to add menu items/views – wc-custom-menus I believe you called it.
After installing that plugin, I went into the view PHP file and added content which happened to be a shortcode. The shortcode is working, but the data isn’t loading from Datatables. The table shows up, but no entry data and I get those previous errors.
I’ve seen other feedback regarding issues with Datatables but wasn’t able to find an answer.
Not sure how to attach screenshot here. Happy to if you tell me how.
Thanks for your help.
- March 7, 2019 at 5:24 am #51439
WCFM Forum
MemberHi,
Can you please show screenshot for what you have added at view file?
Well, view file is only for table structure, but to make that properly working you have to adjust JS and controller.
Thank You
- AuthorPosts
- The topic ‘Datatables error in view’ is closed to new replies.

