Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

Getting error: There was an error while creating the PDF prescription file. Check logs for further details. on Review and Send Rx #110

@Decker97

Description

@Decker97

I using REDCap version 15.7.2, and trying to install this module. I get the above error when I try to generate the pdf prescription file. Here are the error details:

External Module Prefix: send_rx
Subject: REDCap External Module Hook Exception - send_rx
URL: https://redcap_qa.essentialaccess.org/redcap/redcap_v15.7.2/DataEntry/index.php?pid=55&id=4&event_id=219&page=review_send_rx
Server: redcap_qa.essentialaccess.org (BUR-DEV-01)
User: mbravo
Project ID: 55
Run Time: 0 seconds

The 'send_rx' module threw the following exception when calling the hook method 'hook_data_entry_form_top':

Error: Object of class SendRx\RxSender could not be converted to string in C:\inetpub\wwwroot\QA\redcap\modules\send_rx_v1.7.9\ExternalModule.php:249
Stack trace:
#0 C:\inetpub\wwwroot\QA\redcap\redcap_v15.7.2\ExternalModules\classes\ExternalModules.php(3227): SendRx\ExternalModule\ExternalModule->hook_data_entry_form_top('55', '4', 'review_send_rx', '219', '6', 1)
#1 C:\inetpub\wwwroot\QA\redcap\redcap_v15.7.2\ExternalModules\classes\ExternalModules.php(3394): ExternalModules\ExternalModules::startHook('send_rx', 'v1.7.9', Array)
#2 C:\inetpub\wwwroot\QA\redcap\redcap_v15.7.2\ExternalModules\classes\ExternalModules.php(3428): ExternalModules\ExternalModules::ExternalModules{closure}('send_rx', 'v1.7.9')
#3 C:\inetpub\wwwroot\QA\redcap\redcap_v15.7.2\Classes\Hooks.php(67): ExternalModules\ExternalModules::callHook('data_entry_form...', Array)
#4 C:\inetpub\wwwroot\QA\redcap\redcap_v15.7.2\DataEntry\index.php(637): Hooks::call('redcap_data_ent...', Array)
#5 {main}

Is SendRx supported?

Thanks,

-Mike

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions