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

Typeerror in Module "Personal data" #111

Closed
theDyingMountain opened this issue May 8, 2024 · 9 comments
Closed

Typeerror in Module "Personal data" #111

theDyingMountain opened this issue May 8, 2024 · 9 comments

Comments

@theDyingMountain
Copy link

When I sent the form of personal data, I got the following error:

Terminal42\FineUploaderBundle\WidgetHelper::getFilesArray(): Argument #3 ($storeFile) must be of type bool, null given

The error occurs after the latest update.

@fritzmg
Copy link
Sponsor Collaborator

fritzmg commented May 8, 2024

Use the debug mode and post the stack trace.

@theDyingMountain
Copy link
Author

theDyingMountain commented May 8, 2024

TypeError:
Terminal42\FineUploaderBundle\WidgetHelper::getFilesArray(): Argument #3 ($storeFile) must be of type bool, null given, called in /usr/www/users/xxxx/Contao_DEV_Neu/vendor/terminal42/contao-fineuploader/src/Widget/FrontendWidget.php on line 75

  at vendor/terminal42/contao-fineuploader/src/WidgetHelper.php:107
  at Terminal42\FineUploaderBundle\WidgetHelper->getFilesArray()
     (vendor/terminal42/contao-fineuploader/src/Widget/FrontendWidget.php:75)
  at Terminal42\FineUploaderBundle\Widget\FrontendWidget->validator()
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Widget.php:743)
  at Contao\Widget->validate()
     (vendor/contao/core-bundle/src/Resources/contao/modules/ModulePersonalData.php:216)
  at Contao\ModulePersonalData->compile()
     (vendor/contao/core-bundle/src/Resources/contao/modules/Module.php:214)
  at Contao\Module->generate()
     (vendor/contao/core-bundle/src/Resources/contao/modules/ModulePersonalData.php:63)
  at Contao\ModulePersonalData->generate()
     (vendor/contao/core-bundle/src/Resources/contao/elements/ContentModule.php:98)
  at Contao\ContentModule->generate()
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:622)
  at Contao\Controller::getContentElement()
     (vendor/contao/core-bundle/src/Resources/contao/modules/ModuleArticle.php:197)
  at Contao\ModuleArticle->compile()
     (vendor/contao/core-bundle/src/Resources/contao/modules/Module.php:214)
  at Contao\Module->generate()
     (vendor/contao/core-bundle/src/Resources/contao/modules/ModuleArticle.php:70)
  at Contao\ModuleArticle->generate()
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:550)
  at Contao\Controller::getArticle()
     (vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:392)
  at Contao\Controller::getFrontendModule()
     (vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:194)
  at Contao\PageRegular->prepare()
     (vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:61)
  at Contao\PageRegular->getResponse()
     (vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:320)
  at Contao\FrontendIndex->renderPage()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (web/preview.php:46)           

@fritzmg
Copy link
Sponsor Collaborator

fritzmg commented May 8, 2024

Post your tl_member DCA adjustment.

@theDyingMountain
Copy link
Author

There is nothing special in my DCA adjustment:

<?php

use App\Helper\GoogleMapsHelper;
use Contao\CoreBundle\DataContainer\PaletteManipulator;

PaletteManipulator::create()
    ->addField('dolibarrId', 'lastname')
    ->addLegend('mentor_legend', 'regions_legend')
    ->addField('possible_competitions', 'mentor_legend', PaletteManipulator::POSITION_APPEND)
    ->addField('group_select', 'possible_competitions')
    ->addField('radius', 'group_select')
    ->addField('available_languages', 'group_select')
    ->addField('mentoring_format', 'available_languages')
    ->addField('institution', 'mentoring_format')
    ->addField('department', 'institution')
    ->addField('expertise', 'department')
    ->addField('experience', 'expertise')
    ->addField('available', 'experience')
    ->addField('available_time', 'available')
    ->addField('available_for_fll_types', 'available_time')
    ->addField('email_reminders', 'available_for_fll_types')
    ->addField('coordinates', 'xt_country')
    ->addField('special_notes', 'coordinates')
    ->applyToPalette('default', 'tl_member');

// PaletteManipulator::create()->addField('group_select', 'groups')->applyToPalette('default', 'tl_member');

$GLOBALS['TL_DCA']['tl_member']['config']['ctable'][] = 'tl_hot_address';


$GLOBALS['TL_DCA']['tl_member']['list']['operations']['address'] = [
    'label' => 'Adressen bearbeiten',
    'href'  => 'table=tl_hot_address',
    'icon'  => 'tablewizard.svg'
];

$GLOBALS['TL_DCA']['tl_member']['fields']['phone']['eval']['mandatory'] = true;
$GLOBALS['TL_DCA']['tl_member']['fields']['newsletter']['eval']['class'] = 'newsletter';

$GLOBALS['TL_DCA']['tl_member']['fields']['group_select'] = [
    'label' => &$GLOBALS['TL_LANG']['tl_member']['group_select'],
    'inputType' => 'select',
    'eval' => ['feEditable' => true, 'feGroup' => "personal", 'feViewable' => true, 'includeBlankOption' => true, 'mandatory' => true, 'class' => 'group_select'],
    'sql' => 'int(10) unsigned NOT NULL default 0'
];

$GLOBALS['TL_DCA']['tl_member']['fields']['available_languages'] = [
    'label' => &$GLOBALS['TL_LANG']['tl_member']['available_languages'],
    'inputType' => 'select',
    'eval' => ['feEditable' => true, 'feGroup' => "personal", 'feViewable' => true, 'includeBlankOption' => true, 'class' => 'mentor chosen-select mentor-required', 'tl_class' => 'w50 clr', 'multiple' => true, 'chosen' => true],
    'sql' => 'BLOB NULL'
];

$GLOBALS['TL_DCA']['tl_member']['fields']['possible_competitions'] = [
    'label' => &$GLOBALS['TL_LANG']['tl_member']['possible_competitions'],
    'inputType' => 'select',
    'eval' => ['tl_class' => '', 'class' => 'mentor chosen-select', 'feGroup' => "personal", 'feEditable' => true, 'feViewable' => true, 'multiple' => true, 'chosen' => true],
    'foreignKey' => 'tl_hot_competitions.name',
    'relation' => ['type' => 'belongsToMany', 'load' => 'eager', 'table' => 'tl_hot_competitions', 'field' => 'id'],
    'sql' => 'BLOB NULL'
];

$GLOBALS['TL_DCA']['tl_member']['fields']['mentoring_format'] = [
    'label' => &$GLOBALS['TL_LANG']['tl_member']['mentoring_format'],
    'inputType' => 'select',
    'eval' => ['tl_class' => 'w50', 'class' => 'mentor chosen-select mentor-required', 'feGroup' => "personal", 'feEditable' => true, 'feViewable' => true, 'multiple' => true, 'chosen' => true],
    'sql' => "varchar(64) NOT NULL default ''"
];

$GLOBALS['TL_DCA']['tl_member']['fields']['company']['label'] = &$GLOBALS['TL_LANG']['tl_member']['company'];
$GLOBALS['TL_DCA']['tl_member']['fields']['company']['eval']['class'] = 'mentor mentor-required';
$GLOBALS['TL_DCA']['tl_member']['fields']['company']['eval']['mandatory'] = false;

// $GLOBALS['TL_DCA']['tl_member']['fields']['company'] = [
//     'label' => &$GLOBALS['TL_LANG']['tl_member']['institution'],
//     'inputType' => 'text',
//     'eval' => ['tl_class' => 'w50', 'class' => 'mentor mentor-required', 'feGroup' => "personal", 'feEditable' => true, 'feViewable' => true],
//     'sql' => "varchar(255) NOT NULL default ''"
// ];

$GLOBALS['TL_DCA']['tl_member']['fields']['institution'] = [
    'label' => &$GLOBALS['TL_LANG']['tl_member']['institution'],
    'inputType' => 'text',
    'eval' => ['tl_class' => 'w50', 'class' => 'mentor mentor-required', 'feGroup' => "personal", 'feEditable' => true, 'feViewable' => true],
    'sql' => "varchar(255) NOT NULL default ''"
];

$GLOBALS['TL_DCA']['tl_member']['fields']['department'] = [
    'label' => &$GLOBALS['TL_LANG']['tl_member']['department'],
    'inputType' => 'select',
    'eval' => ['tl_class' => 'w50', 'class' => 'mentor chosen-select mentor-required', 'feGroup' => "personal", 'feEditable' => true, 'feViewable' => true, 'multiple' => true, 'chosen' => true],
    'sql' => 'BLOB NULL'
];

$GLOBALS['TL_DCA']['tl_member']['fields']['expertise'] = [
    'label' => &$GLOBALS['TL_LANG']['tl_member']['expertise'],
    'inputType' => 'textarea',
    'eval' => ['tl_class' => 'w50', 'class' => 'mentor', 'feEditable' => true, 'feGroup' => "personal", 'feViewable' => true],
    'sql' => 'TEXT NULL'
];

$GLOBALS['TL_DCA']['tl_member']['fields']['experience'] = [
    'label' => &$GLOBALS['TL_LANG']['tl_member']['experience'],
    'inputType' => 'textarea',
    'eval' => ['tl_class' => 'w50', 'class' => 'mentor', 'feEditable' => true, 'feGroup' => "personal", 'feViewable' => true],
    'sql' => 'TEXT NULL'
];

$GLOBALS['TL_DCA']['tl_member']['fields']['available_time'] = [
    'label' => &$GLOBALS['TL_LANG']['tl_member']['available_time'],
    'inputType' => 'select',
    'eval' => ['tl_class' => 'w50', 'class' => 'mentor', 'feEditable' => true, 'feGroup' => "personal", 'feViewable' => true, 'includeBlankOption' => true],
    'sql' => 'TEXT NULL'
];

$GLOBALS['TL_DCA']['tl_member']['fields']['available'] = [
    'label' => &$GLOBALS['TL_LANG']['tl_member']['available'],
    'inputType' => 'checkbox',
    'eval' => ['tl_class' => 'w50', 'class' => 'mentor', 'feEditable' => true, 'feGroup' => "personal", 'feViewable' => true],
    'sql' => "char(1) NOT NULL default '1'"
];

$GLOBALS['TL_DCA']['tl_member']['fields']['available_for_fll_types'] = [
    'label' => &$GLOBALS['TL_LANG']['tl_member']['available_for_fll_types'],
    'inputType' => 'checkbox',
    'eval' => ['tl_class' => 'w50', 'class' => 'mentor', 'multiple' => true, 'feEditable' => true, 'feGroup' => "personal", 'feViewable' => true],
    'sql' => "varchar(64) NOT NULL default ''"
];

$GLOBALS['TL_DCA']['tl_member']['fields']['email_reminders'] = [
    'label' => &$GLOBALS['TL_LANG']['tl_member']['email_reminders'],
    'inputType' => 'checkbox',
    'eval' => ['tl_class' => 'w50', 'class' => 'mentor', 'multiple' => true, 'feEditable' => true, 'feGroup' => "personal", 'feViewable' => true],
    'sql' => 'BLOB NULL'
];

$GLOBALS['TL_DCA']['tl_member']['fields']['special_notes'] = [
    'label' => &$GLOBALS['TL_LANG']['tl_member']['special_notes'],
    'inputType' => 'textarea',
    'eval' => ['tl_class' => 'w50', 'class' => 'mentor', 'feEditable' => true, 'feGroup' => "personal", 'feViewable' => true],
    'sql' => 'TEXT NULL'
];

$GLOBALS['TL_DCA']['tl_member']['fields']['radius'] = [
    'label' => &$GLOBALS['TL_LANG']['tl_member']['radius'],
    'inputType' => 'select',
    'options' => [20 => '+20 km', 50 => '+50 km', 100 => '+100 km', 200 => '+200 km'],
    'eval' => ['tl_class' => 'w50', 'class' => 'mentor mentor-required', 'feEditable' => true, 'feGroup' => "personal", 'feViewable' => true, 'includeBlankOption' => true],
    'sql' => 'SMALLINT unsigned NOT NULL default 20'
];

// Führungszeugnis - conduct certificate
$GLOBALS['TL_DCA']['tl_member']['fields']['clearance_certificate'] = [
    'label' => &$GLOBALS['TL_LANG']['tl_member']['clearance_certificate'],
    'inputType' => "fineUploader",
    'eval' => [
        'tl_class' => 'w50',
        'class' => 'mentor',
        'feEditable' => true,
        'feViewable' => true,
        'feGroup' => "personal",
        'extensions' => 'pdf,zip,png,jpg,jpeg',
        'doNotOverwrite'    => true,
        'uploaderLimit'     => 2,
        'maxlength'         => 2048000,
    ],
    'sql' => 'blob NULL'
];

$GLOBALS['TL_DCA']['tl_member']['fields']['clearance_certificate_info'] = [
    'label' => &$GLOBALS['TL_LANG']['tl_member']['clearance_certificate_info'],
    'inputType' => "checkbox",
    'eval' => [
        'tl_class' => 'w50',
        'class' => 'mentor mentor-required clearance_certificate_info',
        'feEditable' => true,
        'feViewable' => true,
    ],
    'sql' => "char(1) NULL"
];

$GLOBALS['TL_DCA']['tl_member']['fields']['coordinates'] = [
    'label' => ['Koordinaten'],
    'inputType' => 'text',
    'eval' => [
        // 'readonly' => true
        'tl_class' => 'w50'
    ],
    'save_callback' => [function ($varValue, $dc) {
        if (empty($varValue)) {
            $address = $dc->activeRecord->postal . ' ' . $dc->activeRecord->city; // Google HQ
            return GoogleMapsHelper::getCoordinates($address);
        }

        return $varValue;
    }],
    'sql'    => "varchar(255) NULL",
];

$GLOBALS['TL_DCA']['tl_member']['fields']['gdpr_accepted'] = [
    'label' => &$GLOBALS['TL_LANG']['tl_member']['gdpr_accepted'],
    'inputType' => 'checkbox',
    'eval' => ['feEditable' => true, 'mandatory' => true, 'class' => 'gdpr', 'feGroup' => "personal"],
    'sql' => 'char(1) NULL'
];

$GLOBALS['TL_DCA']['tl_member']['fields']['dolibarrId'] = [
    'label' => &$GLOBALS['TL_LANG']['tl_member']['dolibarrId'],
    'filter' => true,
    'inputType' => 'text',
    'eval' => ['tl_class' => 'w50'],
    'sql' => 'int(10) unsigned NOT NULL default 0'
];

$GLOBALS['TL_DCA']['tl_member']['fields']['regiopartner_infomail_send'] = [
    'inputType' => 'checkbox',
    'sql' => 'char(1) NULL'
];

$GLOBALS['TL_DCA']['tl_member']['fields']['tags'] = [
    'exclude' => true,
    'inputType' => 'cfgTags',
    'eval' => [
        'tagsManager' => 'member_manager',
        'maxItems' => 5,
        'hideList' => true,
        'tl_class' => 'clr',
    ],
];

But I use the contao-avatar extension, maybe that's the cause?

@fritzmg
Copy link
Sponsor Collaborator

fritzmg commented May 13, 2024

Do you mean https://github.com/terminal42/contao-avatar ? This extension does not use terminal42/contao-fineuploader. Post the output of debug:dca tl_member.

@theDyingMountain
Copy link
Author

array:5 [
  "config" => array:8 [
    "dataContainer" => "Contao\DC_Table"
    "enableVersioning" => true
    "onsubmit_callback" => array:1 [
      0 => array:2 [
        0 => "tl_member"
        1 => "storeDateAdded"
      ]
    ]
    "sql" => array:1 [
      "keys" => array:4 [
        "id" => "primary"
        "username" => "unique"
        "email" => "index"
        "login,disable,start,stop" => "index"
      ]
    ]
    "onload_callback" => array:2 [
      0 => array:2 [
        0 => "Newsletter"
        1 => "updateAccount"
      ]
      1 => Closure($dc = null)^ {#517
        class: "Contao\DcaLoader"
        this: Contao\DcaLoader {#514 …}
        file: "/usr/www/users/handsb/Contao_DEV_Neu/var/cache/prod/contao/dca/tl_member.php"
        line: "201 to 213"
      }
    ]
    "ctable" => array:1 [
      0 => "tl_hot_address"
    ]
    "ondelete_callback" => array:3 [
      0 => array:2 [
        0 => "Haste\Model\Relations"
        1 => "deleteRelatedRecords"
      ]
      1 => array:2 [
        0 => "Haste\Model\Relations"
        1 => "cleanRelatedRecords"
      ]
      2 => array:2 [
        0 => "contao.listener.data_container.record_preview"
        1 => "storePrecompiledRecordPreview"
      ]
    ]
    "oncopy_callback" => array:1 [
      0 => array:2 [
        0 => "Haste\Model\Relations"
        1 => "copyRelatedRecords"
      ]
    ]
  ]
  "list" => array:4 [
    "sorting" => array:4 [
      "mode" => 2
      "fields" => array:1 [
        0 => "dateAdded"
      ]
      "panelLayout" => "filter;sort,sort_toggle,search,limit;reset"
      "panelCallback" => array:2 [
        "reset" => Closure($dc)^ {#518
          class: "Contao\DcaLoader"
          this: Contao\DcaLoader {#514 …}
          file: "/usr/www/users/handsb/Contao_DEV_Neu/var/cache/prod/contao/dca/tl_member.php"
          line: "217 to 219"
        }
        "sort_toggle" => Closure($dc)^ {#519
          class: "Contao\DcaLoader"
          this: Contao\DcaLoader {#514 …}
          file: "/usr/www/users/handsb/Contao_DEV_Neu/var/cache/prod/contao/dca/tl_member.php"
          line: "220 to 231"
        }
      ]
    ]
    "label" => array:3 [
      "fields" => array:5 [
        0 => ""
        1 => "firstname"
        2 => "lastname"
        3 => "username"
        4 => "dateAdded"
      ]
      "showColumns" => true
      "label_callback" => array:2 [
        0 => "tl_member"
        1 => "addIcon"
      ]
    ]
    "global_operations" => array:3 [
      "all" => array:4 [
        "href" => "act=select"
        "class" => "header_edit_all"
        "attributes" => "onclick="Backend.getScrollOffset()" accesskey="e""
        "label" => & null
      ]
      "export" => array:3 [
        "label" => "CSV Liste"
        "href" => "key=export"
        "icon" => "system/modules/hot_accounting/assets/images/doc_excel_csv.png"
      ]
      "mail" => array:3 [
        "icon" => "system/modules/hot_accounting/assets/images/email_go.png"
        "button_callback" => Closure($row, $href, $label, $title, $icon, $attributes)^ {#516
          class: "Contao\DcaLoader"
          this: Contao\DcaLoader {#514 …}
          file: "/usr/www/users/handsb/Contao_DEV_Neu/var/cache/prod/contao/dca/tl_member.php"
          line: "197 to 199"
        }
        "label" => & null
      ]
    ]
    "operations" => array:7 [
      "edit" => array:3 [
        "href" => "act=edit"
        "icon" => "edit.svg"
        "label" => & null
      ]
      "copy" => array:3 [
        "href" => "act=copy"
        "icon" => "copy.svg"
        "label" => & null
      ]
      "delete" => array:4 [
        "href" => "act=delete"
        "icon" => "delete.svg"
        "attributes" => "onclick="if(!confirm(''))return false;Backend.getScrollOffset()""
        "label" => & null
      ]
      "toggle" => array:4 [
        "href" => "act=toggle&amp;field=disable"
        "icon" => "visible.svg"
        "reverse" => true
        "label" => & null
      ]
      "show" => array:3 [
        "href" => "act=show"
        "icon" => "show.svg"
        "label" => & null
      ]
      "su" => array:4 [
        "href" => "key=su"
        "icon" => "su.svg"
        "button_callback" => array:2 [
          0 => "tl_member"
          1 => "switchUser"
        ]
        "label" => & null
      ]
      "address" => array:3 [
        "label" => "Adressen bearbeiten"
        "href" => "table=tl_hot_address"
        "icon" => "tablewizard.svg"
      ]
    ]
  ]
  "palettes" => array:2 [
    "__selector__" => array:2 [
      0 => "login"
      1 => "assignDir"
    ]
    "default" => "{personal_legend},firstname,lastname,dolibarrId,dateOfBirth,gender,criminal_record;{address_legend:hide},company,street,postal,city,xt_country,coordinates,special_notes;{contact_legend},phone,mobile,fax,email,website,xt_language;{avatar_legend},avatar,avatar_gravatar;{regions_legend},regions;{mentor_legend},possible_competitions,group_select,available_languages,mentoring_format,institution,department,expertise,experience,available,available_time,available_for_fll_types,email_reminders,radius;{groups_legend},groups;{login_legend},login;{homedir_legend:hide},assignDir;{newsletter_legend:hide},newsletter,xt_request_mindstorm,xt_request_training;{account_legend},disable,start,stop"
  ]
  "subpalettes" => array:2 [
    "login" => "username,password"
    "assignDir" => "homeDir"
  ]
  "fields" => array:67 [
    "id" => array:3 [
      "sql" => "int(10) unsigned NOT NULL auto_increment"
      "search" => true
      "label" => & null
    ]
    "tstamp" => array:2 [
      "sql" => "int(10) unsigned NOT NULL default 0"
      "label" => & null
    ]
    "firstname" => array:8 [
      "exclude" => true
      "search" => true
      "sorting" => true
      "flag" => 1
      "inputType" => "text"
      "eval" => array:5 [
        "mandatory" => true
        "maxlength" => 255
        "feEditable" => true
        "feGroup" => "personal"
        "tl_class" => "w50"
      ]
      "sql" => "varchar(255) NOT NULL default ''"
      "label" => & null
    ]
    "lastname" => array:8 [
      "exclude" => true
      "search" => true
      "sorting" => true
      "flag" => 1
      "inputType" => "text"
      "eval" => array:5 [
        "mandatory" => true
        "maxlength" => 255
        "feEditable" => true
        "feGroup" => "personal"
        "tl_class" => "w50"
      ]
      "sql" => "varchar(255) NOT NULL default ''"
      "label" => & null
    ]
    "dateOfBirth" => array:6 [
      "exclude" => true
      "inputType" => "text"
      "eval" => array:6 [
        "rgxp" => "date"
        "datepicker" => true
        "feEditable" => true
        "feGroup" => "personal"
        "tl_class" => "w50 wizard"
        "mandatory" => true
      ]
      "sql" => "varchar(11) NOT NULL default ''"
      "save_callback" => array:1 [
        0 => array:2 [
          0 => "App\EventListener\DataContainer\MemberSaveListener"
          1 => "saveBirthDate"
        ]
      ]
      "label" => & null
    ]
    "gender" => array:7 [
      "exclude" => true
      "inputType" => "select"
      "options" => array:3 [
        0 => "male"
        1 => "female"
        2 => "other"
      ]
      "reference" => & array:4 [
        "password" => null
        "dateAdded" => null
        "lastLogin" => null
        "currentLogin" => null
      ]
      "eval" => array:5 [
        "includeBlankOption" => true
        "feEditable" => true
        "feGroup" => "personal"
        "tl_class" => "w50"
        "mandatory" => true
      ]
      "sql" => "varchar(32) NOT NULL default ''"
      "label" => & null
    ]
    "company" => array:8 [
      "exclude" => true
      "search" => true
      "sorting" => true
      "flag" => 1
      "inputType" => "text"
      "eval" => array:6 [
        "maxlength" => 255
        "feEditable" => true
        "feGroup" => "address"
        "tl_class" => "w50"
        "class" => "mentor mentor-required"
        "mandatory" => false
      ]
      "sql" => "varchar(255) NOT NULL default ''"
      "label" => & null
    ]
    "street" => array:6 [
      "exclude" => true
      "search" => true
      "inputType" => "text"
      "eval" => array:5 [
        "maxlength" => 255
        "feEditable" => true
        "feGroup" => "address"
        "tl_class" => "w50"
        "mandatory" => false
      ]
      "sql" => "varchar(255) NOT NULL default ''"
      "label" => & null
    ]
    "postal" => array:6 [
      "exclude" => true
      "search" => true
      "inputType" => "text"
      "eval" => array:5 [
        "maxlength" => 32
        "feEditable" => true
        "feGroup" => "address"
        "tl_class" => "w50"
        "mandatory" => false
      ]
      "sql" => "varchar(32) NOT NULL default ''"
      "label" => & null
    ]
    "city" => array:8 [
      "exclude" => true
      "filter" => true
      "search" => true
      "sorting" => true
      "inputType" => "text"
      "eval" => array:5 [
        "maxlength" => 255
        "feEditable" => true
        "feGroup" => "address"
        "tl_class" => "w50"
        "mandatory" => false
      ]
      "sql" => "varchar(255) NOT NULL default ''"
      "label" => & null
    ]
    "state" => array:7 [
      "exclude" => true
      "sorting" => true
      "inputType" => "text"
      "eval" => array:4 [
        "maxlength" => 64
        "feEditable" => true
        "feGroup" => "address"
        "tl_class" => "w50"
      ]
      "sql" => "varchar(64) NOT NULL default ''"
      "filter" => false
      "label" => & null
    ]
    "country" => array:8 [
      "exclude" => true
      "filter" => false
      "sorting" => true
      "inputType" => "select"
      "eval" => array:5 [
        "includeBlankOption" => true
        "chosen" => true
        "feEditable" => true
        "feGroup" => "address"
        "tl_class" => "w50"
      ]
      "options_callback" => Closure()^ {#513
        class: "Contao\DcaLoader"
        file: "/usr/www/users/handsb/Contao_DEV_Neu/var/cache/prod/contao/dca/tl_member.php"
        line: "14 to 18"
      }
      "sql" => "varchar(2) NOT NULL default ''"
      "label" => & null
    ]
    "phone" => array:7 [
      "exclude" => true
      "search" => true
      "inputType" => "text"
      "eval" => array:7 [
        "maxlength" => 64
        "rgxp" => "phone"
        "decodeEntities" => true
        "feEditable" => true
        "feGroup" => "contact"
        "tl_class" => "w50"
        "mandatory" => true
      ]
      "sql" => "varchar(64) NOT NULL default ''"
      "save_callback" => array:1 [
        0 => Closure($varValue, $user)^ {#522
          class: "Contao\DcaLoader"
          this: Contao\DcaLoader {#514 …}
          file: "/usr/www/users/handsb/Contao_DEV_Neu/var/cache/prod/contao/dca/tl_member.php"
          line: "316 to 329"
        }
      ]
      "label" => & null
    ]
    "mobile" => array:7 [
      "exclude" => true
      "search" => true
      "inputType" => "text"
      "eval" => array:6 [
        "maxlength" => 64
        "rgxp" => "phone"
        "decodeEntities" => true
        "feEditable" => true
        "feGroup" => "contact"
        "tl_class" => "w50"
      ]
      "sql" => "varchar(64) NOT NULL default ''"
      "save_callback" => array:1 [
        0 => Closure($varValue, $user)^ {#521
          class: "Contao\DcaLoader"
          this: Contao\DcaLoader {#514 …}
          file: "/usr/www/users/handsb/Contao_DEV_Neu/var/cache/prod/contao/dca/tl_member.php"
          line: "302 to 315"
        }
      ]
      "label" => & null
    ]
    "fax" => array:6 [
      "exclude" => true
      "search" => true
      "inputType" => "text"
      "eval" => array:6 [
        "maxlength" => 64
        "rgxp" => "phone"
        "decodeEntities" => true
        "feEditable" => true
        "feGroup" => "contact"
        "tl_class" => "w50"
      ]
      "sql" => "varchar(64) NOT NULL default ''"
      "label" => & null
    ]
    "email" => array:6 [
      "exclude" => true
      "search" => true
      "inputType" => "text"
      "eval" => array:8 [
        "mandatory" => true
        "maxlength" => 255
        "rgxp" => "email"
        "unique" => true
        "decodeEntities" => true
        "feEditable" => true
        "feGroup" => "contact"
        "tl_class" => "w50"
      ]
      "sql" => "varchar(255) NOT NULL default ''"
      "label" => & null
    ]
    "website" => array:6 [
      "exclude" => true
      "search" => true
      "inputType" => "text"
      "eval" => array:5 [
        "rgxp" => "httpurl"
        "maxlength" => 255
        "feEditable" => true
        "feGroup" => "contact"
        "tl_class" => "w50"
      ]
      "sql" => "varchar(255) NOT NULL default ''"
      "label" => & null
    ]
    "language" => array:7 [
      "exclude" => true
      "filter" => false
      "inputType" => "select"
      "eval" => array:5 [
        "includeBlankOption" => true
        "chosen" => true
        "feEditable" => true
        "feGroup" => "personal"
        "tl_class" => "w50"
      ]
      "options_callback" => Closure()^ {#515
        class: "Contao\DcaLoader"
        file: "/usr/www/users/handsb/Contao_DEV_Neu/var/cache/prod/contao/dca/tl_member.php"
        line: "18 to 20"
      }
      "sql" => "varchar(64) NOT NULL default ''"
      "label" => & null
    ]
    "groups" => array:8 [
      "exclude" => true
      "filter" => true
      "inputType" => "checkboxWizard"
      "foreignKey" => "tl_member_group.name"
      "eval" => array:3 [
        "multiple" => true
        "feEditable" => true
        "feGroup" => "login"
      ]
      "sql" => "blob NULL"
      "relation" => array:2 [
        "type" => "belongsToMany"
        "load" => "lazy"
      ]
      "label" => & null
    ]
    "login" => array:6 [
      "exclude" => true
      "filter" => true
      "inputType" => "checkbox"
      "eval" => array:1 [
        "submitOnChange" => true
      ]
      "sql" => "char(1) NOT NULL default ''"
      "label" => & null
    ]
    "username" => array:8 [
      "exclude" => true
      "search" => true
      "sorting" => true
      "flag" => 1
      "inputType" => "text"
      "eval" => array:10 [
        "mandatory" => true
        "unique" => true
        "rgxp" => "extnd"
        "nospace" => true
        "maxlength" => 64
        "feEditable" => true
        "feGroup" => "login"
        "tl_class" => "w50"
        "autocapitalize" => "off"
        "autocomplete" => "username"
      ]
      "sql" => "varchar(64) BINARY NULL"
      "label" => & null
    ]
    "password" => array:6 [
      "label" => & null
      "exclude" => true
      "inputType" => "password"
      "eval" => array:6 [
        "mandatory" => true
        "preserveTags" => true
        "minlength" => 8
        "feEditable" => true
        "feGroup" => "login"
        "tl_class" => "w50"
      ]
      "save_callback" => array:1 [
        0 => array:2 [
          0 => "tl_member"
          1 => "setNewPassword"
        ]
      ]
      "sql" => "varchar(255) NOT NULL default ''"
    ]
    "assignDir" => array:5 [
      "exclude" => true
      "inputType" => "checkbox"
      "eval" => array:1 [
        "submitOnChange" => true
      ]
      "sql" => "char(1) NOT NULL default ''"
      "label" => & null
    ]
    "homeDir" => array:5 [
      "exclude" => true
      "inputType" => "fileTree"
      "eval" => array:2 [
        "fieldType" => "radio"
        "tl_class" => "clr"
      ]
      "sql" => "binary(16) NULL"
      "label" => & null
    ]
    "disable" => array:7 [
      "exclude" => true
      "toggle" => true
      "filter" => true
      "inputType" => "checkbox"
      "sql" => "char(1) NOT NULL default ''"
      "save_callback" => array:1 [
        0 => array:2 [
          0 => "Newsletter"
          1 => "onToggleVisibility"
        ]
      ]
      "label" => & null
    ]
    "start" => array:5 [
      "exclude" => true
      "inputType" => "text"
      "eval" => array:3 [
        "rgxp" => "datim"
        "datepicker" => true
        "tl_class" => "w50 wizard"
      ]
      "sql" => "varchar(10) NOT NULL default ''"
      "label" => & null
    ]
    "stop" => array:5 [
      "exclude" => true
      "inputType" => "text"
      "eval" => array:3 [
        "rgxp" => "datim"
        "datepicker" => true
        "tl_class" => "w50 wizard"
      ]
      "sql" => "varchar(10) NOT NULL default ''"
      "label" => & null
    ]
    "dateAdded" => array:6 [
      "label" => & null
      "default" => 1715587919
      "sorting" => true
      "flag" => 6
      "eval" => array:2 [
        "rgxp" => "datim"
        "doNotCopy" => true
      ]
      "sql" => "int(10) unsigned NOT NULL default 0"
    ]
    "lastLogin" => array:3 [
      "label" => & null
      "eval" => array:2 [
        "rgxp" => "datim"
        "doNotCopy" => true
      ]
      "sql" => "int(10) unsigned NOT NULL default 0"
    ]
    "currentLogin" => array:5 [
      "label" => & null
      "sorting" => true
      "flag" => 6
      "eval" => array:2 [
        "rgxp" => "datim"
        "doNotCopy" => true
      ]
      "sql" => "int(10) unsigned NOT NULL default 0"
    ]
    "loginAttempts" => array:3 [
      "eval" => array:1 [
        "doNotCopy" => true
      ]
      "sql" => "smallint(5) unsigned NOT NULL default 0"
      "label" => & null
    ]
    "locked" => array:3 [
      "eval" => array:2 [
        "rgxp" => "datim"
        "doNotCopy" => true
      ]
      "sql" => "int(10) unsigned NOT NULL default 0"
      "label" => & null
    ]
    "session" => array:3 [
      "eval" => array:2 [
        "doNotShow" => true
        "doNotCopy" => true
      ]
      "sql" => "blob NULL"
      "label" => & null
    ]
    "secret" => array:3 [
      "eval" => array:2 [
        "doNotShow" => true
        "doNotCopy" => true
      ]
      "sql" => "binary(128) NULL default NULL"
      "label" => & null
    ]
    "useTwoFactor" => array:3 [
      "eval" => array:3 [
        "isBoolean" => true
        "doNotCopy" => true
        "tl_class" => "w50 m12"
      ]
      "sql" => "char(1) NOT NULL default ''"
      "label" => & null
    ]
    "backupCodes" => array:3 [
      "eval" => array:2 [
        "doNotCopy" => true
        "doNotShow" => true
      ]
      "sql" => "text NULL"
      "label" => & null
    ]
    "trustedTokenVersion" => array:3 [
      "eval" => array:2 [
        "doNotCopy" => true
        "doNotShow" => true
      ]
      "sql" => "int(10) unsigned NOT NULL default 0"
      "label" => & null
    ]
    "avatar" => array:4 [
      "label" => & null
      "exclude" => true
      "inputType" => "avatar"
      "eval" => array:9 [
        "uploadPath" => "assets/avatars/members"
        "avatarSize" => array:2 [
          0 => "150"
          1 => "150"
        ]
        "thumbnailSize" => "a:2:{i:0;s:2:"75";i:1;s:2:"75";}"
        "extensions" => "jpg,jpeg,gif,png,pdf"
        "maxlength" => 105000000
        "feEditable" => true
        "feViewable" => true
        "feGroup" => "personal"
        "decodeEntities" => true
      ]
    ]
    "avatar_gravatar" => array:5 [
      "label" => & null
      "exclude" => true
      "inputType" => "checkbox"
      "eval" => array:3 [
        "feEditable" => true
        "feViewable" => true
        "feGroup" => "personal"
      ]
      "sql" => "char(1) NOT NULL default ''"
    ]
    "newsletter" => array:8 [
      "exclude" => true
      "inputType" => "checkbox"
      "foreignKey" => "tl_newsletter_channel.title"
      "options_callback" => array:2 [
        0 => "Newsletter"
        1 => "getNewsletters"
      ]
      "eval" => array:4 [
        "multiple" => true
        "feEditable" => true
        "feGroup" => "newsletter"
        "class" => "newsletter"
      ]
      "save_callback" => array:1 [
        0 => array:2 [
          0 => "Newsletter"
          1 => "synchronize"
        ]
      ]
      "sql" => "blob NULL"
      "label" => & null
    ]
    "regions" => array:5 [
      "label" => & null
      "inputType" => "select"
      "options_callback" => Closure($dc)^ {#520
        class: "Contao\DcaLoader"
        this: Contao\DcaLoader {#514 …}
        file: "/usr/www/users/handsb/Contao_DEV_Neu/var/cache/prod/contao/dca/tl_member.php"
        line: "257 to 272"
      }
      "eval" => array:2 [
        "multiple" => true
        "chosen" => true
      ]
      "sql" => "text NULL"
    ]
    "xt_country" => array:8 [
      "label" => & null
      "exclude" => true
      "filter" => true
      "search" => true
      "inputType" => "select"
      "options_callback" => array:2 [
        0 => "Hot\CountryModel"
        1 => "getRegisterCountriesOptions"
      ]
      "eval" => array:6 [
        "feEditable" => true
        "feViewable" => true
        "feGroup" => "personal"
        "tl_class" => "w50"
        "includeBlankOption" => true
        "mandatory" => false
      ]
      "sql" => "varchar(2) NOT NULL default ''"
    ]
    "xt_language" => array:7 [
      "label" => & null
      "exclude" => true
      "filter" => true
      "inputType" => "select"
      "options" => array:2 [
        "de" => & null
        "en" => & null
      ]
      "eval" => array:6 [
        "mandatory" => true
        "feEditable" => true
        "feViewable" => true
        "feGroup" => "personal"
        "tl_class" => "w50"
        "includeBlankOption" => true
      ]
      "sql" => "text NULL"
    ]
    "criminal_record" => array:5 [
      "label" => & null
      "filter" => true
      "inputType" => "text"
      "eval" => array:3 [
        "rgxp" => "date"
        "datepicker" => true
        "tl_class" => "clr w50 wizard"
      ]
      "sql" => "varchar(10) NOT NULL default ''"
    ]
    "xt_request_training" => array:7 [
      "label" => & null
      "exclude" => true
      "default" => ""
      "filter" => true
      "inputType" => "checkbox"
      "eval" => array:4 [
        "feEditable" => true
        "feViewable" => true
        "feGroup" => "personal"
        "tl_class" => "w50 m12"
      ]
      "sql" => "char(1) NOT NULL default ''"
    ]
    "xt_request_mindstorm" => array:7 [
      "label" => & null
      "exclude" => true
      "default" => ""
      "filter" => true
      "inputType" => "checkbox"
      "eval" => array:4 [
        "feEditable" => true
        "feViewable" => true
        "feGroup" => "personal"
        "tl_class" => "w50 m12"
      ]
      "sql" => "char(1) NOT NULL default ''"
    ]
    "group_select" => array:5 [
      "label" => & null
      "inputType" => "select"
      "eval" => array:6 [
        "feEditable" => true
        "feGroup" => "personal"
        "feViewable" => true
        "includeBlankOption" => true
        "mandatory" => true
        "class" => "group_select"
      ]
      "sql" => "int(10) unsigned NOT NULL default 0"
      "options_callback" => array:2 [
        0 => "App\EventListener\DataContainer\OptionsCallbackListener"
        1 => "groupSelectOptions"
      ]
    ]
    "available_languages" => array:5 [
      "label" => & null
      "inputType" => "select"
      "eval" => array:8 [
        "feEditable" => true
        "feGroup" => "personal"
        "feViewable" => true
        "includeBlankOption" => true
        "class" => "mentor chosen-select mentor-required"
        "tl_class" => "w50 clr"
        "multiple" => true
        "chosen" => true
      ]
      "sql" => "BLOB NULL"
      "options_callback" => array:2 [
        0 => "App\EventListener\DataContainer\OptionsCallbackListener"
        1 => "availableLanguageOptions"
      ]
    ]
    "possible_competitions" => array:7 [
      "label" => & null
      "inputType" => "select"
      "eval" => array:7 [
        "tl_class" => ""
        "class" => "mentor chosen-select"
        "feGroup" => "personal"
        "feEditable" => true
        "feViewable" => true
        "multiple" => true
        "chosen" => true
      ]
      "foreignKey" => "tl_hot_competitions.name"
      "relation" => array:4 [
        "type" => "belongsToMany"
        "load" => "eager"
        "table" => "tl_hot_competitions"
        "field" => "id"
      ]
      "sql" => "BLOB NULL"
      "options_callback" => array:2 [
        0 => "App\EventListener\DataContainer\OptionsCallbackListener"
        1 => "possibleCompetitionsOptions"
      ]
    ]
    "mentoring_format" => array:5 [
      "label" => & null
      "inputType" => "select"
      "eval" => array:7 [
        "tl_class" => "w50"
        "class" => "mentor chosen-select mentor-required"
        "feGroup" => "personal"
        "feEditable" => true
        "feViewable" => true
        "multiple" => true
        "chosen" => true
      ]
      "sql" => "varchar(64) NOT NULL default ''"
      "options_callback" => array:2 [
        0 => "App\EventListener\DataContainer\OptionsCallbackListener"
        1 => "mentoringFormatOptions"
      ]
    ]
    "institution" => array:4 [
      "label" => & null
      "inputType" => "text"
      "eval" => array:5 [
        "tl_class" => "w50"
        "class" => "mentor mentor-required"
        "feGroup" => "personal"
        "feEditable" => true
        "feViewable" => true
      ]
      "sql" => "varchar(255) NOT NULL default ''"
    ]
    "department" => array:5 [
      "label" => & null
      "inputType" => "select"
      "eval" => array:7 [
        "tl_class" => "w50"
        "class" => "mentor chosen-select mentor-required"
        "feGroup" => "personal"
        "feEditable" => true
        "feViewable" => true
        "multiple" => true
        "chosen" => true
      ]
      "sql" => "BLOB NULL"
      "options_callback" => array:2 [
        0 => "App\EventListener\DataContainer\OptionsCallbackListener"
        1 => "departmentOptions"
      ]
    ]
    "expertise" => array:4 [
      "label" => & null
      "inputType" => "textarea"
      "eval" => array:5 [
        "tl_class" => "w50"
        "class" => "mentor"
        "feEditable" => true
        "feGroup" => "personal"
        "feViewable" => true
      ]
      "sql" => "TEXT NULL"
    ]
    "experience" => array:4 [
      "label" => & null
      "inputType" => "textarea"
      "eval" => array:5 [
        "tl_class" => "w50"
        "class" => "mentor"
        "feEditable" => true
        "feGroup" => "personal"
        "feViewable" => true
      ]
      "sql" => "TEXT NULL"
    ]
    "available_time" => array:5 [
      "label" => & null
      "inputType" => "select"
      "eval" => array:6 [
        "tl_class" => "w50"
        "class" => "mentor"
        "feEditable" => true
        "feGroup" => "personal"
        "feViewable" => true
        "includeBlankOption" => true
      ]
      "sql" => "TEXT NULL"
      "options_callback" => array:2 [
        0 => "App\EventListener\DataContainer\OptionsCallbackListener"
        1 => "availableTimeOptions"
      ]
    ]
    "available" => array:5 [
      "label" => & null
      "inputType" => "checkbox"
      "eval" => array:5 [
        "tl_class" => "w50"
        "class" => "mentor"
        "feEditable" => true
        "feGroup" => "personal"
        "feViewable" => true
      ]
      "sql" => "char(1) NOT NULL default '1'"
      "options_callback" => array:2 [
        0 => "App\EventListener\DataContainer\OptionsCallbackListener"
        1 => "availableOptions"
      ]
    ]
    "available_for_fll_types" => array:5 [
      "label" => & null
      "inputType" => "checkbox"
      "eval" => array:6 [
        "tl_class" => "w50"
        "class" => "mentor"
        "multiple" => true
        "feEditable" => true
        "feGroup" => "personal"
        "feViewable" => true
      ]
      "sql" => "varchar(64) NOT NULL default ''"
      "options_callback" => array:2 [
        0 => "App\EventListener\DataContainer\OptionsCallbackListener"
        1 => "availableForFLLTypesOptions"
      ]
    ]
    "email_reminders" => array:5 [
      "label" => & null
      "inputType" => "checkbox"
      "eval" => array:6 [
        "tl_class" => "w50"
        "class" => "mentor"
        "multiple" => true
        "feEditable" => true
        "feGroup" => "personal"
        "feViewable" => true
      ]
      "sql" => "BLOB NULL"
      "options_callback" => array:2 [
        0 => "App\EventListener\DataContainer\OptionsCallbackListener"
        1 => "emailReminderOptions"
      ]
    ]
    "special_notes" => array:4 [
      "label" => & null
      "inputType" => "textarea"
      "eval" => array:5 [
        "tl_class" => "w50"
        "class" => "mentor"
        "feEditable" => true
        "feGroup" => "personal"
        "feViewable" => true
      ]
      "sql" => "TEXT NULL"
    ]
    "radius" => array:5 [
      "label" => & null
      "inputType" => "select"
      "options" => array:4 [
        20 => "+20 km"
        50 => "+50 km"
        100 => "+100 km"
        200 => "+200 km"
      ]
      "eval" => array:6 [
        "tl_class" => "w50"
        "class" => "mentor mentor-required"
        "feEditable" => true
        "feGroup" => "personal"
        "feViewable" => true
        "includeBlankOption" => true
      ]
      "sql" => "SMALLINT unsigned NOT NULL default 20"
    ]
    "clearance_certificate" => array:4 [
      "label" => & null
      "inputType" => "fineUploader"
      "eval" => array:9 [
        "tl_class" => "w50"
        "class" => "mentor"
        "feEditable" => true
        "feViewable" => true
        "feGroup" => "personal"
        "extensions" => "pdf,zip,png,jpg,jpeg"
        "doNotOverwrite" => true
        "uploaderLimit" => 2
        "maxlength" => 2048000
      ]
      "sql" => "blob NULL"
    ]
    "clearance_certificate_info" => array:4 [
      "label" => & null
      "inputType" => "checkbox"
      "eval" => array:4 [
        "tl_class" => "w50"
        "class" => "mentor mentor-required clearance_certificate_info"
        "feEditable" => true
        "feViewable" => true
      ]
      "sql" => "char(1) NULL"
    ]
    "coordinates" => array:5 [
      "label" => array:1 [
        0 => "Koordinaten"
      ]
      "inputType" => "text"
      "eval" => array:1 [
        "tl_class" => "w50"
      ]
      "save_callback" => array:1 [
        0 => Closure($varValue, $dc)^ {#523
          class: "Contao\DcaLoader"
          this: Contao\DcaLoader {#514 …}
          file: "/usr/www/users/handsb/Contao_DEV_Neu/var/cache/prod/contao/dca/tl_member.php"
          line: "388 to 395"
        }
      ]
      "sql" => "varchar(255) NULL"
    ]
    "gdpr_accepted" => array:4 [
      "label" => & null
      "inputType" => "checkbox"
      "eval" => array:4 [
        "feEditable" => true
        "mandatory" => true
        "class" => "gdpr"
        "feGroup" => "personal"
      ]
      "sql" => "char(1) NULL"
    ]
    "dolibarrId" => array:6 [
      "label" => & null
      "filter" => true
      "inputType" => "text"
      "eval" => array:1 [
        "tl_class" => "w50"
      ]
      "sql" => "int(10) unsigned NOT NULL default 0"
      "save_callback" => array:1 [
        0 => array:2 [
          0 => "App\EventListener\DataContainer\MemberSaveListener"
          1 => "saveDolibarrId"
        ]
      ]
    ]
    "regiopartner_infomail_send" => array:3 [
      "inputType" => "checkbox"
      "sql" => "char(1) NULL"
      "label" => & null
    ]
    "tags" => array:8 [
      "exclude" => true
      "inputType" => "cfgTags"
      "eval" => array:7 [
        "tagsManager" => "member_manager"
        "maxItems" => 5
        "hideList" => true
        "tl_class" => "clr"
        "tagsCreate" => true
        "tagsSource" => "tl_member.tags"
        "doNotSaveEmpty" => true
      ]
      "relation" => array:3 [
        "type" => "haste-ManyToMany"
        "load" => "lazy"
        "table" => "tl_cfg_tag"
      ]
      "save_callback" => array:2 [
        0 => array:2 [
          0 => "codefog_tags.listener.tag_manager"
          1 => "onFieldSaveCallback"
        ]
        1 => array:2 [
          0 => "Haste\Model\Relations"
          1 => "updateRelatedRecords"
        ]
      ]
      "options_callback" => array:2 [
        0 => "codefog_tags.listener.tag_manager"
        1 => "onOptionsCallback"
      ]
      "load_callback" => array:1 [
        0 => array:2 [
          0 => "Haste\Model\Relations"
          1 => "getRelatedRecords"
        ]
      ]
      "label" => & null
    ]
  ]
]

@fritzmg
Copy link
Sponsor Collaborator

fritzmg commented May 13, 2024

There is nothing special in my DCA adjustment:

Well you are using the fineUploader, that was the goal of the question ;). You can work around the issue by adjusting your DCA like this:

$GLOBALS['TL_DCA']['tl_member']['fields']['clearance_certificate'] = [
    'label' => &$GLOBALS['TL_LANG']['tl_member']['clearance_certificate'],
    'inputType' => "fineUploader",
    'eval' => [
        'tl_class' => 'w50',
        'class' => 'mentor',
        'feEditable' => true,
        'feViewable' => true,
        'feGroup' => "personal",
        'extensions' => 'pdf,zip,png,jpg,jpeg',
        'doNotOverwrite'    => true,
        'uploaderLimit'     => 2,
        'maxlength'         => 2048000,
        'storeFile' => true,
    ],
    'sql' => 'blob NULL'
];

@theDyingMountain
Copy link
Author

Ups sorry I didn't realise that... 🙈 Now it works, thank you

@fritzmg
Copy link
Sponsor Collaborator

fritzmg commented May 13, 2024

It's still a bug - what I mentioned is just a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants