Answer the question
In order to leave comments, you need to log in
Why such an error "Class not found (0)"?
[Error] Class 'Has\Module\CompanyPoints' not found (0)
<?
namespace Has\Module;
use \Bitrix\Main\Config\Option;
use \Bitrix\Main\UserTable as User;
class CompanyPoints{
function func(){return true;}
}
?>
use \Bitrix\Main\Loader;
use \Bitrix\Main\Application;
use \Has\Module\CompanyPoints;
Loader::includeModule("Module");
$addresses=CompanyPoints::func();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question