• Resolved tronix-ex

    (@tronix-ex)


    Hello Support,

    The plugin works awesome so far, just few things that need to be fixed I’ll probably mention in my next topic as suggestion.

    Currently I am still on the plugin testing and I found that the plugin is giving error when I try to download the file attached to the comment. See the below error that I am receving while downloading the file.

    Fatal error: Uncaught Error: Call to undefined function mime_content_type() in /home/public_html/jobs_portal/wp-content/plugins/taskbuilder/includes/admin/attachment/wppm_download_attachment.php:25 Stack trace: #0 /home/public_html/jobs_portal/wp-content/plugins/taskbuilder/taskbuilder.php(95): include() #1 /home/public_html/jobs_portal/wp-content/plugins/taskbuilder/taskbuilder.php(89): WP_Taskbuilder->wppm_file_download(3) #2 /home/public_html/jobs_portal/wp-includes/class-wp-hook.php(307): WP_Taskbuilder->wppm_check_download_file('') #3 /home/public_html/jobs_portal/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #4 /home/public_html/jobs_portal/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #5 /home/public_html/jobs_portal/wp-settings.php(587): do_action('init') #6 /home/public_html/jobs_portal/wp-config.php(76): require_once('/home/...') #7 /home/public_html/jobs_portal/wp-load.php(50): r in /home/public_html/jobs_portal/wp-content/plugins/taskbuilder/includes/admin/attachment/wppm_download_attachment.php on line 25

    Looking forward to your response asap.

    Thanks,

    • This topic was modified 2 years, 1 month ago by tronix-ex.
    • This topic was modified 2 years, 1 month ago by tronix-ex.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter tronix-ex

    (@tronix-ex)

    I figured this out the function mime_content_type() on line 25 in the file(attachment/wppm_download_attachment.php) perhaps doesn’t work with my php version so I replaced it with wp_check_filetype() and all good now.

    Plugin Author taskbuilder

    (@taskbuilder)

    Hello,
    Thank you for your efforts to figured out the issue. We really appreciate it.
    We will fixed this issue in next version.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Attached file issue’ is closed to new replies.