rocklobster-in / contact-form-7

Contact Form 7 - Just another contact form plugin for WordPress.
Other
290 stars 144 forks source link

Encountering a serious bug #1511

Closed NewTypo closed 2 weeks ago

NewTypo commented 2 weeks ago

站点信息: ··· `

wp-core

version: 6.6.2 site_language: zh_CN user_language: zh_CN timezone: Asia/Shanghai permalink: /%year%/%monthnum%/%day%/%postname%/.html https_status: true multisite: false user_registration: 0 blog_public: 1 default_comment_status: open environment_type: production user_count: 2 dotorg_communication: true

wp-paths-sizes

wordpress_path: /www/wwwroot/www.siwei.wang wordpress_size: loading... uploads_path: /www/wwwroot/www.siwei.wang/wp-content/uploads uploads_size: loading... themes_path: /www/wwwroot/www.siwei.wang/wp-content/themes themes_size: loading... plugins_path: /www/wwwroot/www.siwei.wang/wp-content/plugins plugins_size: loading... fonts_path: /www/wwwroot/www.siwei.wang/wp-content/uploads/fonts fonts_size: loading... database_size: loading... total_size: loading...

wp-dropins (1)

advanced-cache.php: true

wp-active-theme

name: ZAXU(zaxu) version: 5.1.4 author: ZAXU author_website: https://www.zaxu.com parent_theme: none theme_features: core-block-patterns, widgets-block-editor, automatic-feed-links, title-tag, post-thumbnails, align-wide, responsive-embeds, html5, menus, widgets theme_path: /www/wwwroot/www.siwei.wang/wp-content/themes/zaxu auto_update: 启用

wp-themes-inactive (1)

Twenty Twenty-Two: version: 1.8, author: WordPress 团队, 自动更新已禁用

wp-plugins-active (13)

Advanced Custom Fields PRO: version: 6.3.6, author: WP Engine, 自动更新已禁用 Akismet Anti-spam: Spam Protection: version: 5.3.3, author: Automattic - Anti-spam Team, 自动更新已禁用 Contact Form 7: version: 6.0, author: Takayuki Miyoshi, 自动更新已禁用 Custom Post Type UI: version: 1.17.1, author: WebDevStudios, 自动更新已禁用 Disable XML-RPC-API: version: 2.1.6, author: Neatma, 自动更新已禁用 HappyFiles Pro: version: 1.8.3, author: Codeer, 自动更新已禁用 Pinyin Slugs: version: 2.3.3, author: SO WP, 自动更新已禁用 SMTP Mailer: version: 1.1.16, author: naa986, 自动更新已禁用 WP-China-Yes: version: 3.7.0, author: 文派开源, 自动更新已禁用 WP-Sweep: version: 1.1.8, author: Lester 'GaMerZ' Chan, 自动更新已禁用 WPS Hide Login: version: 1.9.17.1, author: WPServeur, NicolasKulka, wpformation, 自动更新已禁用 WPS Limit Login: version: 1.5.9.1, author: WPServeur, NicolasKulka, wpformation, 自动更新已禁用 WP Super Cache: version: 1.12.4, author: Automattic, 自动更新已禁用

wp-media

image_editor: WP_Image_Editor_GD imagick_module_version: 不可用 imagemagick_version: 不可用 imagick_version: 不可用 file_uploads: 1 post_max_size: 64M upload_max_filesize: 64M max_effective_size: 64 MB max_file_uploads: 20 gd_version: bundled (2.1.0 compatible) gd_formats: GIF, JPEG, PNG, WebP, BMP ghostscript_version: unknown

wp-server

server_architecture: Linux 6.1.0-23-amd64 x86_64 httpd_software: nginx/1.24.0 php_version: 8.2.24 64bit php_sapi: fpm-fcgi max_input_variables: 1000 time_limit: 300 memory_limit: 128M admin_memory_limit: 256M max_input_time: 60 upload_max_filesize: 64M php_post_max_size: 64M curl_version: 7.74.0 OpenSSL/1.1.1o suhosin: false imagick_availability: false pretty_permalinks: true htaccess_extra_rules: true current: 2024-11-10T06:34:46+00:00 utc-time: Sunday, 10-Nov-24 06:34:46 UTC server-time: 2024-11-10T14:34:42+08:00

wp-database

extension: mysqli server_version: 8.4.0 client_version: mysqlnd 8.2.24 max_allowed_packet: 1073741824 max_connections: 100

wp-constants

WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /www/wwwroot/www.siwei.wang/wp-content WP_PLUGIN_DIR: /www/wwwroot/www.siwei.wang/wp-content/plugins WP_MEMORY_LIMIT: 40M WP_MAX_MEMORY_LIMIT: 256M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: true CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_ENVIRONMENT_TYPE: 未定义 WP_DEVELOPMENT_MODE: undefined DB_CHARSET: utf8mb4 DB_COLLATE: undefined

wp-filesystem

wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable fonts: writable mu-plugins: writable

acf

version: 6.3.6 plugin_type: PRO activated: false activated_url: undefined license_type: undefined license_status: undefined subscription_expires: undefined ui_field_groups: 0 php_field_groups: 0 json_field_groups: 0 rest_field_groups: 0 post_types_enabled: true ui_post_types: 7 json_post_types: 0 ui_taxonomies: 12 json_taxonomies: 0 ui_options_pages_enabled: true ui_options_pages: 0 json_options_pages: 0 php_options_pages: 0 rest_api_format: light registered_acf_blocks: 13 blocks_per_api_version: v2: 13 blocks_per_acf_block_version: v1: 13 blocks_using_post_meta: 0 preload_blocks: true admin_ui_enabled: true field_type-modal_enabled: true field_settings_tabs_enabled: false shortcode_enabled: false registered_acf_forms: 0 json_save_paths: 1 json_load_paths: 1

` ···

下载插件后,启用报错,内容如图: image

报错邮件内容如下:

[SIWEI.WANG] 您的站点正遇到技术问题
您好:

WordPress 从版本 5.2 开始,能够检测到您站点上的插件或主题造成了致命错误,并向您发送自动的通知邮件。

这次,WordPress 发现了您的插件造成的错误:Contact Form 7。

首先,访问您的站点(https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.siwei.wang%2F&data=05%7C02%7C%7C2109b45e1db04a6dff7e08dd00b3046e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638667491082400663%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=lIUMxqFQ0PKr0rAs8G%2Bhn0I0zcQQhFmTpaImaldpPYI%3D&reserved=0 )并查看有无可见的问题。然后,访问发生错误的页面(https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.siwei.wang%2Fwp-admin%2Fadmin.php%3Fpage%3Dwpcf7&data=05%7C02%7C%7C2109b45e1db04a6dff7e08dd00b3046e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638667491082423383%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=nbSTdtz%2Fe1SRPK8gdKvZ4uWRYwraH%2FI9Q8Njics9luI%3D&reserved=0 )并查看有无问题。

请联系您的主机提供商来获得帮助及解决此问题。

如果您的站点看上去不正常,且您不能正常访问仪表盘,WordPress 现在有了特殊的「恢复模式」,能够让您安全地登录仪表盘并检查问题。

https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.siwei.wang%2Fkaopan%3Faction%3Denter_recovery_mode%26rm_token%3D1x1OP9fCBxJOU6IdxJXkb0%26rm_key%3DZ9CN8jMJRk3TmThN3oBLRW&data=05%7C02%7C%7C2109b45e1db04a6dff7e08dd00b3046e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638667491082441668%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=b%2FgoEVmHvuD1Jm7F0CaQ4auuyULJPX91%2BWaNbrZh6mQ%3D&reserved=0

为了保障您的站点安全,此链接将在 1 天 后过期。请不用担心,如果在此之后错误再度发生,我们将向您发送新的链接。

在寻求关于此问题的帮助时,您可能需要提供以下信息:
WordPress 版本 6.6.2
目前启用的主题:ZAXU(5.1.4 版本)
当前插件:Contact Form 7(版本 6.0)
PHP 版本 8.2.24

错误详情
============
错误类型 E_ERROR 发生在文件 /www/wwwroot/https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.siwei.wang%2Fwp-content%2Fplugins%2Fcontact-form-7%2Fadmin%2Fincludes%2Fwelcome-panel.php&data=05%7C02%7C%7C2109b45e1db04a6dff7e08dd00b3046e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638667491082460038%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=VJABxfiTu9vRRA0o1X6RIp02poBr4%2BuKI%2FK5%2FWjDCpQ%3D&reserved=0 的 148 行。错误信息:Uncaught ArgumentCountError: 3 arguments are required, 2 given in /www/wwwroot/https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.siwei.wang%2Fwp-content%2Fplugins%2Fcontact-form-7%2Fadmin%2Fincludes%2Fwelcome-panel.php%3A148&data=05%7C02%7C%7C2109b45e1db04a6dff7e08dd00b3046e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638667491082478018%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=pCblkhQBSbDTc0jzYTiQhUhGCAVwVbxBT6DZc6KwhxM%3D&reserved=0
Stack trace:
#0 /www/wwwroot/https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.siwei.wang%2Fwp-content%2Fplugins%2Fcontact-form-7%2Fadmin%2Fincludes%2Fwelcome-panel.php&data=05%7C02%7C%7C2109b45e1db04a6dff7e08dd00b3046e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638667491082495766%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=r5zTx%2F7A0swZVoJspVfYZ9o3FgHCYLKp2HrTLpKZHBA%3D&reserved=0(148): sprintf()
#1 /www/wwwroot/https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.siwei.wang%2Fwp-content%2Fplugins%2Fcontact-form-7%2Fadmin%2Fincludes%2Fwelcome-panel.php&data=05%7C02%7C%7C2109b45e1db04a6dff7e08dd00b3046e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638667491082513616%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=Wo2FRB4o3lM7mY7atU8AwSKkI8YCA12Ayz2i6DbA6Yc%3D&reserved=0(21): WPCF7_WelcomePanelColumn_Integration->content()
#2 /www/wwwroot/https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.siwei.wang%2Fwp-content%2Fplugins%2Fcontact-form-7%2Fadmin%2Fincludes%2Fwelcome-panel.php&data=05%7C02%7C%7C2109b45e1db04a6dff7e08dd00b3046e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638667491082531790%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=MQHjrLVjSKLDMSWSDzWmwwwPEpHZpnosXm8heERGUnY%3D&reserved=0(219): WPCF7_WelcomePanelColumn->print_content()
#3 /www/wwwroot/https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.siwei.wang%2Fwp-content%2Fplugins%2Fcontact-form-7%2Fadmin%2Fadmin.php&data=05%7C02%7C%7C2109b45e1db04a6dff7e08dd00b3046e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638667491082551099%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=85zYB%2F4ZB51J5Yd98nms8RnRuymZK4zqQlXAh5RaAJ8%3D&reserved=0(448): wpcf7_welcome_panel()
#4 /www/wwwroot/https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.siwei.wang%2Fwp-includes%2Fclass-wp-hook.php&data=05%7C02%7C%7C2109b45e1db04a6dff7e08dd00b3046e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638667491082569079%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=bMOTGhqtwzkBNyF%2B0G5Xh08pZmT7%2B6UzvCT8KDZ4r%2Fg%3D&reserved=0(324): wpcf7_admin_management_page()
#5 /www/wwwroot/https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.siwei.wang%2Fwp-includes%2Fclass-wp-hook.php&data=05%7C02%7C%7C2109b45e1db04a6dff7e08dd00b3046e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638667491082587042%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=%2F4ThEvIn107GgFHuINd449aE5A0VmbdIrp8a0EqUxOQ%3D&reserved=0(348): WP_Hook->apply_filters()
#6 /www/wwwroot/https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.siwei.wang%2Fwp-includes%2Fplugin.php&data=05%7C02%7C%7C2109b45e1db04a6dff7e08dd00b3046e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638667491082604968%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=DgJWDStSxquSenzEx%2BFkqc%2FbcA5Vmwgo%2FjHkuj7CFKw%3D&reserved=0(517): WP_Hook->do_action()
#7 /www/wwwroot/https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.siwei.wang%2Fwp-admin%2Fadmin.php&data=05%7C02%7C%7C2109b45e1db04a6dff7e08dd00b3046e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638667491082622990%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=be4VZ3wZiCd0Mr9nCndCzxMHUYx65e%2F%2F5nu16uDyrg8%3D&reserved=0(259): do_action()
#8 {main}
  thrown

如果有需要帮助欢迎随时联系,非常愿意配合排查问题

If you need help, please feel free to contact us, and we are very willing to cooperate with troubleshooting