-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
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
ACF Pro 5.2.9 (Fatal error) #5
Comments
I also get this error 😭, when I copy the Please help us. ❤️ |
Just commenting out line 367 works for me |
Could you please copy the code you commented? That doesn't work for me... |
i've extended the plugin a fair bit so my file won't match up but just search in acf-typography-v5.php for $field['value'] = acf_force_type_array($field['value']); and comment it out. It's working fine for me now with the latest version of ACF Pro Cheers |
I've commented out line 367, and get the following errors: Notice: Undefined index: font-family in /home/example/public_html/example/wp-content/plugins/acf-typography-master/acf-typography-v5.php on line 411 Notice: Undefined index: font-family in /home/example/public_html/example/wp-content/plugins/acf-typography-master/acf-typography-v5.php on line 423 Notice: Undefined index: font-weight in /home/example/public_html/example/wp-content/plugins/acf-typography-master/acf-typography-v5.php on line 432 Notice: Undefined index: font_size in /home/example/public_html/example/wp-content/plugins/acf-typography-master/acf-typography-v5.php on line 491 Notice: Undefined index: line_height in /home/example/public_html/example/wp-content/plugins/acf-typography-master/acf-typography-v5.php on line 505 Notice: Undefined index: text-color in /home/example/public_html/example/wp-content/plugins/acf-typography-master/acf-typography-v5.php on line 533 Notice: Array to string conversion in /home/example/public_html/example/wp-content/plugins/acf-typography-master/acf-typography-v5.php on line 582 Notice: Array to string conversion in /home/example/public_html/example/wp-content/plugins/acf-typography-master/acf-typography-v5.php on line 582 It's Wordpress version 4.3 & ACF version 5.3.0 |
Same here in newest version.. |
This function was deprecated and removed from ACF, but I found the original code. Copying this function inside the main acf-typography-v5.php where the function call can get to it works best.
|
Hey, I get an error in ACF Pro 5.2.9:
Fatal error: Call to undefined function acf_force_type_array() in /home/xxxx/public_html/xxxx/wp-content/plugins/acf-typography-master/acf-typography-v5.php on line 367
The error appears while loading the field in the option page (not the edit option/group page).
It did work in ACF Pro 5.2.2, didn't test it in 5.2.3, 5.2.4, 5.2.6, 5.2.7 and 5.2.8
The text was updated successfully, but these errors were encountered: