Problem/Motivation

TypeError Drupal\Core\TempStore\SharedTempStoreFactory::__construct(): Argument #4 ($current_user) must be of type Drupal\Core\Session\AccountProxyInterface, int given, called in core/lib/Drupal/Component/DependencyInjection/Container.php on line 261.

Steps to reproduce

$ drush php
> Drupal::getContainer()

Proposed resolution

The related issue changed the SharedTempStoreFactory constructor, with no BC layer.

So copy over the arguments.

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork ctools-3479903

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

geek-merlin created an issue. See original summary.

geek-merlin’s picture

Assigned: Unassigned » geek-merlin

geek-merlin’s picture

Assigned: geek-merlin » Unassigned
Status: Active » Needs review
norman.lol’s picture

Status: Needs review » Reviewed & tested by the community

Nice! You need 4.1.0 for this, but then it works.

joelpittet made their first commit to this issue’s fork.

joelpittet’s picture

Status: Reviewed & tested by the community » Fixed

Thanks, I wonder how you ran into this as I haven't. In any case I merged this into the dev branch.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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