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

production WARNING php 8.1 #25

Open
MjeTjeu opened this issue Feb 23, 2023 · 2 comments
Open

production WARNING php 8.1 #25

MjeTjeu opened this issue Feb 23, 2023 · 2 comments

Comments

@MjeTjeu
Copy link

MjeTjeu commented Feb 23, 2023

[2023-02-23 09:11:23] production.WARNING: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in vendor/consoletvs/profanity/Classes/Blocker.php on line 135

@B1Q
Copy link

B1Q commented Mar 12, 2023

did you fix it?

@zanderwar
Copy link

if (! is_string($this->text)) {
    return [];
}

before the preg_match on 135

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

3 participants