Closed (fixed)
Project:
Extra Block Types (EBT): Basic Button
Version:
1.4.10
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Jul 2025 at 06:14 UTC
Updated:
28 Jul 2025 at 07:32 UTC
Jump to comment: Most recent
Comments
Comment #4
levmyshkinHi 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
Comment #5
levmyshkinComment #6
levmyshkinComment #7
thomas kaisuka commentedThe 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
Comment #8
levmyshkinI 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
Comment #9
levmyshkinBut 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.