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

bug_report 邮件抛出调用未定义函数异常 #198

Open
Devil-guigui opened this issue Jan 20, 2023 · 5 comments
Open

bug_report 邮件抛出调用未定义函数异常 #198

Devil-guigui opened this issue Jan 20, 2023 · 5 comments

Comments

@Devil-guigui
Copy link

描述问题

启动邮件工具run一遍发现有报错,对应行的代码是return filter_var($address, FILTER_VALIDATE_EMAIL) !== false;
<b>Fatal error</b>:  Uncaught Error: Call to undefined function PHPMailer\PHPMailer\filter_var() in /data/wwwroot/freenom/vendor/phpmailer/phpmailer/src/PHPMailer.php:1407

重现步骤

步骤一
php run

截图&日志

你做了哪些尝试

描述你发现问题后做了哪些尝试,以及尝试结果,方便我快速排除某些问题,提高沟通效率。

环境信息

  • 系统: (mipselsf linux)
  • PHP 版本: (php8.0)
  • 脚本版本: (x)
  • 是否 Docker: (x)

额外的备注

  • Add any other context about the problem here.
  • x
@luolongfei
Copy link
Owner

试试 composer update

@Devil-guigui
Copy link
Author

-sh: composer: not found,,,# php -v
PHP 8.1.13 (cgi-fcgi) (built: Dec 14 2022 14:43:47)
Copyright (c) The PHP Group
Zend Engine v4.1.13, Copyright (c) Zend Technologies

@luolongfei
Copy link
Owner

你说的环境我没听说过。没法重现你的问题。

@Devil-guigui
Copy link
Author

果然应该是环境不行,多谢大佬解答

@lqinyli
Copy link

lqinyli commented Jan 26, 2023

Screenshot_20230126_125230
大佬 這個action出錯怎麼解決
#196
用的是這個 我是個小白 請教一下大佬 幫幫忙解決 謝謝

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