Menu

#187 Missing 'global $debug_object;'

wont-fix
None
2022-04-02
2020-12-10
Slava
No

Directive 'global $debug_object;' is missing inside several functions. Please, let's see attached diff-file.

1 Attachments

Discussion

  • LogMANOriginal

    LogMANOriginal - 2022-04-02
    • status: open --> wont-fix
    • assigned_to: LogMANOriginal
     
  • LogMANOriginal

    LogMANOriginal - 2022-04-02

    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.

Monday.com Logo