Open robertopib opened 2 years ago
@robertopib I've not yet been able to replicate this.
Please could you let me know which type of ACF field(s) you're using?
@KittenCodes I just received this error aswell after making a group field.
Oxygen 3.9 Advanced Custom Fields 5.12.2 CPT UI 1.12.0
I have the same problem on Oxygen 3.9 with a 2GB log in less than 24 hours. Please fix this.
PHP Warning: Trying to access array offset on value of type bool in /path/to/wp-content/plugins/oxygen/component-framework/includes/acf/oxygen-acf-integration.php on line 676
Is anyone able to reproduce this on our Sandbox site?
This only happens if you have an ACF integration, and in my case the ACF File Field is empty (no file attached). I can reproduce it. But as it's more than a year old I assume nobody will have a look at it - even if clean code should not produce PHP warnings.
So all needed to solve this is to add an additional check if there is a value. Is there no Github Repo where we can add Pull Requests?
Before:
} else {
After
} else if($field['value']) {
Thanks @aadlung - replicated and reported internally via https://github.com/soflyy/oxygen/issues/5127.
Is there no Github Repo where we can add Pull Requests?
No, there is no repo available for pull requests at this time.
Oxygen 4.0 Beta 1 & 2 Custom Post Type UI Version 1.11.2 Advanced Custom Fields PRO Version 5.11.4
Trying to display dynamic data from ACF on a repeater, it gets displayed in the builder editor but on the front end the following Notice message gets displayed:
Steps to reproduce the behavior: