Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

E-mail not correct

  • borja
  • borja
  • OFFLINE
  • Posts: 76
  • Thanks: 1
  • Karma: 0
5 years 3 months ago #314355 by borja
E-mail not correct was created by borja
Hello

Recently I have updated to version 2.4.2 and I ´ve got a problem while sending a email when the user registers. In the past they received an email with a text but now the text is just '0' and not the whole text that they must receive. The subject is correct.

What can we wrong?


Best regards,


Borja

Please Log in or Create an account to join the conversation.

  • borja
  • borja
  • OFFLINE
  • Posts: 76
  • Thanks: 1
  • Karma: 0
5 years 3 months ago #314357 by borja
Replied by borja on topic E-mail not correct
in the log i can see this message:

mod_fcgid: stderr: PHP Warning: A non-numeric value encountered in /var/www/vhosts/mydomain.es/httpdocs/web/libraries/CBLib/CB/Legacy/cbNotification.php on line 489, referer: www.mydomain.es/administrator/index.php?option=com_comprofiler&view=new&cbprevstate=b3B0aW9uPWNvbV9jb21wcm9maWxlciZ2aWV3PXNob3d1c2VycyZ0YXNrPXNob3d1c2Vycw%3D%3D

The problem was that there was a '-' in te code. I deleted it and it works.
$result = comprofilerMail(
( $fromEmail !== false ? $fromEmail : $fromUser->email ),
( $fromName !== false ? $fromName : $fromUser->name ),
$toUser->email,
$subject,
-
$message,
$mode,
$cc,
$bcc,
$attachment,
$replyToEmail,
$replyToName,
$this->mailerProperties,
$this->errorMSG
);

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48630
  • Thanks: 8307
  • Karma: 1446
5 years 3 months ago #314365 by krileon
Replied by krileon on topic E-mail not correct
Line 489 is "$message,". There absolutely should not be just a random dash. Ensure you've the latest build release installed.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum