• lamont26

    (@lamont26)


    Hi, i have installed wp_file_monitor_plus plugin.
    Until 10 day’s it doesn’t work.
    I don’t received any alert email; i have enable debug mode and i riceived this error:
    Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method sc_WordPressFileMonitorPlus::admin_alert() should not be called statically in /home/www/wp-includes/plugin.php on line 429
    Can you help me?
    Best regards.
    Marco

Viewing 2 replies - 1 through 2 (of 2 total)
  • To correct that specific error with admin_alert you can…

    1. edit the file /wordpress-file-monitor-plus/classes/wpfmp.class.php and edit
    2. search for the line with public function admin_alert
    3. add static to the beginning of that line so it reads static public function admin_alert

    It sounds like you may have turned on debug mode at some point? or upgraded WordPress which caused this error to pop up. If this is a production site I would recommend you turn off debug mode by setting WP_DEBUG to false in your wp-config.php file so users aren’t seeing these detailed error messages.

    define('WP_DEBUG', false);

    Thread Starter lamont26

    (@lamont26)

    Thankyou for reply.
    Yes i have used the wp_debug for view the error.
    I have changed wpfmp.class.php file and i have added static functiond but doesn’t work.
    Now the error is:
    Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method sc_WordPressFileMonitorPlus::format_file_modified_time() should not be called statically in /home/www/wp-includes/plugin.php on line 192
    Do you have any idea?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with wp file monitor pluss’ is closed to new replies.