Trying to get property of non-object

« MODX Parse Error »

Error : file_get_contents(http://bers.net.ru/xml/rating.php?q=igrovoy_reiting.html&page=10&rowsperpage=100&desc=1&order=elo_rating&password=YUHrating): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
Error information
ErrorType[num] WARNING[2]
File /var/www/public_html/includes/rating.php
Line 59
Source $xml = file_get_contents($filename);
Current Snippet XmlRating

Basic info
REQUEST_URI http://berserk-online.com/igrovoy_reiting.html?page=10
Resource [111] Рейтинг игроков
Referer
User Agent CCBot/2.0 (https://commoncrawl.org/faq/)
IP 34.204.179.0
Current time 2019-08-19 22:26:59

Benchmarks
MySQL 0.0106 s (8 Requests)
PHP 0.0751 s
Total 0.0857 s
Memory 1.7759323120117 mb

Backtrace
DocumentParser->executeParser()
index.php on line 126
DocumentParser->prepareResponse()
manager/includes/document.parser.class.inc.php on line 2140
DocumentParser->parseDocumentSource(string $var1)
manager/includes/document.parser.class.inc.php on line 2217
DocumentParser->evalSnippets(string $var1)
manager/includes/document.parser.class.inc.php on line 2003
DocumentParser->_get_snip_result('XmlRating')
manager/includes/document.parser.class.inc.php on line 1408
DocumentParser->evalSnippet(string $var1, array $var2)
manager/includes/document.parser.class.inc.php on line 1466
eval()
manager/includes/document.parser.class.inc.php on line 1360
getRating()
manager/includes/document.parser.class.inc.php(1360) : eval()'d code on line 3
file_get_contents(string $var1)
includes/rating.php on line 59