Directive 'global $debug_object;' is missing inside several functions. Please, let's see attached diff-file.
The global debug object was never fully supported and is obsolete. Version 2.0RC1 and later introduces a Debug class that you can attach your own debug handler to:
require_once 'Debug.php' use simplehtmldom\Debug; Debug::setDebugHandler(function($message){ echo $message; }); Debug::enable();
Log in to post a comment.
The global debug object was never fully supported and is obsolete. Version 2.0RC1 and later introduces a Debug class that you can attach your own debug handler to: