Closed juizmill closed 12 months ago
Please see https://github.com/alcaeus/mongo-php-adapter/pull/290#issuecomment-1030329398.
This package was created to allow users to update to PHP 7 without having to migrate to the new MongoDB driver first. The last MongoDB version supported by the legacy driver is MongoDB 3.2, which is no longer supported by the new driver. Please fork the library, adapting and maintaining it for your use case, or use the supported MongoDB driver. The package will not be updated for any future PHP versions.
An error is being generated due to the migration to PHP 8.0
https://github.com/alcaeus/mongo-php-adapter/blob/1.2.4/lib/Alcaeus/MongoDbAdapter/TypeConverter.php#L180
https://github.com/alcaeus/mongo-php-adapter/blob/1.x/lib/Mongo/MongoId.php
How can we fix this problem?