Giter Site home page Giter Site logo

Comments (6)

sy-records avatar sy-records commented on August 27, 2024

php8应该有问题,可以去这个目录下,执行composer update

/usr/share/web/wp-content/plugins/sync-qcloud-cos/cos-sdk-v5/

from sync-qcloud-cos.

AH-dark avatar AH-dark commented on August 27, 2024

在运行 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:

  1. /usr/share/web/wp-content/plugins/sync-qcloud-cos/cos-sdk-v5/vendor/guzzlehttp/guzzle/src/functions.php(71): GuzzleHttp\Utils::defaultUserAgent()
  2. /usr/share/web/wp-content/plugins/tencentcloud-cdn/includes/vendor/guzzlehttp/guzzle/src/Client.php(194): GuzzleHttp\default_user_agent()
  3. /usr/share/web/wp-content/plugins/tencentcloud-cdn/includes/vendor/guzzlehttp/guzzle/src/Client.php(75): GuzzleHttp\Client->configureDefaults()
  4. /usr/share/web/wp-content/plugins/sync-qcloud-cos/cos-sdk-v5/vendor/qcloud/cos-sdk-v5/src/Client.php(187): GuzzleHttp\Client->__construct()
  5. /usr/share/web/wp-content/plugins/sync-qcloud-cos/wordpress-qcloud-cos.php(99): Qcloud\Cos\Client->__construct()
  6. /usr/share/web/wp-content/plugins/sync-qcloud-cos/wordpress-qcloud-cos.php(580): cos_check_bucket()
  7. /usr/share/web/wp-includes/class-wp-hook.php(307): cos_setting_page()
  8. /usr/share/web/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
  9. /usr/share/web/wp-includes/plugin.php(474): WP_Hook->do_action()
  10. /usr/share/web/wp-admin/admin.php(259): do_action()
  11. /usr/share/web/wp-admin/options-general.php(10): require_once('...')
  12. {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.

AH-dark avatar AH-dark commented on August 27, 2024

我觉得这可能是与腾讯云的官方插件 tencentcloud-cdn 冲突导致的,我会继续尝试

from sync-qcloud-cos.

AH-dark avatar AH-dark commented on August 27, 2024

我觉得这可能是与腾讯云的官方插件 tencentcloud-cdn 冲突导致的,我会继续尝试

是的,在我删除这个插件以后,它正常了。

from sync-qcloud-cos.

sy-records avatar sy-records commented on August 27, 2024

嗯你不能同时启用两个插件,guzzle会冲突。

from sync-qcloud-cos.

AH-dark avatar AH-dark commented on August 27, 2024

嗯你不能同时启用两个插件,guzzle会冲突。

谢谢大佬的解答,问题已经解决。不过还是建议将这类较易出现的问题写到一个较为明显的问题,以避免每个人都来提一遍Issue~

from sync-qcloud-cos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.