Skip to content Skip to sidebar Skip to footer

__autoload() Is No Longer Supported, Use Spl_autoload_register() Instead In C:\xampp\htdocs\webapp\phpmailerautoload.php On Line 45

I use phpMailer for the processing of mail sent from the website. This morning I suddenly got the following message: Fatal error: __autoload() is no longer supported, use spl_auto

Solution 1:

You're using a very old version of PHPMailer – that code has not been in PHPMailer for 3 years. PHP 8.0 is officially supported as of PHPMailer 6.2.0, and make sure you read the upgrade guide.


Post a Comment for "__autoload() Is No Longer Supported, Use Spl_autoload_register() Instead In C:\xampp\htdocs\webapp\phpmailerautoload.php On Line 45"