WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-19198c-15.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 = 116933 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: MDBStorage with check throws error
Expected behavior Check "is-user-confirmed" in 0.5 time to check it later with a if statement.
Actual behavior "Uncaught TypeError: Cannot read properties of undefined (reading 'is-user-confirmed')" in console every 3 seconds - globally in project. Callback also isnt logged. Dosnt matter if is-user-confirmed exists or not.
Resources (screenshots, code snippets etc.)
const [isUserConfirmed] = useMDBStorage("is-user-confirmed", false, {
time: 0.5,
callback: () => {
console.log("callback"); },
});
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB React
- MDB Version: MDB5 1.4.0
- Device: PC
- Browser: Chrome
- OS: Chrome 95.0.4638.69 Win11
- Provided sample code: No
- Provided link: No