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

Player merge fails #6

Open
Vladskywolf opened this issue Apr 19, 2023 · 0 comments
Open

Player merge fails #6

Vladskywolf opened this issue Apr 19, 2023 · 0 comments

Comments

@Vladskywolf
Copy link

Using the 'Merge Players' function on the admin page results in this error:

Career highs and player count.... Fatal error: Uncaught Error: Call to a member function fetch() on boolean in /volume1/homes/ed/www/utstatsdb/includes/logsql.php:156 Stack trace: #0 /volume1/homes/ed/www/utstatsdb/includes/plrmerge.php(268): sql_fetch_assoc(false) #1 /volume1/homes/ed/www/utstatsdb/includes/adminmerge.php(220): player_merge(27, 1) #2 /volume1/homes/ed/www/utstatsdb/admin.php(273): mergeexecute() #3 {main} thrown in /volume1/homes/ed/www/utstatsdb/includes/logsql.php on line 156

The problem, as indicated above, is in the 'includes/plmerge.php' file, where the fetch fails because the SELECT statement includes two fields which do not exist in the 'ut_totals' table: tl_chflakmonkey_plr and tl_chcombowhore_plr (located on lines 246-247).

Removing these two lines, with the non-existing field names, resolved the issue.

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

1 participant