Comments (6)
php8应该有问题,可以去这个目录下,执行composer update
/usr/share/web/wp-content/plugins/sync-qcloud-cos/cos-sdk-v5/
from sync-qcloud-cos.
在运行 composer update
后我遇到了新的错误……
Fatal error: Uncaught Error: Undefined constant GuzzleHttp\ClientInterface::MAJOR_VERSION in /usr/share/web/wp-content/plugins/sync-qcloud-cos/cos-sdk-v5/vendor/guzzlehttp/guzzle/src/Utils.php:113
Stack trace:
- /usr/share/web/wp-content/plugins/sync-qcloud-cos/cos-sdk-v5/vendor/guzzlehttp/guzzle/src/functions.php(71): GuzzleHttp\Utils::defaultUserAgent()
- /usr/share/web/wp-content/plugins/tencentcloud-cdn/includes/vendor/guzzlehttp/guzzle/src/Client.php(194): GuzzleHttp\default_user_agent()
- /usr/share/web/wp-content/plugins/tencentcloud-cdn/includes/vendor/guzzlehttp/guzzle/src/Client.php(75): GuzzleHttp\Client->configureDefaults()
- /usr/share/web/wp-content/plugins/sync-qcloud-cos/cos-sdk-v5/vendor/qcloud/cos-sdk-v5/src/Client.php(187): GuzzleHttp\Client->__construct()
- /usr/share/web/wp-content/plugins/sync-qcloud-cos/wordpress-qcloud-cos.php(99): Qcloud\Cos\Client->__construct()
- /usr/share/web/wp-content/plugins/sync-qcloud-cos/wordpress-qcloud-cos.php(580): cos_check_bucket()
- /usr/share/web/wp-includes/class-wp-hook.php(307): cos_setting_page()
- /usr/share/web/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
- /usr/share/web/wp-includes/plugin.php(474): WP_Hook->do_action()
- /usr/share/web/wp-admin/admin.php(259): do_action()
- /usr/share/web/wp-admin/options-general.php(10): require_once('...')
- {main} thrown in /usr/share/web/wp-content/plugins/sync-qcloud-cos/cos-sdk-v5/vendor/guzzlehttp/guzzle/src/Utils.php on line 113
from sync-qcloud-cos.
我觉得这可能是与腾讯云的官方插件 tencentcloud-cdn 冲突导致的,我会继续尝试
from sync-qcloud-cos.
我觉得这可能是与腾讯云的官方插件 tencentcloud-cdn 冲突导致的,我会继续尝试
是的,在我删除这个插件以后,它正常了。
from sync-qcloud-cos.
嗯你不能同时启用两个插件,guzzle会冲突。
from sync-qcloud-cos.
嗯你不能同时启用两个插件,guzzle会冲突。
谢谢大佬的解答,问题已经解决。不过还是建议将这类较易出现的问题写到一个较为明显的问题,以避免每个人都来提一遍Issue~
from sync-qcloud-cos.
Related Issues (20)
- Call to undefined function GuzzleHttp\Command\Guzzle\ResponseLocation\simplexml_load_string() HOT 2
- [BUG]使用elementor插件时url替换造成插件css无法获取 HOT 1
- wordpress5.7,PHP8.0.3配置出现致命错误。 HOT 1
- Fatal error: Uncaught Error: Call to undefined method GuzzleHttp\Promise\Coroutine::of() HOT 1
- GuzzleHttp致命错误:Call to undefined method HOT 1
- 点保存后报错 HOT 1
- [Bug] 「不在本地保留备份」 功能不可用 HOT 1
- centos 7 缩略图无法正常上传cos HOT 1
- 图片原文件名中如果包含空格,上传到cos后无法被访问 HOT 3
- 如果服务器与COS桶通信状况不佳,上传会失败 HOT 4
- 上传到oss很慢 HOT 5
- 网站排版错误 HOT 4
- 图片极智压缩存在问题 HOT 3
- 自定义域名失效 HOT 2
- 出现了新的报错 HOT 2
- 存储桶名称错误,可能是 XXX... HOT 1
- <?php前和?>后有空行,导致sitemap无法使用 HOT 11
- 有个问题 上传的头像图片不会上传 HOT 10
- 插件增加国际化(Add plugin I18n)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sync-qcloud-cos.