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

[BUG] Deprecation / ErrorException due to http-foundation 5.1 deprecation #35

Open
huelsmc opened this issue Oct 23, 2021 · 0 comments
Open

Comments

@huelsmc
Copy link

huelsmc commented Oct 23, 2021

CKFinder causes an Exception due to the fact that it still uses JsonResponse::create instead of "new JsonResponse".

Uncaught PHP Exception ErrorException: "Since symfony/http-foundation 5.1: The "Symfony\Component\HttpFoundation\JsonResponse::create()" method is deprecated, use "new CKSource\CKFinder\Response\JsonResponse()" instead."

The deprecated function is used in CKFinder.php itself as well as in the ExceptionHandler (other Classes might be affected as well and it seems not only the JsonResponses are using the outdated function.)

Besides this your versioning is inconsistent:
const VERSION = '3.5.1.2'; does not match the packages name 3.5.2.1

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