Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USERID problem in REDCap after upgrade to PHP 8.2.12 #91

Open
Samantao93 opened this issue Nov 23, 2023 · 0 comments
Open

USERID problem in REDCap after upgrade to PHP 8.2.12 #91

Samantao93 opened this issue Nov 23, 2023 · 0 comments
Labels

Comments

@Samantao93
Copy link

versions: REDCap 13.7.22 · PHP 8.2.12 (Linux/Unix OS) · MariaDB 10.6.16

The 'form_render_skip_logic' module threw the following exception when calling the hook method 'redcap_every_page_top':

Error: Undefined constant "USERID" in /url/redcap_v13.7.22/Classes/Piping.php:1401
Stack trace:
#0 /url/modules/form_render_skip_logic_v3.3.13/ExternalModule.php(319): Piping::pipeSpecialTags()
#1 /url/modules/form_render_skip_logic_v3.3.13/ExternalModule.php(398): FormRenderSkipLogic\ExternalModule\ExternalModule->getFormsAccessMatrix()
#2 /url/modules/form_render_skip_logic_v3.3.13/ExternalModule.php(56): FormRenderSkipLogic\ExternalModule\ExternalModule->loadFRSL()
#3 /url/redcap_v13.7.22/ExternalModules/classes/ExternalModules.php(3165): FormRenderSkipLogic\ExternalModule\ExternalModule->redcap_every_page_top()
#4 /url/redcap_v13.7.22/ExternalModules/classes/ExternalModules.php(3330): ExternalModules\ExternalModules::startHook()
#5 /url/redcap_v13.7.22/ExternalModules/classes/ExternalModules.php(3363): ExternalModules\ExternalModules::ExternalModules{closure}()
#6 /url/redcap_v13.7.22/Classes/Hooks.php(42): ExternalModules\ExternalModules::callHook()
#7 /url/redcap_v13.7.22/Classes/HtmlPage.php(144): Hooks::call()
#8 /url/redcap_v13.7.22/Config/init_functions.php(614): HtmlPage->PrintHeader()
#9 /url/redcap_v13.7.22/Libraries/PEAR/Auth.php(587): loginFunction()
#10 /url/redcap_v13.7.22/Libraries/PEAR/Auth.php(530): Auth->login()
#11 /url/redcap_v13.7.22/Classes/Authentication.php(1850): Auth->start()
#12 /url/redcap_v13.7.22/Classes/Authentication.php(893): Authentication::checkLogin()
#13 /url/redcap_v13.7.22/Classes/Authentication.php(646): Authentication::tableBasedLogin()
#14 /url/redcap_v13.7.22/Classes/System.php(902): Authentication::authenticate()
#15 /url/redcap_v13.7.22/Config/init_project.php(7): System::initProjectPage()
#16 /url/redcap_v13.7.22/DataEntry/record_home.php(3): require_once('...')
#17 {main}

URL: /url/redcap_v13.7.22/DataEntry/record_home.php?pid=58&id=74-4&arm=1
Server:
User:
Project ID:
Module Name: Form Render Skip Logic (form_render_skip_logic)
Module Author(s): pbc@ufl.edu, tls@ufl.edu, kyle.chesney@ufl.edu
Run Time: 0 seconds

@Samantao93 Samantao93 changed the title USERID problema in REDCap after upgrade to PHP 8.2.12 USERID problem in REDCap after upgrade to PHP 8.2.12 Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants