I do have issues updating ACF Pro from 5.0.0 to 5.0.1 and 5.0.1 to 5.0.2
After using the update function provided by the WordPress backend it will throw an error and after that ACF 5 is broken. I have to update it via FTP and reactivate it manually.
Is it a known issue?
Got this problem with 4 websites I’ve already updated to ACF Pro 5.
Is it because I did not wrap the acf_add_options_page(); function in an if-function-exists-wrapper?
Hi @Alexander Albrecht
During a WP plugin upgrade, the plugin is deactivated and teh functions.php file is read.
You must make sure to wrap any ACF functions in conditional logic to prevent such errors from occurring.
If you wrap the functions in the functions exists wrapper, does it then work?
In the meantime I figured it out by myself. It is working as intended when I wrap it in an conditional logic. Thank you.