You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 5, 2018. It is now read-only.
The problem is that the link field contains objects like the Craft\ElementCriteriaModel object that are getting passed to the filterEmptyStringsFromArray method.
I think these should already be filtered out before passing it to the ArrayHelper class.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When creating an export of content with a link field an error is thrown.
`
/vagrant/craft/app/helpers/ArrayHelper.php(236)
224 // Private Methods
225 // =========================================================================
226
227 /**
228 * The array_filter() callback function for filterEmptyStringsFromArray().
229 *
230 * @param string $val
231 *
232 * @return bool
233 */
234 private static function _isNotAnEmptyString($val)
235 {
236 return (mb_strlen($val) != 0);
237 }
238 }`
The problem is that the link field contains objects like the Craft\ElementCriteriaModel object that are getting passed to the filterEmptyStringsFromArray method.
I think these should already be filtered out before passing it to the ArrayHelper class.
The text was updated successfully, but these errors were encountered: