Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ошибка при обработке групп контрагента в объектом подходе #26

Closed
deonoize opened this issue Jun 18, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@deonoize
Copy link

Привет, при обработке массива tags (Группы контрагентов) у контрагента выдает такую ошибку:

Evgeek\Moysklad\Formatters\RecordFormat::convertToStdClass(): 
Argument #1 ($content) must be of type Evgeek\Moysklad\Api\Record\AbstractRecord|array, string given, called in vendor/evgeek/moysklad/src/Formatters/RecordFormat.php on line 118

Массив tags если что, выглядит вот так:

['Название группы']
@evgeek
Copy link
Owner

evgeek commented Jun 22, 2023

Поправил

@deonoize
Copy link
Author

Работает, спасибо :)

@evgeek evgeek added the bug Something isn't working label Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants