- 🇮🇳India Dharmendra.s Delhi India
The patches are already there in the branch 8.x-1.3, that's why its failed.
$ git apply -v 3186119-1.patch
Checking patch hero_block.info.yml...
error: while searching for:
name: Hero Block
description: A simple module to create Hero Image block.
core: 8.x
package: Content
dependencies:
- nodeerror: patch failed: hero_block.info.yml:1
error: hero_block.info.yml: patch does not apply
Checking patch src/Plugin/Block/HeroBlock.php...
error: while searching for:
$title = isset($config['btitle']) ? $config['btitle'] : '';
$sub_title = isset($config['sub_title']) ? $config['sub_title'] : '';
$hero_image = isset($config['hero_image']) ? $config['hero_image'] : '';
$file = file_load($hero_image[0]);
$logo_output = "";
if ($file) {
$get_uri = $file->get('uri')->getValue();error: patch failed: src/Plugin/Block/HeroBlock.php:31
error: src/Plugin/Block/HeroBlock.php: patch does not apply - 🇮🇳India ravi kant Jaipur
If changes already on new release then we can close this ticket.
- 🇺🇸United States hondaman900
Composer install still not working. please update.
- 🇮🇳India ravi kant Jaipur
@hondaman900
The issue of core version has updated on repository. You may check by clone repo in your laptop.
so following issue needs to solved first --
https://www.drupal.org/project/hero_block/issues/3331690 →Maintainers needs to pay attention here.
- Status changed to Fixed
7 months ago 10:37am 24 April 2024 Automatically closed - issue fixed for 2 weeks with no activity.