• Resolved cpimentelpz

    (@cpimentelpz)


    Hi:

    when I try to download a file attached to the ticket the plugin from the frontend throws the following error:

    Fatal error: Uncaught Error: Call to undefined function mime_content_type() in /home/ptgcl/public_html/wp-content/plugins/supportcandy/includes/class-wpsc-actions.php:561
    Stack trace:
    #0 /home/ptgcl/public_html/wp-content/plugins/supportcandy/includes/class-wpsc-actions.php(493): WPSC_Actions->file_download(297)
    #1 /home/ptgcl/public_html/wp-includes/class-wp-hook.php(292): WPSC_Actions->check_download_file(”)
    #2 /home/ptgcl/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
    #3 /home/ptgcl/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #4 /home/ptgcl/public_html/wp-settings.php(423): do_action(‘plugins_loaded’)
    #5 /home/ptgcl/public_html/wp-config.php(91): require_once(‘/home/ptgcl/pub…’)
    #6 /home/ptgcl/public_html/wp-load.php(37): require_once(‘/home/ptgcl/pub…’)
    #7 /home/ptgcl/public_html/wp-blog-header.php(13): require_once(‘/home/ptgcl/pub…’)
    #8 /home/ptgcl/public_html/index.php(17): require(‘/home/ptgcl/pub…’) #9 {main} thrown in /home/ptgcl/public_html/wp-content/plugins/supportcandy/includes/class-wpsc-actions.php on line 561

    What should I do to download files attached to the ticket?
    Thanks for your disposal!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Nikhil G

    (@nsgawli)

    Hello,

    Please enable fileinfo extension for PHP on your server and then recheck the issue. Please go to your cPanel and enable it. Otherwise, please contact your hosting provider and ask them to enable it for you.

    Thread Starter cpimentelpz

    (@cpimentelpz)

    You deserve the best. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem downloading attachment’ is closed to new replies.