• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Gesior Email Sending Error

Loth Gena

Roxeria 8.60 Developer
Joined
Feb 5, 2014
Messages
245
Reaction score
23
Location
UK
Hello, i have a gmail setup on gesior aac 2012 as follows:

PHP:
# Emails Config
$config['site']['send_emails'] = true;
$config['site']['mail_address'] = "[email protected]";
$config['site']['smtp_enabled'] = true;
$config['site']['smtp_host'] = "ssl://smtp.gmail.com";
$config['site']['smtp_port'] = 465;
$config['site']['smtp_auth'] = true;
$config['site']['smtp_user'] = "[email protected]";
$config['site']['smtp_pass'] = "xxxxx";

BUT when i go onto my website and try to use the lost account page to send an email i get this error:

Code:
Fatal error: Uncaught Error: Call to undefined method Account::getName() in P:\xampp\htdocs\pages\lostaccount.php:107 Stack trace: #0 P:\xampp\htdocs\system\load.page.php(7): include() #1 P:\xampp\htdocs\index.php(37): include_once('P:\\xampp\\htdocs...') #2 {main} thrown in P:\xampp\htdocs\pages\lostaccount.php on line 107

This is my line 107 in lostaccount.php:

PHP:
<p>Account name: '.htmlspecialchars($account->getName()).'</p>

Can anyone help? thanks
 
Back
Top