-
Notifications
You must be signed in to change notification settings - Fork 35
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
Call to undefined method Stevebauman\Purify\Purify::getPurifier() #80
Comments
I'm experiencing the same? did you manage to fix it? |
Hi guys, sorry for the late reply. Can you post your full stack traces? I can't really see where the method call is coming from, so it could be from your application, or it could be from Purify, but I'm unable to tell. Thanks! |
I had to remove this:
from the Now, it works. |
Oh! Interesting. Did i miss that step when migrating? Not sure whether i should have seen any migration docs. |
In the installation instruction for v4, it says to add it, but in the migration guide from v4 to v5 it doesn't say to remove it |
@michele Are you using Lumen? Manual service provider registration was only intended for Lumen. Purify has always auto-loaded its service provider for Laravel:
|
Closing due to inactivity. Let me know if you still need assistance and I'll re-open this 👍 |
No need to re-open. I inherited this codebase, so not sure why they added it since we're not using Lumen, sorry I didn't get back to you earlier. |
Ok thanks for reporting back! Appreciate it 🙏 |
Hey there!
I'm currently updating my Laravel Application using Laravel 8 and PHP 7.4.
I just tried to follow you steps for migrating v4 to v5.
Before that i've been working with v3 so far.
After execution of the package update:
I now see this error:
Any idea where this could come from?
Thanks in advance!
The text was updated successfully, but these errors were encountered: