Needs review
Project:
A/B Test UI
Version:
8.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Apr 2022 at 18:22 UTC
Updated:
19 Jul 2023 at 10:00 UTC
Jump to comment: Most recent
After installing the module I am getting the following error when visiting /admin/config/user-interface/ab_test/add
Warning: Trying to access array offset on value of type bool in Drupal\abtestui\Form\ABTestForm->buildForm() (line 195 of modules/contrib/abtestui/src/Form/ABTestForm.php).
Drupal\abtestui\Form\ABTestForm->buildForm(Array, Object, NULL)
call_user_func_array(Array, Array) (Line: 531)
Looks like the form value needs to be checked if it is empty.
None
None
None
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
Comment #3
alphex commentedConfirmed this appears to solve the issue.
For anyone else looking. here's the patch file : https://git.drupalcode.org/project/abtestui/-/merge_requests/1.patch
Comment #4
pcate commentedComment #5
pcate commentedComment #6
jatingupta40 commentedI will review this patch(#3).