Migration from 6.x to 8.x - error on after save step

Created on 30 March 2017, over 7 years ago
Updated 19 October 2024, about 2 months ago

Hi!

I tried to implement Flag migration from 6.x to 8.x

i used entity:flagging as destination plugin, and custom source plugin (based on DrupalSqlBase).

When i try to run "drush mi...", i get the error: Error: Call to a member function id() on null in /home/vagrant/test/docroot/modules/contrib/flag/src/FlagCountManager.php, line 160

I tried to debug the values - they looks fine before insertion to DB, but on "after save" step i get this error and it causes transaction rollback.

Maybe, anyone knows what is the cause of this bug? And how to solve it?

Thanks!

πŸ› Bug report
Status

Closed: cannot reproduce

Version

4.0

Component

Flag core

Created by

πŸ‡ΊπŸ‡¦Ukraine sun-fire

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024