Support » Plugin: malCure WP Malware Scanner & Firewall » Fatal error on Logs page on WP 5.2 and earlier

  • Resolved Menno Luitjes

    (@mennolui)


    Hi there!

    Thanks for this plugin. Scan was very helpful to make sure nothing was infected on a clients website.

    One problem though: The Logs page throws a PHP fatal error on WordPress 5.2 and earlier and thus shows an empty admin screen (tested with plugin versions 6.2 and 6.3).

    PHP Fatal error: Uncaught Error: Call to undefined function wp_timezone_string() in (..)/wp-content/plugins/wp-malware-removal/wpmr.php:1376

    The function wp_timezone_string() was introduced in WordPress 5.3 so for older WordPress installs the logs page doesn’t work at the moment.

    https://developer.wordpress.org/reference/functions/wp_timezone_string/

    All the best!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author malcure

    (@malcure)

    Hi Menno, Thanks for using our plugin.

    Thank you for bringing this to our attention. We’ll be fixing this in the next release.

    Thank you πŸ™‚

    Plugin Author malcure

    (@malcure)

    This has been resolved in version 6.5.

    Thread Starter Menno Luitjes

    (@mennolui)

    Great! That was quick πŸ™‚

    Plugin Author malcure

    (@malcure)

    Thank you. Closing the thread. Feel free to open a new one if required. Do not forget to review / rate the plugin πŸ™‚

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error on Logs page on WP 5.2 and earlier’ is closed to new replies.