__autoload() is deprecated,
Ik neem aan dat jullie bekent zijn met PHPMailer maar dit staat in PHPMailerAutoload
if (version_compare(PHP_VERSION, '5.1.2', '>=')) {
//SPL autoloading was introduced in PHP 5.1.2
if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
spl_autoload_register('PHPMailerAutoload', true, true);
} else {
spl_autoload_register('PHPMailerAutoload');
}
} else {
/**
* Fall back to traditional autoload for old PHP versions
* @param string $classname The name of the class to load
*/
function __autoload($classname)
{
PHPMailerAutoload($classname);
}
}
Ik gebruik PHP 7.1 dus voldoe aan de norm dus de fall back zou niet eens van toepassing zijn. Weet iemand wat de oorzaak van deze melding kan zijn?