Could we help you? Please click the banners. We are young and desperately need the money
After trying to export selected ACFs you're getting redirected to our themeoptions page which is empty after the export. This is because we are using metaboxes for our themeoptions. Our custom metaboxes are getting included in the functions.php.
If you need to export the ACF-fields anyway there is only a small workaround needed. In the functions.php file, outcomment the include of themeoptions.php. Upload the changes and you are going to see, that the themeoptions aren't available anymore in the WordPress-Backend. Now you are able to download your new custom ACF without any issues. After downloading the ACF make sure to revert the comment you've created in the functions.php. The themeoptions are now available and usable.
/* include("themeoptions.php"); */ --> It looks like this if it is commented out correctly.
To prevent this error from happening, we need to remove the old themeoptions.php completely because the code is outdated and uses metaboxes. We found out that the metaboxes are interfering our custom ACFs. The themeoptions.php, needs to be implemented with ACF.