After QueryList collects part of it, it will report an error phpQuery::newDocumentFile ($file) first

it seems that the document is not loaded.

how do you deal with such a problem?

[Exception]
Document with ID "8291f24461d0e759b6440677585a7ce7" isn"t loaded. Use phpQuery::newDocument ($html) or phpQuery::newDocumentFile ($file) first.

execute the script again

May.06,2022

this kind of error is generally caused by a large number of QueryList object calls in the script, and the memory footprint of resources is not released in time, resulting in memory overflow. The solution is to reuse the same QueryList object as much as possible and release the memory footprint of resources in time:

  • error demonstration
  

Oh, this querylist, you will find that even if you have given $ql- > destruct () everywhere, you will still report this error. No solution

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3894a-2b48b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3894a-2b48b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?