- Posts: 412
- Thank you received: 5
Kunena 6.3.8 Released
The Kunena team has announce the arrival of Kunena 6.3.8 [K 6.3.8] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x/5.2.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 and issues discovered during the last development stages of K 6.3
Note: Please go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated.
Solved Posting error
The page you are looking for can't be found
Error 0 - Argument 1 passed to KunenaForumMessage::attachEmailBody() must be an instance of JMail, instance of Joomla\CMS\Mail\Mail given, called in /home/greekforum/public_html/libraries/kunena/forum/message/message.php on line 408
but the message is posted normaly
What should i do ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
If possible, please provide more details like:
Joomla Version
Kunena Version
PHP Version
Please Log in or Create an account to join the conversation.
Kunena Version last 5.11
PHP Version[ last PHP 7.0
thank you
Till you reply i will try the solution from 810
Please Log in or Create an account to join the conversation.
810 wrote: try to edit that file but on line 1581 change to:
Code:protected function attachEmailBody(Joomla\CMS\Mail\Mail $mail, $subscription, $subject, $url, $once)
Which file ? message.php ?
Please Log in or Create an account to join the conversation.
810 wrote: try to edit that file but on line 1581 change to:
Code:protected function attachEmailBody(Joomla\CMS\Mail\Mail $mail, $subscription, $subject, $url, $once)
Didnt work
Please Log in or Create an account to join the conversation.
Kunena 5.11 with Joomla 3.8 gives this error when trying to send an email notification: "The page you are looking for can't be found
Error 0 - Argument 1 passed to KunenaEmail::send() must be an instance of JMail, instance of Joomla\CMS\Mail\Mail given"
Joomla 3.7 mail class is JMail api.joomla.org/cms-3/classes/JMail.html which is what KunenaSend accepts on line 409 "KunenaEmail::send($mail, $receivers[1])"
However, on Joomla 3.8 the new email class is Joomla.CMS.Mail.Mail as seen api.joomla.org/cms-3/classes/JJoomla.CMS.Mail.Mai
Kunena accepts JMail, but Joomla gives Joomla.CMS.Mail.Mail.html which throws the error.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Could you please make a new installation (joomla+kunena) in your test environment and give us the step by step to reproduce the error?
Please Log in or Create an account to join the conversation.