-
-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to migrate OctoberCMS on Postgres database #234
Comments
A note to the error - it occurs whenever blog entries are listed. So it looks like a bug related to the RainLab.Blog plugin. Anyway, it occurs while accessing the |
Looks like a duplicate of wn-blog-plugin issue |
Hi @envas, You can confirm this issue is related by disabling the eager loading of featured images into the Posts component. This will be properly fixed soon. This line is causing the trouble: https://github.com/wintercms/wn-blog-plugin/blob/1eb285add38159365c522d7124c3719fe553c926/components/Posts.php#L205 |
Duplicate of wintercms/wn-blog-plugin#16. Will be fixed by #216 when it's merged. |
Description:
I performed the migration from OctoberCMS build 472 using
composer update
. On the development system with MySQL everything was ok. On the stage system with Posgres database the upgrade process was ok (no errors), however, I cannot open any page. The exception I get isLooking at the table the reason is: on the database the attribute
system_files.attachment_id
is of type varchar and this type cannot be directly compared to integer:returns on the plain Postgres database
Probably Winter issue because with October everything worked fine.
The text was updated successfully, but these errors were encountered: