You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Strill seeing an issue where the type string is referenced.
in /var/www/craft/vendor/presseddigital/linkit/src/base/ElementLink.phpat line 71
62636465666768697071727374757677787980 if (!is_null($this->customSelectionLabel) && $this->customSelectionLabel != '') {
return $this->customSelectionLabel;
}
return $this->defaultSelectionLabel();
}
public function getUrl(): string
{
$element = $this->getElement();
return $element ? $element->getUrl() : '';
}
public function getText(): string
{
return $this->getCustomOrDefaultText() ?? ($this->getElement() ? $this->getElement()->title : null) ?? $this->getUrl() ?? '';
}
public function getElement()
{
in /var/www/craft/vendor/yiisoft/yii2/base/Component.php at line 139– presseddigital\linkit\base\ElementLink::getUrl()
in /var/www/craft/vendor/craftcms/cms/src/helpers/Template.php at line 90– yii\base\Component::__get('url')
84858687888990919293949596
if (
$type !== TwigTemplate::METHOD_CALL &&
$object instanceof BaseObject &&
$object->canGetProperty($item)
) {
return $isDefinedTest ? true : $object->$item;
}
// Convert any \Twig\Markup arguments back to strings (unless the class *extends* \Twig\Markup)
foreach ($arguments as $key => $value) {
if (is_object($value) && get_class($value) === Markup::class) {
$arguments[$key] = (string)$value;
The text was updated successfully, but these errors were encountered:
Getting the following errors for Linkit.
Strill seeing an issue where the type string is referenced.
in /var/www/craft/vendor/presseddigital/linkit/src/base/ElementLink.phpat line 71
62636465666768697071727374757677787980 if (!is_null($this->customSelectionLabel) && $this->customSelectionLabel != '') {
return $this->customSelectionLabel;
}
return $this->defaultSelectionLabel();
}
in /var/www/craft/vendor/yiisoft/yii2/base/Component.php at line 139– presseddigital\linkit\base\ElementLink::getUrl()
in /var/www/craft/vendor/craftcms/cms/src/helpers/Template.php at line 90– yii\base\Component::__get('url')
84858687888990919293949596
if (
$type !== TwigTemplate::METHOD_CALL &&
$object instanceof BaseObject &&
$object->canGetProperty($item)
) {
return $isDefinedTest ? true : $object->$item;
}
The text was updated successfully, but these errors were encountered: