acf-smart-button
acf-smart-button copied to clipboard
Illegal Offset Warning
Getting an illegal offset warning coming from line 135-139 on acf-smart-button-v5.php
/* overwrite fields with empty values to avoid warning */
$field['value']['text'] = isset($field['value']['text']) ? $field['value']['text'] : null;
$field['value']['link'] = isset($field['value']['link']) ? $field['value']['link'] : null;
$field['value']['post_id'] = isset($field['value']['post_id']) ? $field['value']['post_id'] : null;
$field['value']['use_external'] = isset($field['value']['use_external']) ? $field['value']['use_external'] : null;
shouldn't impact functionality.. please open a PR if you find time to solve it before me :)..
@justiny I'm unable to reproduce this. Can you provide the steps to replicate please, including WP, ACF and ACF Smart Button versions? The full stack trace is always helpful too :)