We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When a clone flexible content field is used, the format_value function is called causing an issue due to $value being an array versus a string.
format_value
$value
php_1 | NOTICE: PHP message: PHP Fatal error: Uncaught TypeError: strpos(): Argument #1 ($haystack) must be of type string, array given in /var/www/html/wp-includes/shortcodes.php:209 php_1 | Stack trace: php_1 | #0 /var/www/html/wp-includes/shortcodes.php(209): strpos(Array, '[') php_1 | #1 /var/www/html/wp-includes/class-wp-embed.php(71): do_shortcode(Array, true) php_1 | #2 /var/www/html/wp-includes/class-wp-hook.php(303): WP_Embed->run_shortcode(Array) php_1 | #3 /var/www/html/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array) php_1 | #4 /var/www/html/wp-content/plugins/advanced-custom-fields-pro/includes/fields/class-acf-field-wysiwyg.php(433): apply_filters('acf_the_content', Array)
The text was updated successfully, but these errors were encountered:
Check if value is string before applying filter, fixes AdvancedCustom…
404043c
…Fields#564
No branches or pull requests
When a clone flexible content field is used, the
format_value
function is called causing an issue due to$value
being an array versus a string.The text was updated successfully, but these errors were encountered: