Info field not working with the focus plugin

Hello,

I face a little bug here, Info fields are not working for me with the focus plugin.

I tested it inside different pages like this :

fields:
  test:
    label: Test field info
    type: info
    text: test

I get these each time :

And it gets back to normal as soon as I remove the focus folder from plugins folder :

Any idea why ?

What version of Kirby and the plugin are you using?

Do you use the test info field and a file or a page blueprint?

Does this error pop up without the focus field even used in the blueprint?

1 Like

I’m on Kirby 3.0.1-rc.1 and downloaded the plugin for Kirby 3 this afternoon.

The test info field and all info fields doesn’t work in both file ( I just tested it ) and page blueprints.

This Error pop even without the focus field used.
And for info this field is for sure inside a file blueprint : site/blueprint/files/image.yml

Hm, I just tested with 3.0.2-rc1 and the plugin without any problems.
3.0.1-rc.1 is not up to date, anyway.

Edit: With the final 3.0.1 I don’t have any problems, either.

First, Thank you for testing, I upgraded Kirby and clicked on the github watch button for further releases, but the bug is still here.

Even with a fresh Starterkit?

Yes, I just tried that :

  • Download a Starterkit
  • Install the focus plugin
  • Create the test info field inside site.yml

And I got the error, I went for parameters and saw that the version was 3.01 so I ugraded the Kirby core to have the latest 3.0.2-rc.1.

And the error persist.

I’m on my local server, I’m uploading this modify Starterkit online for testing.

Is it possible that we are not using the same version of the plugin ?

I downloaded the latest version as zip file, no composer stuff involved

I did the same.

And for the online test, I got the same error message but not in info field :

( With kirby 3 is it not possible to go online without a licence ? )

Anyway that gives me an idea to test, on my local server I added an info field and here is the result :
51

So it’s not that info fields are not working it’s that the error message use the first one to be displayed ?

Bug solved. I re-dowloaded the plugin and it works.
Why ? I don’t know, clicked on the same link and compare folders they do the same size.

@texnixe, thank you for your time

If you run into any problems with the focus plugin again, just ping me.

1 Like