WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-12f876-122.MAI' (Errcode: 28 "No space left on device")]SELECT p.* FROM wp_mdb_forum_posts AS p LEFT JOIN wp_mdb_forum_posts AS q ON( q.Id = p.ParentId AND p.Id = q.AcceptedAnswerId ) WHERE p.PostTypeId = 2 AND p.ParentId = 120211 GROUP BY p.Id ORDER BY CASE WHEN q.Id IS NOT NULL THEN 1 ELSE 0 END DESC, p.UpvoteCount DESC, p.CreationDate ASC
Topic: "materialChip is not a function" error
I upgrade from 4.8.9 to 4.20.0 (Pro version), and the chips stopped working. The documents for JS usage are still the same at https://mdbootstrap.com/docs/b4/jquery/javascript/tags/#javascript-usage, but running my code is according to the docs, yields an error in the console:
jquery-3.6.0.min.js:2 jQuery.Deferred exception: $(...).materialChip is not a function TypeError: $(...).materialChip is not a function
indicating that the chip functions are not available at all.Removing clutter from my script, the the essential part that is being called on my page is:
<script>
$(function() {
$('.chips-initial1').materialChip({data:[]});
registerChipDelete(1);
registerChooseItem(1);
});
</script>
I do not see an issue with the inclusion of the .js files in my page, either (they're according to the example in index.html in the MDB package)
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB jQuery
- MDB Version: MDB4 4.20.0
- Device: MBP
- Browser: newest Chrome
- OS: MacOS
- Provided sample code: No
- Provided link: Yes