【发布时间】:2020-10-05 03:38:46
【问题描述】:
我正在我的仪表板中上传一张图片,然后突然出现致命错误:
这是错误日志:
[15-Jun-2020 16:06:15 UTC] PHP Fatal error: Uncaught Error: Call to undefined function TUTOR\mime_content_type() in /home/danoc/public_html/wp-content/plugins/tutor/classes/User.php:54
Stack trace:
#0 /home/danoc/public_html/wp-includes/class-wp-hook.php(289): TUTOR\User->profile_update(1)
#1 /home/danoc/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
#2 /home/danoc/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#3 /home/danoc/public_html/wp-includes/user.php(1876): do_action('profile_update', 1, Object(WP_User))
#4 /home/danoc/public_html/wp-includes/user.php(1995): wp_insert_user(Array)
#5 /home/danoc/public_html/wp-content/plugins/tutor/classes/Student.php(135): wp_update_user(Array)
#6 /home/danoc/public_html/wp-includes/class-wp-hook.php(287): TUTOR\Student->update_profile('')
#7 /home/danoc/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#8 /home/danoc/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#9 /home/w in /home/danoc/public_html/wp-content/plugins/tutor/classes/User.php on line 54
请帮忙解决。
【问题讨论】:
标签: php html wordpress stack mime