Profile errors - Cannot assign string to property UserProfile::$profile of type array

Version 2026.7

can someone help me with this?

A normal token should contains s:7:"profile";a:n:{...} (i.e. the profile is an array), but you have s:7:"profile";s:312:... (i.e. the profile is a string). The token is invalid. According to your other topics, it might be due to old token created from previous version, or token created by another app, or other reasons. Anyway, you should:

  • Delete all files from your project folder
  • Generate all files again
  • Delete all cookies from your browser (to remove sessions and old tokens)

Then try again.

If you run multiple projects with different versions under http://localhost, make sure you use different project name so that the session will not be mixed.