* I tried to sync some contents between 2 sites. e.g. www.site.com/import, but it fails and says "user 2 is not a valid user".
* I don't have user 2 in any of the site.
* Following is the error log after import.

stdClass::__set_state(array(
   'type' => NULL,
   'changed' => 1360043098,
   'created' => 1360043098,
   'language' => 'und',
   'is_new' => true,
   'status' => 1,
   'uid' => '2',
   'revision' => false,
   'menu' => stdClass::__set_state(array(
   'type' => NULL,
   'changed' => 1360043098,
   'created' => 1360043098,
   'language' => 'und',
   'is_new' => true,
   'status' => 1,
   'uid' => '2',
   'revision' => false,
   'menu' => ...

Comments

alexborsody’s picture

Issue summary: View changes

This user was likely deleted in your database, but still exists. Try creating the user again manually in your database then deleting via the admin panel.

megachriz’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

dev286’s picture

I got this error (user id 5) when used the default Feeds for RSS (overwritten). I only had user 1 (no deleted users).

FIX: I think I got this error because there was no URL in the URL field. Now it works.

vbonasa’s picture

I got same error (user id 51 in this case), I had configured "Node processor" as processor and the field "Autor" under "Settings for Node processor" as "anonymous". I set this field to user "admin" and it works.