Skip to content

map combinded with ObjectBuilder fails in v2.9.4 #1043

New issue

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

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

Already on GitHub? # to your account

Open
rypskar opened this issue Feb 6, 2025 · 0 comments
Open

map combinded with ObjectBuilder fails in v2.9.4 #1043

rypskar opened this issue Feb 6, 2025 · 0 comments

Comments

@rypskar
Copy link

rypskar commented Feb 6, 2025

Calling ->map('key')->ObjectBuilder() fails with error Call to a member function count() on null in v2.9.4 because of changes in https://github.com/ThingEngineer/PHP-MySQLi-Database-Class/pull/1018/files

The code fails on $res->seek($_res->count() - 1); because $_res is null. The only reference to $_res is on this line

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant