- Issue created by @Thomas Kaisuka
-
levmyshkin β
committed 2eea4a21 on 1.4.x
Issue #3538216 by thomas kaisuka: Error: Call to a member function...
-
levmyshkin β
committed 2eea4a21 on 1.4.x
- π·πΈSerbia levmyshkin Novi Sad, Serbia
Hi thomas kaisuka, thank you for your report, I added additional validation for field_ebt_settings:
https://www.drupal.org/project/ebt_basic_button/releases/1.4.11 β
https://drupalbook.org/ebt/demo/basic-button - πΊπ¬Uganda Thomas Kaisuka
The new change is now bringing this and a WSOD ;
Error: Call to a member function hasField() on null in ebt_basic_button_preprocess_block() (line 41
- π·πΈSerbia levmyshkin Novi Sad, Serbia
I see.. there are two places with block_content:
$variables['elements']['content']['#block_content']
$variables['content']['#block_content']I added validation for both of them:
https://www.drupal.org/project/ebt_basic_button/releases/1.4.12 β - π·πΈSerbia levmyshkin Novi Sad, Serbia
But then preprocess will not be working. Did you face this problem on Drupal 11 after upgrade from Drupal 10? I'm still waiting to upgrade from Drupal 10 to Drupal 11 cause of CKEditor 5 plugins, but eventually I will upgrade my site drupalbook.org and test all EBT/EPT modules with Drupal 11 too.