debug
facing-screen
知识,是一种信仰。(此博客为个人日志,如有帮助点赞是美德;如有谬误,欢迎斧正。)
展开
-
symfony4.4加密密码时报错Libsodium is not available. You should either install the sodium extension, upgrade
报错:"Libsodium is not available. You should either install the sodium extension, upgrade to PHP 7.2+ or use a different encoder."解决:algorithm:sodium 改为 algorithm:sha256 或者其他原因:推测为sodium加密库未的bug...原创 2021-04-22 17:04:27 · 184 阅读 · 0 评论 -
symfony Fatal error: Declaration of App\DataFixtures\AppFixtures::load(Doctrine\Common\Persistence
问题背景:composer update 后解决:删除\src\DataFixtures目录 bin/console cache:clear use Doctrine\Common\Persistence\ManagerRegistry;改为:use Doctrine\Persistence\ManagerRegistry;// 参考:https://stackoverflow.com/questions/63688919/error-argument-1-passed-...原创 2021-04-02 17:00:47 · 329 阅读 · 0 评论 -
symfony或doctrine报错:Object of class App\Entity\* could not be converted to string
报错:Catchable Fatal Error: Object of class App\Entity\ProjectType could not be converted to string版本:symfony5.0解决办法:在对应的Entity里添加public __toString方法,我这里就是App\Entity\ProjectType类// App\Entity...原创 2020-03-10 16:32:21 · 731 阅读 · 0 评论 -
krpano场景拖动时拖动惯性消失的问题
问题背景:在写一个基于krpano的全景项目时突然发现场景拖动时拖动惯性消失了。查看官方文档,检查和控制相关的control标签的参数没有问题,并且也一直没有修改过。排查过程:经过排查,发现炫光特效插件的edit.xml里有这样一句话<eventsname="stopmovements"keep="true"onmouseup="stopmovements()"/> krpano官网对stopmovements方法的解释是:立即停止所有用户驱动的(通过鼠标,键盘或触摸)平移和缩放...原创 2020-12-30 14:55:14 · 426 阅读 · 1 评论