-
Notifications
You must be signed in to change notification settings - Fork 253
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
Editing Membergroup Page Count Bug #6210
Comments
Same error happens on moderation page in viewing groups Type of error: General Backtrace |
Could it be, |
Shouldnt be the issue. I have a few files modified which I converted a few of my old smf 1.1.21 mods to 2.1. None of the files I edited should have caused it. this is line 753 for me |
This is the error with a clean version of subs.php 8: A non well formed numeric value encountered |
at least is this line 651 in the orginal code: |
Pretty sure the problem is in Groups.php line 400 correct? |
that fixed the problem doing this Sources/Groups.php before
after Could you make a pr for me, I suck at that. |
well it look like ther could multiple ways how to fix it,
|
@albertlast just tried that and it didnt work. Not sure why casting 1,500,000 to (int) doesnt work? I thought that covered formatted string ints like that. The error message is gone though, however it only shows 1 page for the group. |
…e-count Membergroup page count fix. Fixes #6210
Description
Page count is not shown correctly while editing membergroup
Steps to reproduce
Environment (complete as necessary)
Additional information/references
Error:
Type of error: General
8: A non well formed numeric value encountered
https://website.com/index.php?action=admin;area=membergroups;sa=members;group=33
/website/Sources/Subs.php (Line 753)
Backtrace:
#0: smf_error_handler()
Called from /website/Sources/Subs.php on line 753
#1: constructPageIndex()
Called from /website/Sources/Groups.php on line 403
#2: MembergroupMembers()
Called from /website/Sources/Subs.php on line 5548
#3: call_helper()
Called from /website/Sources/ManageMembergroups.php on line 66
#4: ModifyMembergroups()
Called from /website/Sources/Admin.php on line 498
#5: AdminMain()
Called from /website/index.php on line 173
The text was updated successfully, but these errors were encountered: