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
GetRoles - 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: GetRoles (/showthread.php?tid=934)

Pages: 1 2


GetRoles - mudmin - 02-06-2018

Ok. Now I understand! Replace your functions with these...
https://pastebin.com/6h0xivag


GetRoles - shoropio - 02-06-2018


Fatal error: Cannot redeclare echoPerm() (previously declared in C:\xampp\htdocs\usersc\includes\custom_functions.php:26) in C:\xampp\htdocs\usersc\includes\custom_functions.php on line 47

Sad

My custom_functions.php https://pastebin.com/vjYCR89k


GetRoles - mudmin - 02-06-2018

Delete the old echoPerm function you had in usersc\includes\custom_functions.php and replace it with the one in the pastebin.

You'll probably have to do the same thing with the getRoles function.



GetRoles - shoropio - 02-06-2018

It works very well, thank you very much. Pura Vida Dan.


GetRoles - shoropio - 02-06-2018

You are a genious