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

str_replace() argument 2 only accepts array|string #2

Open
wants to merge 1 commit into
base: feature
Choose a base branch
from

Conversation

Sama34
Copy link

@Sama34 Sama34 commented Nov 17, 2023

I think this issue is related to a PHP8 change but I couldn't find the references to it.

This warning stops users from login in to both the front and back end.

PHP Version: 8.2.11

@dvz
Copy link
Owner

dvz commented Nov 17, 2023

Does it happen in production? It looks like deprecated errors should be hidden: https://github.com/mybb/mybb/blob/468900dc9a8a881c7835f78777fea4b2a8753c37/inc/class_error.php#L100

@Sama34
Copy link
Author

Sama34 commented Jan 3, 2024

Indeed, this happens if deprecated errors are shown.

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

Successfully merging this pull request may close these issues.

2 participants