• Resolved matty0501

    (@matty0501)


    Just a heads up on a PHP error that was thrown on my site by the GMail SMTP Plugin. I’ve got debug mode enabled on my site, and it threw an error when my site tried to send an email after processing a WooCommerce order.

    It said that the function get_magic_quotes_runtime is depreciated. This function can be found on line 2697 of class.phpmailer.php

    I’ve done some digging, and the function was depreciated in PHP7.4

    I’ve only had the error come up once, but it seems that it prevented the order email from being sent. My site has been processing orders and sending emails fine since upgrading to PHP7.4, except for the one occasion that this error was thrown.

    So I’m not sure what made it use this function on this occasion, but as the function is depreciated in the latest version of PHP, it probably needs to be looked at to prevent emails not being sent in the future.

The topic ‘PHP Error: get_magic_quotes_runtime’ is closed to new replies.