Comments

VijaySharma_89 created an issue. See original summary.

sarwan_verma’s picture

StatusFileSize
new864 bytes

I've successfully reproduced the issue on my machine, and created a patch to resolve it.
Please find the attached patch below, Thanks.

mukesh-kumar3’s picture

Status: Active » Needs review
StatusFileSize
new1.22 KB
new27.57 KB

Hi i have apply patch for when install the theme website encountered an unexpected error because of the spaceless tag that is not to be supported after twig 2.7 now we can use {% apply spaceless %}{% endapply %} now the issue is fixed and theme installed successfully. I have attached the applying patch screenshot below please review.

keshavv’s picture

StatusFileSize
new2.31 KB
new880 bytes

Patch #3 works well, But there are a few more occurrences.
Updated the patch.
Thank you.

bandanasharma’s picture

I also faced the installation issue. I don't think the previous patch changes are required in this issue. Please review and suggest.

This is not related to the Spaceless tag, please create a separate issue for that.

bandanasharma’s picture

StatusFileSize
new1014.78 KB
new740 bytes

This issue exists due to the drupal_get_path() function in the theme.theme file and it is deprecated. I have created a patch for this and attached the screenshot after fixing this issue.

jay jangid’s picture

Assigned: Unassigned » jay jangid
jay jangid’s picture

Assigned: jay jangid » Unassigned
StatusFileSize
new304.04 KB
new1.13 MB

Hello @bandanasharma I have tested this issue in Drupal 9.5.x.
I am also getting the error "The website encountered an unexpected error. Please try again later" when I install & set it as the default theme.
Then I apply patch #2 and again I check this issue.
Now the theme is installed successfully.

Also, I agree with @bandanasharma, there is no need for the previous patch, excluding patch #2.
I am sharing screenshots for reference.
Please review.
Thank you.

djsagar’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new200.19 KB
new3.56 MB

Patch @6 resolved the above issue.

Thanks to @bandanasharma.

rushikesh raval’s picture

Status: Reviewed & tested by the community » Closed (duplicate)
Related issues: +#3379038: drupal_get_path() function is not supported in drupal 10

This is issue if duplicate issue of https://www.drupal.org/project/status_zymphonies_theme/issues/3379038.

So closing as duplicate.