getgrav / grav-premium-issues

Official Grav Premium Issues repository to report problems or ask questions regarding the Premium products offered.
https://getgrav.org/premium
7 stars 2 forks source link

[warm-cache] ERROR thrown: Sitemap URL extension is invalid. It should end in .json, your URL ended in . #119

Closed MattAppleton closed 3 years ago

MattAppleton commented 3 years ago

I am running Grav v1.7.17 - Admin v1.10.17, trying to install the very-useful Warm-cache plugin on a test site:

  1. Install license manager + relevant license, then install warm-cache + sitemap dependency plugins.

  2. When I try warming the cache I get this red error message in the admin panel

Sitemap URL extension is invalid. It should end in .json, your URL ended in .

The cache DOESN'T get warmed... And no idea what this message means! Surely the sitemap is an XML file?

As far as I can tell I have pretty standard setup for Warm-cache and Sitemap...

Screenshot-Zeolite-2021-06-28-1 Screenshot-Zeolite-2021-06-28

MattAppleton commented 3 years ago

Possibly related to https://github.com/getgrav/grav-premium-issues/issues/102#issue-896777627? I did try adding the feed plugin but that didn't help either...

rhukster commented 3 years ago

Is this warm-cache v1.1.1?

MattAppleton commented 3 years ago

nope, w-c plugin is v1.1.0

MattAppleton commented 3 years ago

how do I install the latest? Admin wont permit...

rhukster commented 3 years ago

OK, this is odd, 1.1.1 was released, shows as released in github, but not in GPM.. investigating.

MattAppleton commented 3 years ago

thanks — I see it in the changelog, but unable to prompt an update via Admin / License Manager

rhukster commented 3 years ago

OK, not sure what happened with 1.1.1, it looked OK to me, but wasn't getting updated in GPM. I've released 1.1.2. and that is now showing in GPM. That should address your issue.

Cheers,

MattAppleton commented 3 years ago

hmmm... updated, still getting my red message... I cleared the cache prior to hitting 'warm cache' — anything else I should be doing?

rhukster commented 3 years ago

Yah see the issue.. i had only tested with the CLI, and didn't realize I had a bug in the Ajax version.

1.1.3 should be sorted, rebuilding GPM now.