- 🇮🇳India Bushra Shaikh
I applied patch #3, got error:
------ --------------------------------------------------------------------- Line modules\audio_embed_media\audio_embed_media.install ------ --------------------------------------------------------------------- 15 Function media_entity_copy_icons not found. � Learn more at https://phpstan.org/user-guide/discovering-symbols ------ --------------------------------------------------------------------- ------ --------------------------------------------------------------------- Line modules\audio_embed_media\audio_embed_media.module ------ --------------------------------------------------------------------- 14 Parameter $media_bundle of function audio_embed_media_media_bundle_insert() has invalid type Drupal\media_entity\Entity\MediaBundle. 15 Access to property $type on an unknown class Drupal\media_entity\Entity\MediaBundle. � Learn more at https://phpstan.org/user-guide/discovering-symbols 15 Call to method getTypeConfiguration() on an unknown class Drupal\media_entity\Entity\MediaBundle. � Learn more at https://phpstan.org/user-guide/discovering-symbols 15 Call to method isSyncing() on an unknown class Drupal\media_entity\Entity\MediaBundle. � Learn more at https://phpstan.org/user-guide/discovering-symbols 16 Call to method id() on an unknown class Drupal\media_entity\Entity\MediaBundle. � Learn more at https://phpstan.org/user-guide/discovering-symbols ------ --------------------------------------------------------------------- ------ ---------------------------------------------------------------------------------------- Line modules\audio_embed_media\src\Plugin\MediaEntity\Type\AudioEmbedField.php ------ ---------------------------------------------------------------------------------------- 26 Class Drupal\audio_embed_media\Plugin\MediaEntity\Type\AudioEmbedField extends unknown class Drupal\media_entity\MediaTypeBase. � Learn more at https://phpstan.org/user-guide/discovering-symbols 53 Drupal\audio_embed_media\Plugin\MediaEntity\Type\AudioEmbedField::__construct() calls parent::__construct() but Drupal\audio_embed_media\Plugin\MediaEntity\Type\AudioEmbedField does not extend any class. 77 Parameter $media of method Drupal\audio_embed_media\Plugin\MediaEntity\Type\AudioEmbedField::thumbnail() has invalid type Drupal\media_entity\MediaInterface. 94 Access to an undefined property Drupal\audio_embed_media\Plugin\MediaEntity\Type\AudioEmbedField::$entityFieldManager. � Learn more: https://phpstan.org/blog/solving-phpstan-access-to-undefined-property 94 Call to an undefined method Drupal\Core\Form\FormInterface::getEntity(). 118 Parameter $media of method Drupal\audio_embed_media\Plugin\MediaEntity\Type\AudioEmbedField::getField() has invalid type Drupal\media_entity\MediaInterface. 154 Parameter $media of method Drupal\audio_embed_media\Plugin\MediaEntity\Type\AudioEmbedField::getDefaultName() has invalid type Drupal\media_entity\MediaInterface. 167 Parameter $media of method Drupal\audio_embed_media\Plugin\MediaEntity\Type\AudioEmbedField::loadProvider() has invalid type Drupal\media_entity\MediaInterface. 167 Parameter $media of method Drupal\audio_embed_media\Plugin\MediaEntity\Type\AudioEmbedField::loadProvider() has invalid type Drupal\media_entity\MediaInterface. 181 Parameter $media of method Drupal\audio_embed_media\Plugin\MediaEntity\Type\AudioEmbedField::getAudioUrl() has invalid type Drupal\media_entity\MediaInterface. 181 Parameter $media of method Drupal\audio_embed_media\Plugin\MediaEntity\Type\AudioEmbedField::getAudioUrl() has invalid type Drupal\media_entity\MediaInterface. ------ ---------------------------------------------------------------------------------------- ------ ------------------------------------------------------------------------------------ Line src\Plugin\Field\FieldFormatter\Colorbox.php ------ ------------------------------------------------------------------------------------ 46 Property Drupal\audio_embed_field\Plugin\Field\FieldFormatter\Colorbox::$colorboxAttachment has unknown class Drupal\colorbox\ElementAttachmentInterface as its type. � Learn more at https://phpstan.org/user-guide/discovering-symbols 81 Parameter $colorbox_attachment of method Drupal\audio_embed_field\Plugin\Field\FieldFormatter\Colorbox::__construct() has invalid type Drupal\colorbox\ElementAttachmentInterface. 122 Call to method attach() on an unknown class Drupal\colorbox\ElementAttachmentInterface. � Learn more at https://phpstan.org/user-guide/discovering-symbols 169 Call to an undefined method Drupal\Core\Field\FormatterInterface::calculateDependencies(). 169 Call to an undefined method Drupal\Core\Field\FormatterInterface::calculateDependencies(). ------ ------------------------------------------------------------------------------------ ------ ---------------------------------------------------------------- Line src\Plugin\Field\FieldFormatter\Thumbnail.php ------ ---------------------------------------------------------------- 187 Call to an undefined method Drupal\Core\Entity\EntityStorageInterface::getReplacementId(). ------ ---------------------------------------------------------------- ------ ---------------------------------------------------------------------- Line src\ProviderManager.php ------ ---------------------------------------------------------------------- 18 Constructor of class Drupal\audio_embed_field\ProviderManager has an unused parameter $cache_backend. ------ ----------------------------------------------------------------------
- Status changed to Needs work
over 1 year ago 4:40am 9 August 2023 - Status changed to Needs review
over 1 year ago 6:50am 9 August 2023 - 🇮🇳India Nishant
I have fixed the installation issue, Now Module will install smoothly.
- Status changed to Fixed
over 1 year ago 10:29am 9 August 2023 - Status changed to Fixed
over 1 year ago 10:29am 9 August 2023