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
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
private page cant redirect to login page
#1
when trying to view private page without login there is a error
Fatal error: Call to undefined function env() in /home/../../users/helpers/us_helpers.php on line 353
  Reply
#2
What version are you using?
  Reply
#3
UserSpice 4.1 Alpha3

thanks
  Reply
#4
Thanks. I'll take a look. There might be a piece of code we missed updating <time passes>

Okay, go into users/us_helpers.php and change line 353 (the one containing the Redirect) to read:

Redirect::to($us_url_root.'users/login.php');

Let me know if that resolves the issue. If it doesn't, then the next Alpha has it fixed since that was already fixed in our working code.
  Reply
#5
thanks working ..
  Reply
#6
Great job
  Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)