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
Php 8.0 support #30
Comments
Looks like PHP 8 is quite brutal to this code base. Actually I'd imagine it was quite the thing for MyBB itself as many of the coding practices that was used there now generate warnings. I've fixed a bunch of issues, but there's undoubtedly more. |
So far everything appears to work but to date I have not tried everything, I'll post back any errors that show up later |
hey, seems like the 'mark threads as read' (as logged in user) function doesn't work any more in php8 if x thread is installed. |
Thanks, made a fix, see if that works. |
I've got a problem with the forum status icons on index, indicating that I have unread posts without actually having unread posts. Marking a forum or all forums as read doesn't change anything. I figured it's related to your (awesome) plugin. I fixed this by using some variables the way it's usually done in mybb: Idk but it works. Maybe this helps for further fixes. |
Running PHP 8.2 on MyBB 1.8.36. Not sure if this will be of any help but I'm getting the following: |
I'm guessing it's an issue with https://github.com/Sama34/Additional-Settings-For-Custom-Profile-Fields |
is there any plans to do a php 8 conversion ?
I have done some of the simple things like converting '{0}' to '[0]' but I am a bit stuck on admin/modules/config/threadfields.php when it creates a new record .. can not find out where the field names are read in
PHP 8 gives an error like
Warning [2] Undefined array key "hidefield" - Line: 269 - File: admin/modules/config/threadfields.php PHP 8.0.8 (Linux)
The text was updated successfully, but these errors were encountered: