Views: 8240
Last Modified: 08.09.2014

Error of the Type:

Fatal error: Class 'CIBlockElement' not found in /hosting/site.com/www/index.php on line XX

The script uses the method of the Information Blocks module, but the module itself is not connected. The module should be connected:

CModule::IncludeModule("iblock");


Error of the Type:

Fatal error: Call to a member function GetNextElement() on a non-object in /hosting/site.com/www/index.php on line XX

You are likely to have submitted wrong parameters to a method. For example:

$res = CIBlockElement::GetList(array(), $arFilter, array(), array(), $arSelect);

While the third parameter must be true/false, and not array.



Courses developed by Bitrix24