Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subscrition e-mail from forum not working #5978

Closed
Ruud68 opened this issue Jun 7, 2018 · 5 comments
Closed

Subscrition e-mail from forum not working #5978

Ruud68 opened this issue Jun 7, 2018 · 5 comments

Comments

@Ruud68
Copy link
Contributor

Ruud68 commented Jun 7, 2018

Describe the bug
wit the upgrade to Kunena version 5.1 no mails are sent via the form (new topics / topic replies)

To Reproduce
create a new topic

Expected behavior
Mail sent to moderator that new topic is created

Actual result
No mail sent
error message:

Error 0: Argument 1 passed to KunenaForumMessage::attachEmailBody() must be an instance of Joomla\CMS\Mail\Mail, instance of JMail given, called in /var/www/html/kunena_test/libraries/kunena/forum/message/message.php on line 494

This happens on multiple sites, I think the $mail object is 'converted' to a JMail object by another component (e.g. acymailing?).

System information (please complete the following information)

Joomla version: 3.8.8
Kunena version: 5.1.0
Php version: multiple
Database version: nultiple

Additional context
same issue as described and fixed here: #5592
same fix in this issue also fixes the issue in 5.1.0

@810
Copy link
Member

810 commented Jun 7, 2018

Looks like that pr isn't merged into 5.1 during the development. will do it.

@Ruud68
Copy link
Contributor Author

Ruud68 commented Jun 7, 2018

it is not, doing it manually fixes the issue. the mail class has some 'glitches' that need precaution when following 'the coding rules' (like chaining not 100% working resulting in Boolean mail 'object': I have learned the hard way :))

@xillibit xillibit added this to the 5.1.1 milestone Jun 7, 2018
@810 810 modified the milestones: 5.1.1, 5.1.2 Jun 22, 2018
@xillibit xillibit modified the milestones: 5.1.2, 5.1.3 Jul 15, 2018
@810
Copy link
Member

810 commented Jul 16, 2018

@Ruud68 could you try the nightly and look if the issue still there.

@810 810 modified the milestones: 5.1.3, 5.1.4 Aug 31, 2018
@810 810 self-assigned this Sep 11, 2018
@810 810 modified the milestones: 5.1.4, 5.1.6 Oct 14, 2018
@xillibit xillibit modified the milestones: 5.1.6, 5.1.8 Nov 21, 2018
@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity.

@810 810 modified the milestones: 5.1.8, 5.1.17 Apr 13, 2020
@810 810 modified the milestones: 5.1.17, 5.1.18 Jun 10, 2020
@xillibit xillibit modified the milestones: 5.1.18, 5.1.19 Jul 26, 2020
@xillibit
Copy link
Member

xillibit commented Jul 26, 2020

Closed because no answers, open new issue if problem still exist with last version

@xillibit xillibit removed this from the 5.1.19 milestone Jul 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants