The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
forgot passw. reset err:Undefined variable: verify in forgot_password_reset.php - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: forgot passw. reset err:Undefined variable: verify in forgot_password_reset.php (/showthread.php?tid=996)



forgot passw. reset err:Undefined variable: verify in forgot_password_reset.php - gokhan - 03-10-2018

Hey all,

Ever since I upgraded to US 4.3.14, I'm getting this error after an attempt to enter a new password for a user following the "forgot password" link sent in an e-mail:

Notice: Undefined variable: verify in /htdocs/userspice4314/users/forgot_password_reset.php on line 63
Call Stack
# Time Memory Function Location
1 0.0186 381872 {main}( ) .../forgot_password_reset.php:0

( ! ) Fatal error: Uncaught Error: Call to a member function data() on null in /htdocs/userspice4314/users/forgot_password_reset.php on line 63
( ! ) Error: Call to a member function data() on null in /htdocs/userspice4314/users/forgot_password_reset.php on line 63
Call Stack
# Time Memory Function Location
1 0.0186 381872 {main}( ) .../forgot_password_reset.php:0

My env is using PHP 7.1.12 and MySQL 5.7.

I tried this with at least 2 US instances one of which was completely a fresh install.


forgot passw. reset err:Undefined variable: verify in forgot_password_reset.php - dan - 03-10-2018

Hi. I'm sorry about this. Our patch was delayed, but hopefully we will get it out to everyone today. In the mean time, here is a fix.


https://cdn.discordapp.com/attachments/414976222368366602/418194183786856459/4314_Password_Patch.zip