- This topic has 2 replies, 2 voices, and was last updated 14 years, 3 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › 500 Internal Server Error when an user registered to affiliate platform
Tagged: 500 Internal Server Error
Hi admin,
I encountered a 500 error when register a user to the affiliate platform, i’ve checked the log and found the affiliates program crashed at the moment when it trying to send mail to admin.
I went throught the scripts for register user and found the admin email address to where the script was trying to send a mail is empty thus it crashed. The admin email address is fetched in a former stage in this line but the return value is empty
$from_email_address = get_option('wp_aff_senders_email_address');
I cannot find there are an option relative to “wp_aff_senders_email_address”, while the option name of admin email in affiliate settings is “wp_aff_contact_email”, what is “wp_aff_senders_email_address”? Where can we set this option?
I simply fixed this issue by change ‘wp_aff_senders_email_address’ to ‘wp_aff_contact_email’, assume it is the supposed behavior, then the admin email address in the affiliates settings must be filled, which is empty by default, while the video tutorial for beginners doesn’t indicate this.
i think i found where wp_aff_senders_email_address is, it is in Email settings, sorry for didn’t finish the video tutorials, it works perfectly now, thanks!
Glad to hear that you’ve fixed it.