The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/printthread.php(287) : eval()'d code 2 errorHandler->error
/printthread.php 287 eval
/printthread.php 117 printthread_multipage



UserSpice
user_settings.php error - 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: user_settings.php error (/showthread.php?tid=527)

Pages: 1 2


user_settings.php error - Brandin - 04-16-2017

Hello,

4.2.4 is giving me an error on user_settings.php:

Parse error: syntax error, unexpected 'else' (T_ELSE) in /home/aircentralized/public_html/boss/users/user_settings.php on line 217

Thank you!


user_settings.php error - Brandin - 04-16-2017

I am also not locating the password change feature on admin_user.php in the update. Was the wrong update deployed?


user_settings.php error - dan - 04-16-2017

SO SORRY. Github jacked up my code and I thought I had it fixed. I will fix it today.


user_settings.php error - mudmin - 04-16-2017

Can you try the 4.2.5 patch and see if it fixes your issues?


user_settings.php error - Brandin - 04-16-2017

It resolved my admin_user.php issue, however I am still getting the error I provided above for user_settings.php. I have reverted again until this gets replicated.


user_settings.php error - Brandin - 04-16-2017

Correct me if I'm wrong, before the else on line 217, you should be closing the Forms Posted if, right? If so, that is what you were missing, the closing bracket for the forms posted, replicate this by adding an extra bracket:
Code:
}}else{
instead of
Code:
}else{
on line 217 of user_settings.php.


user_settings.php error - emanresu - 04-17-2017

Thanks.


user_settings.php error - emanresu - 04-17-2017

uhm I now seem to have lost the ability to change/update a password...


user_settings.php error - mudmin - 04-17-2017

I'm looking into this. That's VERY weird. I had absolutely tested this before I pushed my code out.


user_settings.php error - Brandin - 04-17-2017

Very odd...I have the function. Are you sure you did the 4.2.5 update?