Problem/Motivation

1.Install Theme
2.Go to Appearance settings
3.Select Potent Allure

following error:

The website encountered an unexpected error. Please try again later.

Error: Call to undefined function drupal_get_path() in potent_allure_form_system_theme_settings_alter() (line 422 of themes\contrib\potent_allure\theme-settings.php).
Drupal\system\Form\ThemeSettingsForm->buildForm(Array, Object, 'potent_allure')
call_user_func_array(Array, Array) (Line: 536)
Drupal\Core\Form\FormBuilder->retrieveForm('system_theme_settings', Object) (Line: 283)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 583)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 166)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 74)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
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

coaston created an issue. See original summary.

roshni27’s picture

I have install and set default to theme.
I have no error. it is working for me .i have share the screenshot please check.

coaston’s picture

Hi your printscreens are different. You havent navigated to Apperance settings where you can change color of theme for example.

roshni27’s picture

Assigned: Unassigned » roshni27
StatusFileSize
new20.27 KB

Hello coaston ,
I found the issue. Thanks
I will work on this.

roshni27’s picture

Assigned: roshni27 » Unassigned
Status: Active » Needs review
Issue tags: +Drupal 10 compatibility
StatusFileSize
new711 bytes

Please review the patch.

keshavv’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new170.17 KB

Hello, @roshni27
I am able to reproduce the issue and your patch #5 is working well.
We can merge it.
Moving to RTBC.
Thank you.

vijaysharma_89’s picture

Bhupendra_Raykhere made their first commit to this issue’s fork.

vijaysharma_89’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for your contribution.

vijaysharma_89’s picture

Status: Fixed » Closed (fixed)