[ad_1]
Hallo zusammen, nachdem ich eine Website auf php 8 geupdated habe, erhalte ich auf einer Seite, in der Programmlogik implementiert ist, die oben genannte Fehlermeldung.
Warning: Undefined array key „00“ in „[…]/class-wp-locale.php“
Ich habe mir die Datei „class-wp-locale“ angeschaut und der Abschnitt in der Datei beinhaltet die folgende Funktion:
/*** Retrieves the full translated month by month number.** The $month_number parameter has to be a string* because it must have the '0' in front of any number* that is less than 10. Starts from '01' and ends at* '12'.** You can use an integer instead and it will add the* '0' before the numbers less than 10 for you.** @since 2.1.0** @param string|int $month_number '01' through '12'.* @return string Translated full month name.*/public function get_month( $month_number ) { return $this->month[ zeroise( $month_number, 2 ) ];}
Ich verstehe ehrlich gesagt nicht, wie der Wert „00“ zustande kommt und auch nicht der Code von einem Plugin darein geschrieben wurde oder ob das zu WordPress gehört.
Testweise habe ich alle Plugins deaktiviert. Der Fehler existiert dann jedoch immer noch.
Über einen Hinweis würde ich mich freuen.
Anbei noch der Bericht über den Website Zustand:
wp-core
version: 6.1.1
site_language: de_DE
user_language: de_DE
timezone: Europe/Berlin
permalink: /%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: open
environment_type: production
user_count: 91
dotorg_communication: true
wp-paths-sizes
wordpress_path: /mnt/web507/c2/94/510599694/htdocs/STRATO-apps/wordpress_03/app
wordpress_size: 1,08 GB (1163432239 bytes)
uploads_path: /mnt/web507/c2/94/510599694/htdocs/STRATO-apps/wordpress_03/app/wp-content/uploads
uploads_size: 916,91 MB (961451859 bytes)
themes_path: /mnt/web507/c2/94/510599694/htdocs/STRATO-apps/wordpress_03/app/wp-content/themes
themes_size: 31,02 MB (32526389 bytes)
plugins_path: /mnt/web507/c2/94/510599694/htdocs/STRATO-apps/wordpress_03/app/wp-content/plugins
plugins_size: 111,14 MB (116539345 bytes)
database_size: 28,91 MB (30310400 bytes)
total_size: 2,15 GB (2304260232 bytes)
wp-active-theme
name: Avada Child (Avada-Child-Theme)
version: 1.0.0
author: ThemeFusion
author_website:
parent_theme: Avada (Avada)
theme_features: core-block-patterns, fusion-builder-options, widgets-block-editor, title-tag, automatic-feed-links, custom-header, custom-background, woocommerce, wc-product-gallery-zoom, wc-product-gallery-slider, wc-product-gallery-lightbox, post-formats, post-thumbnails, fusion-builder-demos, menus, align-wide, wp-block-styles, editor-styles, dark-editor-style, editor-font-sizes, widgets
theme_path: /mnt/web507/c2/94/510599694/htdocs/STRATO-apps/wordpress_03/app/wp-content/themes/Avada-Child-Theme
auto_update: Deaktiviert
wp-parent-theme
name: Avada (Avada)
version: 7.9.2
author: ThemeFusion
author_website: https://themeforest.net/user/ThemeFusion
theme_path: /mnt/web507/c2/94/510599694/htdocs/STRATO-apps/wordpress_03/app/wp-content/themes/Avada
auto_update: Deaktiviert
wp-themes-inactive (1)
Twenty Twenty-Three: version: 1.0, author: Das WordPress-Team, Automatische Aktualisierungen deaktiviert
wp-mu-plugins (1)
0-ninjafirewall.php: version: 1.0, author: The Ninja Technologies Network
wp-plugins-active (16)
Avada Builder: version: 3.9.2, author: ThemeFusion, Automatische Aktualisierungen aktiviert
Avada Core: version: 5.9.2, author: ThemeFusion, Automatische Aktualisierungen aktiviert
bbP private groups: version: 3.9.2, author: Robin Wilson, Automatische Aktualisierungen deaktiviert
bbPress: version: 2.6.9, author: The bbPress Contributors, Automatische Aktualisierungen aktiviert
bbPress Toolkit: version: 1.0.12, author: Pascal Casier, Automatische Aktualisierungen deaktiviert
bbp style pack: version: 5.4.2, author: Robin Wilson, Automatische Aktualisierungen deaktiviert
FileBird: version: 5.1.5, author: Ninja Team, Automatische Aktualisierungen deaktiviert
Media Library File Download: version: 1.3, author: Calculabs, Automatische Aktualisierungen deaktiviert
NinjaFirewall (WP Edition): version: 4.5.6, author: The Ninja Technologies Network, Automatische Aktualisierungen aktiviert
Simple Membership After Login Redirection: version: v1.6, author: smp7, wp.insider, Automatische Aktualisierungen aktiviert
Simple WordPress Membership: version: 4.3.1, author: smp7, wp.insider, Automatische Aktualisierungen aktiviert
UpdraftPlus – Backup/Restore: version: 1.23.3, author: UpdraftPlus.Com, DavidAnderson, Automatische Aktualisierungen aktiviert
User Menus: version: 1.3.1, author: Code Atlantic, Automatische Aktualisierungen aktiviert
User Role Editor: version: 4.63.3, author: Vladimir Garagulya, Automatische Aktualisierungen aktiviert
WP Frontend Admin (Premium): version: 1.19.0, author: WP Frontend Admin, Automatische Aktualisierungen deaktiviert
Yoast SEO: version: 20.3, author: Team Yoast, Automatische Aktualisierungen aktiviert
wp-media
image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1692
imagemagick_version: ImageMagick 6.9.12-60 Q16 x86_64 17403 https://legacy.imagemagick.org
imagick_version: 3.5.1
file_uploads: File uploads is turned off
post_max_size: 128M
upload_max_filesize: 128M
max_effective_size: 128 MB
max_file_uploads: 20
imagick_limits:
imagick::RESOURCETYPE_AREA: 4 GB
imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
imagick::RESOURCETYPE_FILE: 192
imagick::RESOURCETYPE_MAP: 4 GB
imagick::RESOURCETYPE_MEMORY: 2 GB
imagick::RESOURCETYPE_THREAD: 1
imagemagick_file_formats: 3FR, 3G2, 3GP, A, AAI, AI, APNG, ART, ARW, AVI, AVS, B, BGR, BGRA, BGRO, BMP, BMP2, BMP3, BRF, C, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, FAX, FILE, FITS, FRACTAL, FTP, FTS, G, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, JNG, JNX, JPE, JPEG, JPG, JPS, JSON, K, K25, KDC, LABEL, M, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, O, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PS, PS2, PS3, PSB, PSD, PTIF, PWP, R, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCREENSHOT, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMV, WPG, X3F, XBM, XC, XCF, XPM, XPS, XV, Y, YCbCr, YCbCrA, YUV
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP
ghostscript_version: not available
wp-server
server_architecture: Linux localhost 3.10.0-1160.83.1.el7.x86_64 #1 SMP Linux localhost 3.10.0-1160.83.1.el7.x86_64 #1 SMP Linux localhost 3.10.0-1160.83.1.el7.x86_64 #1 SMP
httpd_software: Apache/2.4.56 (Unix)
php_version: 8.0.28 64bit
php_sapi: cgi-fcgi
max_input_variables: 4000
time_limit: 240
memory_limit: 512M
max_input_time: 60
upload_max_filesize: 128M
php_post_max_size: 128M
curl_version: 7.88.1 OpenSSL/1.1.1t
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: false
wp-database
extension: mysqli
server_version: 5.7.38-log
client_version: mysqlnd 8.0.28
max_allowed_packet: 67108864
max_connections: 3000
wp-constants
WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /mnt/web507/c2/94/510599694/htdocs/STRATO-apps/wordpress_03/app/wp-content
WP_PLUGIN_DIR: /mnt/web507/c2/94/510599694/htdocs/STRATO-apps/wordpress_03/app/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 512M
WP_DEBUG: true
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: true
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: Nicht definiert
DB_CHARSET: utf8mb4
DB_COLLATE: undefined
wp-filesystem
wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
mu-plugins: writable
- Dieses Thema wurde geändert vor 2 Tage, 10 Stunden von .
- Dieses Thema wurde geändert vor 2 Tage, 10 Stunden von .
- Dieses Thema wurde geändert vor 2 Tage, 10 Stunden von .