Warning: Undefined variable $external_link in /www/wwwroot/spider_test/#replacer.php on line 91

Fatal error: Uncaught Error: Call to a member function getUrl() on null in /www/wwwroot/spider_test/#replacer.php:91 Stack trace: #0 [internal function]: {closure}() #1 /www/wwwroot/spider_test/#replacer.php(99): preg_replace_callback() #2 /www/wwwroot/spider_test/index.php(81): replaceExternalRandomUrl() #3 {main} thrown in /www/wwwroot/spider_test/#replacer.php on line 91