Closed huubl closed 2 years ago
Hello,
Thanks for the feedback!
Yes, this warning will be fixed in the next patch. In the meantime you can apply the fix by yourself following this instruction:
In the file: /acf-extended-pro/includes/modules/dev.php line:735
Change the line:
if($field_group['ID']){
To:
if($field_group && $field_group['ID']){
Sorry for the inconvenience.
Regards.
Hi,
I get a warning using PHP 8:
https://github.com/acf-extended/ACF-Extended/blob/dc24837331734fd43da07d1d5a1fe1d9021c3586/includes/modules/dev.php#L735
Can be fixed by using:
if(isset($field_group['ID'])){
or something like
$field_group_id = $field_group['ID'] ?? '';
using null coalescing operator: