Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: Uncaught Error: Class 'Route' not found in vendor\topthink\think-captcha\src\helper.php on line 12 #63

Open
kenetkang opened this issue May 30, 2021 · 3 comments

Comments

@kenetkang
Copy link

//test.php in test folder
require_once DIR.'/../vendor/autoload.php';

use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception;

$mail = new PHPMailer(true);
try {} catch (Exception $e) {}

@kenetkang
Copy link
Author

    "php": ">=5.6.0",
    "topthink/framework": "5.1.*",
    "topthink/think-captcha": "2.0.*",
    "phpmailer/phpmailer": "^6.4"

@seek-x2y
Copy link

这问题怎么解决的?只能升级TP到6?

@jonesshen
Copy link

thinkphp 5.1 可以考虑卸载官方的验证码扩展,安装我这个版本来解决。
地址:https://github.com/jonesshen/think-captcha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants