-
Notifications
You must be signed in to change notification settings - Fork 34
New or Edit redirect // "SQL uid cannot be NULL" #99
Comments
|
Hi @xwz, This is very interesting. I'm sorry, but I have no idea what it means or what I should do with it though. Is it the script to resolve the issue or should I wait for a push into a plugin update? I am not a web developer, I am only admin of the Craft site itself. It is something which I have inherited from a predecessor. Thank you for your time. |
Those are the code changes required. Best wait for the a new build that incorporate a fix. |
Thank you Wei. Fantastic. |
This is still happening, any chance of the fix being deployed soon as apparently the code changes are already available at source? |
When I try using Composer it keeps reverting back to version 1.0.23 and not seeing any package version 1.0.24. |
Honestly, we got tired of waiting for a new build and switched to Retour. https://plugins.craftcms.com/retour which is working for us. |
We switched too. It's great this is free, but it's clearly not actively maintained, and it's currently pretty much broken - along with their Sitemap and SEO plugins too. |
When editing a site redirect.
Site redirects > Change Destination URL > Save
The Stack Trace shows the error:
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'uid' cannot be null
The SQL being executed was: UPDATE
elements
SETenabled
=1,archived
=0,dateUpdated
='2019-07-26 10:15:49',uid
=NULL WHEREid
=6615Craft
Image driver & version | Imagick 3.4.3RC2 (ImageMagick 6.9.7-4)
Craft Pro 3.2.7
Yii version 2.0.21
Twig version 2.11.3
Guzzle version 6.3.3
Imagine version 1.2.3-dev
Plugins:
Cookies version 1.1.11
Freeform version 3.2.3
Redactor version 2.3.3.2
Redirect plugin for Craft 3 version 1.0.23
The text was updated successfully, but these errors were encountered: