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

map combinded with ObjectBuilder fails in v2.9.4 #1043

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

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

No branches or pull requests

1 participant