The theme code calls drupal_get_path(), which has been deprecated in Drupal 9.3.x and removed in Drupal 10. In Drupal 10, \Drupal\Core\Extension\ExtensionPathResolver::getPath() should instead be used.

Issue fork xara-3368265

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

sonam_sharma created an issue. See original summary.

sonam_sharma’s picture

Issue summary: View changes
StatusFileSize
new953 bytes
avpaderno’s picture

Assigned: sonam_sharma » Unassigned
Issue summary: View changes
Status: Active » Needs work
Issue tags: +Needs issue summary update

The issue summary should always describe what should be fixed/changed. Neither the title nor screenshots are sufficient to describe what the issue is, even in the case a patch is provided.
In the case of a bug, the description should also list the steps necessary to reproduce the issue, starting from when the module/theme is installed.

ravi kant’s picture

Issue summary: View changes

@sonam_sharma
Provide regeneration issue steps and screenshots of error.

roshni27’s picture

StatusFileSize
new258.77 KB

In 10.1.1 ,this issue is resolved .please updated status to closed.

avpaderno’s picture

drupal_get_path() is still used in the 1.0.x, 1.x.x, and 10.x.x branch.

roshni27’s picture

Title: Call to undefined function drupal_get_path() » Drupal 10 compatibility issue
Issue tags: -Needs issue summary update +Drupal 10 Compatibility issues
StatusFileSize
new410.58 KB

I have test on 1.0.0 with upgrade status.and i have share the screenshot of errors and warnings.

shivam_tiwari’s picture

Assigned: Unassigned » shivam_tiwari
Issue summary: View changes

shivam_tiwari’s picture

Assigned: shivam_tiwari » Unassigned
Status: Needs work » Needs review
avpaderno’s picture

Title: Drupal 10 compatibility issue » Call to undefined function drupal_get_path()
Issue tags: -Drupal 10 Compatibility issues +Needs issue summary update

This is an automated issue to help make this module compatible with Drupal 10.

No, this is not an automated issue. It has not even been posted by the Project Update Bot official user account.
It is not about Drupal 10 compatibility. It is about a function that does not exist in the recent Drupal releases that is used by the module.

shivam_tiwari’s picture

Issue summary: View changes
Status: Needs work » Needs review
Issue tags: -Needs issue summary update
avpaderno’s picture

Issue summary: View changes
avpaderno’s picture

Version: 1.0.0 » 10.1.1
Status: Needs review » Needs work

Since there is a 10.x.x branch, it is probably better to use the MR code in that branch.

roshni27’s picture

Status: Needs work » Needs review
StatusFileSize
new29.72 KB

No errors in 10.1.1

rushikesh raval’s picture

10.1.1 working fine with Drupal 10. Currently no issue. This issue may be closed as fixed.

ravis’s picture

Status: Needs review » Closed (cannot reproduce)

Thank you for reporting the issue.
The issue was fixed in xara version 10.1.1