Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Recoverable fatal error: Object of class BeanCustom could not be converted to string in kwresearch_form_alter() (line 1046 of kwresearch.module).
Error can be generated when you try to delete a bean block type: /admin/structure/block-types/manage/block-type/delete
Comment | File | Size | Author |
---|---|---|---|
#4 | kwresearch-fatal_error_BeanCustom_class_to_string-2872456-3.patch | 598 bytes | layalk |
Comments
Comment #2
layalkMake sure form is only a node edit form.
Comment #3
JulienF CreditAttribution: JulienF commentedYour patch do NOT apply to neither version 1.x-dev nor to version 1.0-alpha4... Line numbers are not correct.
Your patch assumes that hook_form_alter is at line 1042 where on alpha4 it's at line 1120 and on dev it's at line 1166
Please update your patch and make sure the issue is tied to the version you are targeting
Comment #4
layalkThe patch was applied to an old dev version I had.
I updated the patch to affect version 7.x-1.0-alpha3+3-dev