Üdv
A wpconfigba átállítottam a WP_DEBUG', true-ra, és azóta rengeteg hibaüzenet jön be, nem tudom h ez normális vajon?
A weboldal úgy néz ki h nincs probléma, de nem tudom mit jelenthetnek.
A ph-t átálítottam 7.3-ról 8.1-re. Elsőnek fehér oldal jött be, ezért írtam a át a wp-degugot. Utána valahogy helyrejött az oldal, de sok hibaüzenet van a debug miatt. pl most rámentem valamire, bejött vagy 30 üzenet, ennek a fele Deprecated, a másik Warning. Gondolom megéri a phtp átállítgani 7.4-ről? Úgy látom h kb mindenhol alapból a php 7.4 van beállítva.
A hibaüzenetekről :
pl:
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated xxx/public_html/wp-includes/functions.php on line 7022
Deprecated: Return type of Requests_Cookie_Jar:ffsetExists($key) should either be compatible with ArrayAccess:ffsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in public_html/wp-includes/Requests/Cookie/Jar.php on line 63
Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary:ffsetExists($key) should either be compatible with ArrayAccess:ffsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/xxx/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 40
Warning: Trying to access array offset on value of type bool in /home/xxx/public_html/wp-content/plugins/option-tree/includes/class-ot-settings.php on line 395
Warning: Cannot modify header information - headers already sent by (output started at /home/xxx/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:15) in /home/xx/public_html/wp-includes/pluggable.php on line 1419
Ha a debugot letiltom, akkor eltűnnek az üzenetek.
Könyvjelzők