7 Jan Edited #1

Can't reset passwords due to fatal PHP error

Ultimate subscriber
I am finding a ton of these errors listed in my errorlog...

[04-Jan-2020 13:14:26 UTC] PHP Fatal error:  Uncaught Error: Call to a member function getByCode() on boolean in /home/xx/public_html/inc/plugins/modpack.php:897
Stack trace:
/home/xx/public_html/inc/class_plugins.php(142): modpack_change_username(Array)
#1 /home/xx/public_html/inc/datahandlers/user.php(1421): pluginSystem->run_hooks(Array, Array)
#2 /home/xx/public_html/member.php(1827): UserDataHandler->update_user()
#3 {main}
  thrown in /home/xx/public_html/inc/plugins/modpack.php on line 897
  • 1
  • 2
RocketFoot 2 Apr
#11
It did add the modpack edits to the file but the password reset failed to work again. I have it uninstalled for now.
Shade 2 Apr
#12
If you installed them manually, you have to remove some trailing slashes which are embedded in the plugin’s automatic functions. That’s why it fails to deliver most probably. If you hand me a temp server access, I can see what’s wrong.
RocketFoot 2 Apr
#13
PM sent
Shade 2 Apr
#14
Solved in the last update. Thank you for your report!
RocketFoot 2 Apr
#15
Issue seems to be resolved with 4.0.1 update! Thanks Shade! Love the new look here on the website too!
RocketFoot 3 Apr
#16
Shade, I did notice one weird thing after the update...when I click delete all alerts from my alert modal, the screen goes to a board message screen with this comment:

An invalid search was specified. Please go back and try again.

It usually went back to the index page after deleting all alerts. Is this normal?
Shade 3 Apr
#17
The update just includes the change for password reset, so it's very unlikely the culprit for your issue. Besides, deleting all alerts from the modal is not supported by MyAlerts out of the box, so I guess you have edited the code somehow.