warning when I use formatter in a field and try to save formatter again

Created on 24 December 2015, almost 9 years ago
Updated 26 November 2023, 12 months ago

Warning: implode(): Invalid arguments passed in custom_formatters_engine_php_settings_form_submit() (line 66 of /var/www/html/sites/all/modules/custom_formatters/engines/php.inc).

error inside function below : when I use formatter function( form_state['values']['field_types'] ) no contain the array(only one text value)

function custom_formatters_engine_php_settings_form_submit($form, &$form_state) {

$form_state['values']['field_types'] = implode(', ', $form_state['values']['field_types']);

}

To reproduse issue I use text field

πŸ› Bug report
Status

RTBC

Version

2.4

Component

Engine: PHP

Created by

πŸ‡·πŸ‡ΊRussia transformator

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024