WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-5c925e-101.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 = 119276 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: MDB 5 Pro Installation
ludmarketingllc
pro premium asked 3 years ago
I installed MDB 5 Vue UI kit and as mentioned in the installation guide.
1. Downloaded the package
2. ran 'npm install' to get the kit installed
3. ran import * as mdb from 'mdb-vue-ui-kit'
4. Tried using Autocomplete and Lazy image load as indicated in the guide but can't seem to get it right
After loading the page on the browser I get an error saying Autocomplete is not a constructor.
Did I install it wrong? Pretty confused as to how to get the Pro stuff working.
Help? Thanks :)
import * as mdb from 'mdb-vue-ui-kit';
const asyncAutocomplete = document.querySelector('#async');
const asyncFilter = async (query) => {
const url = `https://swapi.py4e.com/api/people/?search=${encodeURI(query)}`;
const response = await fetch(url);
const data = await response.json();
return data.results;
};
new mdb.Autocomplete(asyncAutocomplete, {
filter: asyncFilter,
displayValue: (value) => value.name
});
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 Vue
- MDB Version: MDB5 1.14.0
- Device: Web
- Browser: Brave
- OS: Windows
- Provided sample code: No
- Provided link: No