When I upgraded to core 8.7.0, everything seems to work including update-db. However, attempting a site-install afterwards from sync config generates the following error:


$ drush site-install -y
You are about to DROP all tables in your 'sitetest' database. Do you want to continue? (y/n): y
Starting Drupal installation. This takes a while. Consider using the --notify global option. [ok]
Error: Unsupported operand types in /var/www/vhost/sitetest/app/modules/contrib/multiversion/src/Entity/Storage/ContentEntityStorageTrait.php on line 533 #0 /var/www/vhost/sitetest/app/core/lib/Drupal/Core/Entity/EntityStorageBase.php(302): Drupal\multiversion\Entity\Storage\Sql\NodeStorage->setStaticCache(Array)

Adding a patch supplied by @amateescu that fixes the issue.

Comments

badjava created an issue. See original summary.

  • amateescu committed d198c59 on 8.x-1.x
    Issue #3052927 by badjava, amateescu: Unsupported operand types with...
amateescu’s picture

Status: Active » Fixed

Committed and pushed to 8.x-1.x. Thanks for opening the issue :)

  • jeqq committed 9860a17 on 8.x-1.x
    Revert "Issue #3052927 by badjava, amateescu: Unsupported operand types...
jeqq’s picture

Status: Fixed » Needs work

This should also be compatible with older core versions.

amateescu’s picture

Status: Needs work » Needs review
StatusFileSize
new2.3 KB

This should work with older core versions as well.

amateescu’s picture

Status: Needs review » Fixed

Committed to 8.x-1.x.

  • amateescu committed 14de639 on 8.x-1.x
    Issue #3052927 by badjava, amateescu, jeqq: Unsupported operand types...
amateescu’s picture

Status: Fixed » Closed (fixed)

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