craft-plugin-redirect icon indicating copy to clipboard operation
craft-plugin-redirect copied to clipboard

Error when saving an edit to a redirect

Open henrypenny opened this issue 4 years ago • 5 comments

When editing an existing redirect I get an SQL error.

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'uid' cannot be null The SQL being executed was: UPDATE elements SET dateUpdated='2020-04-07 02:53:12', uid=NULL WHERE id=17387

It looks like the uid field is being updated with NULL.

I'm using: "version": "1.0.23"

henrypenny avatar Apr 07 '20 02:04 henrypenny

Same issue here. I can't save an existing redirect without an Internal Server Error and the same error in the logs about uid cannot be null.

jonlongnecker avatar Apr 23 '20 23:04 jonlongnecker

Checking back in here - I really need to update an existing redirect and can't. Is this add-on still being maintained?

jonlongnecker avatar May 01 '20 21:05 jonlongnecker

Same problem, hoping for a fix to come out soon!

hilbertknl avatar Jun 03 '20 09:06 hilbertknl

I created a pull request for this issue #113

hilbertknl avatar Jun 03 '20 12:06 hilbertknl

Yeah it's been two months with no reply so assuming this has been abandoned. I don't think it's even in the Craft Plugin store anymore. Unfortunately I just ended up buying Retour to get things working again.

jonlongnecker avatar Jun 03 '20 14:06 jonlongnecker