Warning: Undefined variable $path in D:\Codex\Hom3r V2\_emote_combo_stage\api-tournaments-current.php on line 12

Fatal error: Uncaught TypeError: preg_match(): Argument #2 ($subject) must be of type string, null given in D:\Codex\Hom3r V2\_emote_combo_stage\api-tournaments-current.php:12 Stack trace: #0 D:\Codex\Hom3r V2\_emote_combo_stage\api-tournaments-current.php(12): preg_match('~^/api/public/t...', NULL, NULL) #1 {main} thrown in D:\Codex\Hom3r V2\_emote_combo_stage\api-tournaments-current.php on line 12