Problem/Motivation

TranslatableConfigPagesEntityController causes a fatal PHP:

Fatal error: Declaration of Drupal\translatable_config_pages\Entity\Controller\TranslatableConfigPagesEntityController::addPage($entity_type_id) must be compatible with Drupal\Core\Entity\Controller\EntityController::addPage($entity_type_id, ?Symfony\Component\HttpFoundation\Request $request = null) in /docroot/modules/contrib/translatable_config_pages/src/Entity/Controller/TranslatableConfigPagesEntityController.php on line 18

Proposed resolution

Add the $request param to the addPage method.

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

danielwirz created an issue. See original summary.

  • danielwirz committed a28d352e on 1.0.x
    fix: #3566958 - Add $request param to addPage method
luigisa’s picture

Assigned: Unassigned » luigisa
Status: Active » Fixed

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.