PHP Fatal error: Declaration of Drupal\trash\Plugin\Menu\DeleteTab::getTitle() must be compatible with Drupal\Core\Menu\LocalTaskDefault::getTitle(?Symfony\Component\HttpFoundation\Request $request = NULL) in /mnt/www/html/naswadev/docroot/modules/contrib/trash/src/Plugin/Menu/DeleteTab.php on line 11

CommentFileSizeAuthor
#2 trash_issue_get_title.patch943 bytesanacona16

Comments

brooke_heaton created an issue. See original summary.

anacona16’s picture

StatusFileSize
new943 bytes

This patch solves the problem for Drupal >= 8.6.10 not tested with previous versions.

mattlt’s picture

Status: Active » Needs review

I received this error when I updated to PHP 7.3 .

Patch fixed the fatal error.

Thanks,

•• matt

tamerzg’s picture

Status: Needs review » Reviewed & tested by the community

Patch works fine.

amateescu’s picture

Status: Reviewed & tested by the community » Closed (outdated)

The 8.x-1.x and 8.x-2.x branches of this module are not supported anymore.