Closed (fixed)
Project:
SendinBlue
Version:
8.x-1.8
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
23 Dec 2020 at 09:49 UTC
Updated:
19 Apr 2021 at 14:49 UTC
Jump to comment: Most recent
After I patched the module with the patch in this issue: https://www.drupal.org/project/sendinblue/issues/3189471
I want to create my submit forms.
But when I go on /admin/config/system/sendinblue/sendinblue_signup_form/list
I cannot create a form because when I click on the button "Add signup Form" I obtain the following error:
The website encountered an unexpected error. Please try again later.
TypeError: Return value of Drupal\sendinblue\Tools\Model\GetSmtpTemplates::getTemplates() must be of the type array, null returned in Drupal\sendinblue\Tools\Model\GetSmtpTemplates->getTemplates() (line 50 of modules/sendinblue/src/Tools/Model/GetSmtpTemplates.php).
Can you check please?
Comments
Comment #2
luca.pecchiura commentedComment #3
loicLEMEUT commentedHello, I found the bug, and i will patch this soon !
Comment #4
loicLEMEUT commentedComment #5
donbuche commentedSubscribed.
Comment #6
andrew perriman commentedI am getting the same error. Any chance of a fix?
Comment #7
loicLEMEUT commentedComment #9
loicLEMEUT commentedHi, thanks for the review.
This problem is caused by a empty list of templates, i fix this bug.
Comment #10
loicLEMEUT commented