Trying to get property of non-object

« MODX Parse Error »

Error : file_get_contents(http://bers.net.ru/xml/clanattacks.php?q=raspisanie_klanovyh_voin.html&desc=1&page=1&rowsperpage=100): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
Error information
ErrorType[num] WARNING[2]
File /var/www/public_html/includes/clanattacks.php
Line 29
Source $xml = file_get_contents($url.'?'.$query);
Current Snippet XmlClanAttacks

Basic info
REQUEST_URI http://berserk-online.com/raspisanie_klanovyh_voin.html
Resource [118] Расписание Клановых Войн
Referer
User Agent CCBot/2.0 (https://commoncrawl.org/faq/)
IP 54.211.135.32
Current time 2019-07-16 21:22:35

Benchmarks
MySQL 0.0099 s (8 Requests)
PHP 0.0787 s
Total 0.0886 s
Memory 1.5263290405273 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('XmlClanAttacks')
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
getClanAttacks()
manager/includes/document.parser.class.inc.php(1360) : eval()'d code on line 3
file_get_contents(string $var1)
includes/clanattacks.php on line 29