Skip to content

Import crashes out - Object of class stdClass could not be converted to string #8

@274188A

Description

@274188A

I see in my log the following after trying to import from a csv file.

I can send you further project details if you wish as there is no personal/sensitive data.

Cheers,

John

REDCap 13.8.1 · PHP 8.2.7 (Windows OS) · MySQL 8.0.33

14:23:15 | Error message: Uncaught Error: Object of class stdClass could not be converted to string in modules\advanced_import_v1.9.5\AdvancedImport.php:561 Stack trace: #0 modules\advanced_import_v1.9.5\app\Models\Logs.php(60): Vanderbilt\AdvancedImport\AdvancedImport::escape(Object(stdClass)) #1 modules\advanced_import_v1.9.5\app\Controllers\LogsController.php(33): Vanderbilt\AdvancedImport\App\Models\Logs->getList(0, '...') #2 [internal function]: Vanderbilt\AdvancedImport\App\Controllers\LogsController->index() #3 modules\advanced_import_v1.9.5\app\Helpers\Router.php(91): call_user_func_array(Array, Array) #4 modules\advanced_import_v1.9.5\app\router.php(34): Vanderbilt\AdvancedImport\App\Helpers\Router->dispatch('...') #5 modules\advanced_import_v1.9.5\api.php(4): require_once('...') #6 redcap_v13.8.1\ExternalModules\index.php(139): require('...') #7 redcap_v13.8.1\API\index.php(67): require_once('...') #8 {main} thrownFile: modules\advanced_import_v1.9.5\AdvancedImport.phpLine: 561

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