Closed ankeknicker closed 3 years ago
Hi @ankeknicker,
I just released a new version of the plugin that also improves the upgrade mechanism. Maybe this fixes your issue already.
Otherwise it would be great if you could post (or send me privately, nico@getkirby.com) a copy of your site/config/redirects.yml
for debugging.
Hi @distantnative unfortunally the new release didn't fixed the problem.
This is my redirects.yml:
routes:
-
from: leistungen/(:all)
to: /themen/$1
status: 308
priority: null
comment: null
-
from: team
to: /ueber/team
status: 301
priority: false
comment: null
-
from: jobs
to: /karriere
status: 301
priority: false
comment: null
-
from: jobs/(:all)
to: /karriere/$1
status: 301
priority: false
comment: null
-
from: en
to: /
status: 307
priority: false
comment: null
-
from: en/(:all)
to: /$1
status: 307
priority: false
comment: null
schema: 3.0.0
I receive the same error, even with a clean install of Retour on Kirby 3.5.1. Would love to know how to fix.
I'll try to investigate further on Wednesday
I'm having a hard time to reproduce this
Any specific config setting you are using?
this is my configuration. I think, thats a standard one:
'logs' => true,
'ignore' => [],
'deleteAfter' => 6,
'config' => 'content/_drafts/redirects.yml'
],
I'm also seeing this, not locally, but on a test server with no config settings at all. I removed the redirects.yml which had one redirect in it, and the plugin rebuilt that file, and the "Cannot read property 'date' of undefined" error remains.
Edit: would it have something to do with the system clock? the error for me happened on this line...
// site/plugins/retour-for-kirby/index.js
...
var B = {
computed: {
....
max() {
return this.$library.dayjs(this.data[this.data.length - 1].date)
},
....
✅ in 4.0.0-beta.1
Hi,
we are getting the problem, that the Redirects page at panel fails loading after updating to version 3.0.0. The redirects are already working, but I get the following messages at the kirby panel (only on production or review environment, at localhost it works):
After turning debug mode to on, the browser console prints out the following: