ethercreative / seo

SEO utilities including a unique field type, sitemap & redirect manager
MIT License
273 stars 96 forks source link

"You'll need a volume with public URLs..." when all volumes have public url's #366

Open Iskariot opened 3 years ago

Iskariot commented 3 years ago

Description

In the SEO settings tab of a multisite setup we get the following error under Default social image: "You'll need a volume with public URLs before you can select a social image!" even though we have multiple volumes with a public url.

Settings tab Error:

Screenshot 2021-07-14 at 14 17 41

volumes db table

Screenshot 2021-07-14 at 14 24 17

Furthermore, the whole SEO admin menu seems rendered improperly, and when I dive into the vendor folders and set $context[’volumes'] manually just before the error is thrown i can select the default social image, but the faulty rendering remains. Which makes me suspect something is going wrong higher up.

Any ideas what could be causing this? This is our first multi site setup, maybe we missed something here but there is very little to go on. Feel free to ask for more info. Any help is much appreciated!

Steps to reproduce

  1. install ether/seo
  2. Go to settings

Additional info

alexjcollins commented 3 years ago

Do you have any console errors? Just looking at your top screenshot I can see the + Token text should look completely different.

Iskariot commented 3 years ago

Nothing except something related to Federated Cohorts of Learning:

Screenshot 2021-07-14 at 14 47 03

Same goes for craft logs and server logs, i did not find any meaningful feedback whatsoever. Nor does it happen on any of our other projects. Seems like whatever is going wrong is not picked up by the error handling.

alexjcollins commented 3 years ago

Have you tried deleting your vendor folder and rerunning install?

Will have a dig around this side.

Iskariot commented 3 years ago

Have you tried deleting your vendor folder and rerunning install?

Just did, to no avail. The issue also persists over multiple local installs and on the client's preview server and in a combination of different versions of Craft & ether/seo. Which again makes me suspect a faulty config value or a mistake made during setup.