Critical error (source must not be empty)
-
Not sure how long this has been going on, but in WooCommerce of all places I have been sometimes getting a fatal error log referencing Easy-Testimonials as follows:
CRITICAL Uncaught ValueError: DOMDocument::loadHTML(): Argument #1 ($source) must not be empty.
It references line 981 in gp_testimonials.class.php. The line is $doc->loadHTML($html);
Not sure if this helps but I added these lines just before line 981
if ( empty($html)){
return ”;
}
I’ll watch to see if it helps.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.