• Resolved hughie.molloy

    (@hughiemolloy)


    Hi,

    So my WP logs are full of Fatal errors that are created by the pro version of the plugin when slacking fatal errors.

    [08-Nov-2019 04:02:16 UTC] PHP Fatal error: Uncaught Error: Call to undefined function list_files() in /mnt/storage/prod/www/wp-admin/includes/plugin.php:241
    Stack trace:
    #0 /mnt/storage/prod/www/wp-content/plugins/fatal-error-notify-pro/includes/class-public.php(136): get_plugin_files(‘feedwordpress/f…’)
    #1 /mnt/storage/prod/www/wp-content/plugins/fatal-error-notify-pro/includes/class-public.php(297): Fatal_Error_Notify_Public->get_admin_url_from_path(‘/wp-content/plu…’)
    #2 /mnt/storage/prod/www/wp-content/plugins/fatal-error-notify-pro/includes/class-public.php(246): Fatal_Error_Notify_Public->get_notification_output(Array, ‘slack’)
    #3 [internal function]: Fatal_Error_Notify_Public->shutdown()
    #4 {main}

    The missing function is defined in wp-admin/includes/files.php, maybe explicitly include it.

Viewing 1 replies (of 1 total)
  • Plugin Author verygoodplugins

    (@verygoodplugins)

    Hey @hughiemolloy ,

    That’s odd. I wasn’t able to reproduce it. And there’s even a check for function_exists( 'list_files' ) before that runs, which should prevent that from happening.

    Anyway it wouldn’t hurt to include files.php as well. We’ve updated that and just released v1.5.1 of the Pro plugin. Should show up shortly via automatic update.

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Error when slacking’ is closed to new replies.