Support » Plugin: Smart Maintenance Mode » Can’t save plugin settings on PHP 7

  • Hi @brijeshk89,

    After moving to PHP 7 I get this error when trying to save plugin options:

    PHP Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string() in /home/wpdesk64/public_html/wpdesk/wp-content/plugins/smart-maintenance-mode/smart-maintenance-mode.php:250

    The function was removed in PHP 7:

    Please update the plugin accordingly. It is a very good tool, however now it does not work on PHP 7 installs.

    Thank you.

  • The topic ‘Can’t save plugin settings on PHP 7’ is closed to new replies.