R
R
run1822016-11-14 14:16:26
PHP
run182, 2016-11-14 14:16:26

Why does Bitrix give an error when requesting CUser::GetList() with a filter by a custom field?

There is an array. I do foreach and look for the value of the user's $codeTT variable.

$arUsers = CUser::GetList(($by="ID"),($order="desc"),Array("UF_CODE_TT" => $codeTT), array("SELECT"=>array("UF_CODE_TT")));

Bitrix gives an error Fatal error: Call to undefined method SimpleXMLElement::compile() in /home/miroplat/aviva.zaimi24.ru/docs/bitrix/modules/main/classes/general/usertype.php on line 2732

Answer the question

In order to leave comments, you need to log in

4 answer(s)
R
run182, 2016-11-14
@run182

It turned out that because $codeT was an object, it was necessary to convert it to a string settype($codeTT, "string")

R
riot26, 2017-02-10
@riot26

How to start learning web design?
Where to start learning UI/UX design?
Where to start learning adobe photoshop?
Photoshop & Web-design training methodology - what is it?
How to learn web design?

R
Rafael™, 2017-02-10
@maxminimus

design not only in photoshop is done
by an illustrator is also convenient
graphic design is better to study at courses in moscow -
you must definitely complete tasks from good masters and get corrections from a teacher

T
tnc4401, 2017-02-10
@tnc4401

Copy some site in Photoshop. For example, draw a template like this https://dribbble.com/shots/2266601-IMDb-design-con... Or a fashionable app https://dribbble.com/shots/3281070-Swipe-Scheduler. While doing it, you understand about shadows, masks, find a trendy popular font (proxima)))). Or find a beautiful WordPress theme and draw the template in Photoshop.
10 such layouts - and we can assume that you know how to create landing pages))) More knowledge and skills than after the course.
When you come across real life, along the way you will have to read a couple of articles about grids, typography, composition. Find a cool site with icons and photos. Read Igor Shtang's layout... and it begins...
Everything is like learning HTML/CSS - learned the basics, armed with a dock, made up 10 templates. You know how! To work! Then you learn normal code, frills and process optimization. And bootstrap, angular, webpack...)))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question