Hello Split,
I found a compatibility issue with Topic Presets 1.0.0 on Invision Community 5.
When Topic Presets is enabled, creating a new topic produces the following error if POLLS are disabled for that forum:
Attempt to assign property "value" on null
The error occurs in the custom template hook:
forums_front_submit_createTopicForm__formContainer__before
The full stack trace points to:
/system/Theme/CustomTemplate.php(458) : eval()'d code
This only happens when the forum's poll option is disabled. If I enable polls, the topic form works normally. If I disable the Topic Presets application, the topic form also works normally with polls disabled.
It appears the application expects a poll-related form element to always exist and attempts to assign its value property even when that form element is null.
Could you please add a null or existence check before modifying the relevant form element?
The affected forum is my Newbie Introductions forum, where I do not want members to create polls.
Thank you.
-James