sage-directives
sage-directives copied to clipboard
Uninitialized string offset
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]; ?>
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.
Fixed in #82