Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Dharti Pandey on
hi,
i am using Drupal 8 on Xampp, and I ran into this error after filling out configure site.
Error: Call to a member function setRecipients() on null in standard_form_install_configure_submit()
Comments
Looks like something wrong with your mail.
Obviously, in an attempt to notify by email something went wrong. Expect the setRecipients to be called on an email.
But, it turns out to be called on the contactform.
The only reference I found is line 25 of core/profiles/standard/standard.profile:
ContactForm::load('feedback')->setRecipients($site_mail))->trustData()->save();
Which means something went wrong with loading 'feedback' as contact form.This suggests you have a resource issue. Suggest to check the obvious settings for a web server, like max_execution_time and memory.
thanks for reply
thanks for reply
try again ...
Run the install.php again, but this time DO NOT check the option to be notified by email, since you local machine probably doesn't have a local smtp server configured.
spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...
it works.
it works.
thank you sprite:)
Without mail properly setup, ...
suggest to configure XAMPP to send mail output to disk.
Allows you to check whether and what is send.