Hi
I tried to update to acorn 2.0.1 (was on 2.0.0 before). Acorn is loaded in Bedrock.
when I update, I get this error on one page:
htmlspecialchars(): Argument #1 ($string) must be of type string
It was working fine with v2.0.0, but not anymore.
Here is the line that triggers the error: <a href="<?php echo e(get_term_link($show)); ?>"
And in the blade template:
Hi there, I’m trying to reproduce this with Acorn v2.0.1 and I’m not able to.
It seems like whatever is populating your $show variable is causing this, but you haven’t provided the details for us to understand the value of that is.
If you can provide more info we can try to take a deeper look.
I had the same after updating to 2.0.1 and deploying. I’m using acf-composer for adding fields and poet for registering my post types. Both we’re missing
Yeah I can’t get it working either…
I don’t think the acf-composer or poet vendors get published correctly in Acorn version 2.0.1?
When I try to run this command with Acorn 2.0.1:
wp @staging acorn vendor:publish
I don’t see the providers listed?
[0] Publish files from all providers and tags listed below
[1] Provider: Roots\Acorn\Providers\AcornServiceProvider
[2] Tag: acorn
When I run it with Acorn 2.0.0, they do show up:
[0] Publish files from all providers and tags listed below
[1] Provider: Log1x\AcfComposer\Providers\AcfComposerServiceProvider
[2] Provider: Log1x\Poet\PoetServiceProvider
[3] Provider: Roots\Acorn\Providers\AcornServiceProvider
[4] Tag: acorn
[5] Tag: config
I don’t know what is causing this in the 2.0.1 version, but I also noticed warnings about psr-4 autoloading of some of my files in the theme app folder.