Can somebody fix the errors with this theme in drupal 10 core?

Created on 6 June 2024, 20 days ago
Updated 20 June 2024, 6 days ago

I mean for 4 months i cant move my sites to drupal 10 because of this theme.....
it worked in drupal 9 and now it is all messed up....

the blocks are not showing up when I put them in navigation, footer etc....

also getting these errors and the maintainer always says IT IS FIXED, WE FIXED THAT....yeah right....

for 4 months I cant upgrade....and all my drupal sites use adaptive theme

---------------

here are the errors I get

Deprecated function: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\Component\Utility\Unicode::validateUtf8() (line 395 of core/lib/Drupal/Component/Utility/Unicode.php).
Deprecated function: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in Drupal\Component\Utility\Xss::filter() (line 69 of core/lib/Drupal/Component/Utility/Xss.php).
Deprecated function: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\Component\Utility\Unicode::validateUtf8() (line 395 of core/lib/Drupal/Component/Utility/Unicode.php).
Deprecated function: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in Drupal\Component\Utility\Xss::filter() (line 69 of core/lib/Drupal/Component/Utility/Xss.php).
Deprecated function: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\Component\Utility\Unicode::validateUtf8() (line 395 of core/lib/Drupal/Component/Utility/Unicode.php).
Deprecated function: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in Drupal\Component\Utility\Xss::filter() (line 69 of core/lib/Drupal/Component/Utility/Xss.php).
Deprecated function: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\Component\Utility\Unicode::validateUtf8() (line 395 of core/lib/Drupal/Component/Utility/Unicode.php).
Deprecated function: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in Drupal\Component\Utility\Xss::filter() (line 69 of core/lib/Drupal/Component/Utility/Xss.php).

πŸ› Bug report
Status

Active

Version

7.0

Component

CSS/HTML

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @tokosefi
  • the maintaners answers questions once per week MAYBE....and even then denises there are any problems wit this theme.....this was an amazing theme and I really don't believe nobody else have enough skills to maintain and properly update this theme

    this is so sad

    errors like this when I switch to this theme

    Drupal\Component\Utility\Unicode::validateUtf8(NULL) (Line: 65)
    Drupal\Component\Utility\Xss::filter(NULL) (Line: 121)
    include_once('/var/www/html/web/themes/contrib/adaptivetheme/at_core/forms/ext/fonts.php') (Line: 222)
    require_once('/var/www/html/web/themes/contrib/adaptivetheme/at_core/forms/ext/extension_settings.php') (Line: 167)
    at_core_form_system_theme_settings_alter(Array, Object) (Line: 382)
    Drupal\system\Form\ThemeSettingsForm->buildForm(Array, Object, 'at_core')
    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: 627)
    Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 121)
    Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
    Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
    Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
    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: 28)
    Drupal\Core\StackMiddleware\ContentLength->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: 36)
    Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
    Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
    Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

    CAN MAINTAINER AT LEAST TRY TO HELP!!!! 5 months I am stuck with drupal 9 for god sake

  • As far as I know the current maintainer is doing this in his limited free time and I respect that.

    If you want dedicated support, I would suggest to get help at https://www.drupal.org/drupal-services β†’

  • not wanting to be rude but it takes 1 minute to check this post and write something like

    I don't know how to help
    You should look into this direction
    This patch needs to be installed
    This is why this is happening

    4 options.....really easy.....i can pay 500 USD to fix

  • I'm trying to balance all of this with a busy full-time job. I wish I knew what is going on with your themes where they generate the amount of errors they do. I don't. I wish I did, but I don't. If there were another drupal developer to help out to co-maintain this theme, I'd love that. Sending me angry emails also doesn't help your cause.

  • it is not themes....it is just adaptive theme
    how would you feel if you cant upgrade because of theme somebody develops for 6 months

  • bloomfelt you made us switch to version 2 then you gave up on that version and switched to version 1 again...what is next?
    It is obviously you messed something up and do not bother fixing it.....many people are still stuck with Drupal 9 core

    no other module is giving me trouble...only this theme....and it is nothing I could do wrong....it worked fine with drupal 9 and now it is a mess.... how do you expect somebody would fix it if you know the code....you worked on it as you claim and still have no idea what is going on?

    can you ask another person with better skills to join to maintain this wonderful theme....it is really ridiculous what it has become.... unusable

  • This looks like a duplicate of https://www.drupal.org/project/adaptivetheme/issues/3372322 πŸ› Deprecated function errors, possibly related to PHP 8.1 Needs review , which also provides a patch.

    @tokesefi, could you try that patch and report back in that thread?

  • @tokosefi: the reason why we had to switch to a fork was because the initial maintainer disappeared and nobody initially could get commit access to make the theme compatible with new Drupal versions.

  • Assigned to sourabhsisodia_
  • Issue was unassigned.
Production build 0.69.0 2024