主题更新后后台顶部出现错误提示

?卢东东Joy BUG反馈 56

Warning: Division by zero in /home/customer/www/zhan.lu/public_html/wp-content/themes/onenav/inc/framework/customize/options-function.php on line 659

Warning: Cannot modify header information - headers already sent by (output started at /home/customer/www/zhan.lu/public_html/wp-content/themes/onenav/inc/framework/customize/options-function.php:659) in /home/customer/www/zhan.lu/public_html/wp-admin/includes/misc.php on line 1439

## 版本说明

`
### wp-core ###

version: 6.5.2
site_language: zh_CN
user_language: zh_CN
timezone: +08:00
permalink: /%post_id%.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: /home/customer/www/zhan.lu/public_html
wordpress_size: loading...
uploads_path: /home/customer/www/zhan.lu/public_html/wp-content/uploads
uploads_size: loading...
themes_path: /home/customer/www/zhan.lu/public_html/wp-content/themes
themes_size: loading...
plugins_path: /home/customer/www/zhan.lu/public_html/wp-content/plugins
plugins_size: loading...
database_size: loading...
total_size: loading...

### wp-active-theme ###

name: OneNav(onenav)
version: 4.1810
author: 一为
author_website: https://www.iowen.cn/
parent_theme: none
theme_features: core-block-patterns, menus, post-thumbnails, widgets-block-editor, widgets
theme_path: /home/customer/www/zhan.lu/public_html/wp-content/themes/onenav
auto_update: 启用

### wp-themes-inactive (2) ###

Twenty Twenty-Four: version: 1.0, author: WordPress 团队 (latest version: 1.1), 自动更新已禁用
Twenty Twenty-Three: version: 1.2, author: WordPress 团队 (latest version: 1.4), 自动更新已禁用

### wp-plugins-inactive (1) ###

Disqus for WordPress: version: 3.1.1, author: Disqus, 自动更新已启用

### wp-media ###

image_editor: WP_Image_Editor_GD
imagick_module_version: 不可用
imagemagick_version: 不可用
imagick_version: 不可用
file_uploads: 1
post_max_size: 256M
upload_max_filesize: 256M
max_effective_size: 256 MB
max_file_uploads: 20
gd_version: 2.3.3
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: 10.02.1

### wp-server ###

server_architecture: Linux 6.6.21-MCIclouder470 x86_64
httpd_software: Apache
php_version: 7.4.33 64bit
php_sapi: apache2handler
max_input_variables: 3000
time_limit: 120
memory_limit: 768M
max_input_time: 120
upload_max_filesize: 256M
php_post_max_size: 256M
curl_version: 8.2.1 OpenSSL/3.1.1
suhosin: false
imagick_availability: false
pretty_permalinks: true
htaccess_extra_rules: false
current: 2024-04-18T10:13:43+00:00
utc-time: Thursday, 18-Apr-24 10:13:43 UTC
server-time: 2024-04-18T18:13:42+08:00

### wp-database ###

extension: mysqli
server_version: 5.7.44-48-log
client_version: mysqlnd 7.4.33
max_allowed_packet: 33554432
max_connections: 500

### wp-constants ###

WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /home/customer/www/zhan.lu/public_html/wp-content
WP_PLUGIN_DIR: /home/customer/www/zhan.lu/public_html/wp-content/plugins
WP_MEMORY_LIMIT: 256M
WP_MAX_MEMORY_LIMIT: 768M
WP_DEBUG: false
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: 未定义
WP_DEVELOPMENT_MODE: undefined
DB_CHARSET: utf8
DB_COLLATE: undefined

### wp-filesystem ###

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

`

回复

共6条回复 我来回复
  • xu219.cn
    xu219.cn 评论

    我也碰到过几个错误提示,再刷新一下,或者等一会又好了

    1个月前 1条评论
    • ?卢东东Joy 3周前 评论

      等了蛮久了,依旧

  • 91es.com
    91es.com 评论

    这不是有bug么 按照提示改一下

    1个月前 0条评论
  • ?卢东东Joy
    ?卢东东Joy 评论
    1. 我不了解代码,也没有修改过😂
    2. 之前是没有的,更新了 wp 程序和主题后才出现的,如何搞
    1个月前 0条评论
  • 91es.com
    91es.com 评论

    那就尴尬了 找人帮你看看吧

    1个月前 0条评论
  • 91es.com
    91es.com 评论

    不懂代码 可以问其他人

    1个月前 0条评论
  • ?卢东东Joy
    ?卢东东Joy 评论

    提交工单了🤣

    1个月前 0条评论
One Nav 导航主题