Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Illegal Offset Warning #26

Open
justiny opened this issue Oct 29, 2018 · 2 comments
Open

Illegal Offset Warning #26

justiny opened this issue Oct 29, 2018 · 2 comments
Labels

Comments

@justiny
Copy link

justiny commented Oct 29, 2018

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;
@gillesgoetsch
Copy link
Owner

shouldn't impact functionality.. please open a PR if you find time to solve it before me :)..

@jameelmoses
Copy link
Contributor

jameelmoses commented Aug 20, 2019

@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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants