Expects string
-
Hei Till,
in some case, the given variable to function “eae_encode_emails” is not a string. In my case it is an array. Which causes the following warning:
strpos() expects parameter 1 to be string, array given in …/email-address-encoder/email-address-encoder.php on line 61I fixed it roughly with an if(is_string($string)) construct. But it will be overwritten with your next update.
To reproduce the bug: I’ve installed the ACF plugin and added a select field with multiple selection to my custom field.
Thanks for your effort!
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Expects string’ is closed to new replies.