Closed dhuacon closed 2 years ago
The error is likely due to this line:
It's likely that in a recent version of REDCap, the EM framework has pulled further away from the usage of the global constant PROJECT_ID
. Additionally, many standard REDCap things (like PROJECT_ID
) may not be available during a handful of module-based tasks (i.e. enable, update, and the automated cron that validates EMs).
@lsgs you may want to consider pulling everything out of the constructor, into some initialization method, and only consume it when in project context.
The error is likely due to this line:
It's likely that in a recent version of REDCap, the EM framework has pulled further away from the usage of the global constant
PROJECT_ID
. Additionally, many standard REDCap things (likePROJECT_ID
) may not be available during a handful of module-based tasks (i.e. enable, update, and the automated cron that validates EMs).@lsgs you may want to consider pulling everything out of the constructor, into some initialization method, and only consume it when in project context.
Any solutions? If not, I would at least like to know if they are working on one. Thanks
I also have the same problem Redcap version 10.6.3, PHP 8.0.13, MySQL 8.0.28, Linux Centos 9 on a new test server
Do you have a solution or a workaround? When do you think you can put a new version to solve this issue ?
Many thanks
This is fixed with release v1.0.5.
My Stack: REDCap 12.4.3 · PHP 8.0.0 (Windows OS) · MySQL 5.5.45
Error when trying to install Custom Record Auto-numbering module.
This module requests the following permissions: