Warning: implode(): Invalid arguments with empty checkboxes
-
Hi,
I’m getting: Warning: implode(): Invalid arguments passed in /mysitepath.com/wp-content/plugins/contact-forms/accua-forms.php on lines 2783 and 2784
case ‘multiselect’:
case ‘multicheckbox’:
when no checkboxes are selected. I assume it’s because implode() is not being given an array when $value is empty. This workaround fixed it for me:
`if (empty($value)) {
$value = array();
}`
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Warning: implode(): Invalid arguments with empty checkboxes’ is closed to new replies.