Call hasLinkTemplate function on entity string

Created on 7 March 2021, over 3 years ago
Updated 13 March 2024, 3 months ago

Problem/Motivation

Error: Call to a member function hasLinkTemplate() on string in Drupal\responsive_preview\ResponsivePreview->getUrl() (line 92 of /var/www/mhi/docroot/modules/contrib/responsive_preview/src/ResponsivePreview.php)
#0 /var/www/mhi/docroot/modules/contrib/responsive_preview/responsive_preview.module(42): Drupal\responsive_preview\ResponsivePreview->getUrl()
#1 [internal function]: responsive_preview_toolbar()
#2 /var/www/mhi/docroot/core/lib/Drupal/Core/Extension/ModuleHandler.php(403): call_user_func_array('responsive_prev...', Array)
#3 /var/www/mhi/docroot/core/modules/toolbar/src/Element/Toolbar.php(81): Drupal\Core\Extension\ModuleHandler->invokeAll('toolbar')
#4 [internal function]: Drupal\toolbar\Element\Toolbar::preRenderToolbar(Array)

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

🇨🇳China Oscaner

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024