-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Deprecated on PHP 8.1.11: Calling end() on an object #1001
Comments
I found a quick fix was to replace |
I also discovered changing line 2058 to |
This sounds like there are fewer elements in the array than question marks in the query. Granted, it'd be better to check that, but that should be a separate issue. |
Fixes ThingEngineer#1016 by setting the defaults to an empty string; This matches nothing without notices about nulls. Fixes ThingEngineer#1013 by defaulting to false instead of not initializing. Fixes ThingEngineer#1015 by adding the missing null in the docstring. Re-aligned the other lines and fixed a typo. Fixes ThingEngineer#1001 by special handling of stdClass objects
Trace Defaults, Bug Fixes (#1001, #1013, #1015, #1016, #1018) Trace Defaults: (Commits: 295c4c6, 057d820) Establishes default settings for tracing mechanisms within the codebase. Bug Fixes: Fixes an error related to calling the end method on an stdClass object (Commit: d181606 - fixes #1001). Resolves issues reported in tickets #1013, #1015, and #1016. Additional Fix (stormwalkerec/php-mysqli-database-class): (Commit: a8de11f - fixes #1018) Merges a separate fix from stormwalkerec/php-mysqli-database-class that addresses another reported issue (#1018).
Not working in 8.1.11:
Deprecated: end(): Calling end() on an object is deprecated in X:\UniServerZ_15\vhosts\vatiometrogiovanni\vendor\thingengineer\mysqli-database-class\MysqliDb.php on line 1675
Having to go back to php 7 in order to work
The text was updated successfully, but these errors were encountered: