sage-directives icon indicating copy to clipboard operation
sage-directives copied to clipboard

Uninitialized string offset

Open conversioaps opened this issue 4 years ago • 1 comments

When i pass try to pass a post ID into the @field, like @field('text', 1)

I get this error "Uninitialized string offset".

It look like it try to render <?= get_field('text')[1]; ?>

conversioaps avatar Mar 10 '21 14:03 conversioaps

I think it's because my code editor does not recognize the format of the parameters correctly. How do I fix it? I use PhpStorm.

Skærmbillede 2021-03-20 kl  09 42 33

conversioaps avatar Mar 20 '21 08:03 conversioaps

Fixed in #82

Log1x avatar Jul 29 '23 14:07 Log1x