WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-14e6c9-4.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 = 107419 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-select keeps nesting select-wrapper after dynamically option insertion
Jorge Nuñez Malledo
asked 5 years ago
Hello friends,
Hope you are doing ok in Poland.
When dynamically adding option via jquery script, mdb-select keeps nesting select-wrapper's divs outside original select, in an exponential way. Eventually, the session crashes. In the snipped below, session crashes after the 10th option insertion. By the time, the number of nested select-wrapper's div is... 512!
Am I doing something wrong?
Thank you and take care
Resources (screenshots, code snippets etc.)
https://mdbootstrap.com/snippets/jquery/jorge_nunez_malledo/1946445
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 jQuery
- MDB Version: 4.15.0
- Device: Lenovo T480
- Browser: Mozilla Firefox 74.0.1 (64-bit)
- OS: Windows 10
- Provided sample code: No
- Provided link: Yes
Grzegorz Bujański commented 5 years ago
Hi. We fine, thanks. I add this case to our to do list. We will look at this and fix as soon as possible.
Jorge Nuñez Malledo commented 5 years ago
Glad to hear that,
This behavior continues even after material select is destroyed, as if there's a listener upon select changes. Is there any chance to temporary disable such a listener? If so, I could try to workaround this by
(Probably complemented with material select destroy/init)
Grzegorz Bujański commented 5 years ago
Unfortunately we don't have any method to disable listeners in material select.
Jorge Nuñez Malledo commented 5 years ago
Ok,
Since you're unable to provide a workaround for this issue, please make sure that the fix is included in the next product release
Cheers