Jenni
Verfasste Forenbeiträge
-
Forum: Allgemeine Fragen
Als Antwort auf: Der Anhang konnte nicht in die Datenbank eingefügt werden.Hi @pixolin
Du hast keinen Grund dich zu entschuldigen! Es war eine unglaublich tolle Hilfestellung. Mich bestärkt es in meinem ersten Impuls, dass WP neu aufzusetzen.
Ganz ehrlich? Probleme zu lösen, die solche exorbitanten Maßnahmen erfordern sind das grundlegende Fundament, dass neue Probleme kommen. Meiner Meinung nach ist es nicht immer ratsam ‚bugfixing‘ zu betreiben, wenn man nicht weiß, was dann wirklich die Ursache war 😅
Danke nochmal!
Liebe Grüße und ein schönes Wochenende
Jenni
Forum: Allgemeine Fragen
Als Antwort auf: Der Anhang konnte nicht in die Datenbank eingefügt werden.Das Problem wurde gelöst, indem ich ein neues WP + DB aufgesetzt habe und die Inhalte umgezogen habe. Ursache des Problems ist bisher immer noch unklar. Danke an alle Tipps und Hilfen.
Forum: Allgemeine Fragen
Als Antwort auf: Der Anhang konnte nicht in die Datenbank eingefügt werden.Hallo @pixolin
entschuldige die Verzögerung – dieses WordPress steckt voller Überraschungen.
max_execution_time
von 30 auf 60 gestellt – mehr lässt der IONOS nicht zu => kein Erfolg- Plugin „WP Debugging“ installiert und aktiviert – leider explodierte das WP dann einfach mit folgenden Fehlermeldungen
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 7022 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 2162 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 7022 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 2162 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 7022 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 2162 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 7022 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 2162 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 7022 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 2162 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 7022 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 2162 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 7022 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 2162 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 7022 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 2162 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 7022 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 2162 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 7022 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 2162 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 7022 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 2162 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 7022 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 2162 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 7022 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 2162 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 7022 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 2162 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 7022 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 2162 Deprecated: Return type of Requests_Cookie_Jar::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/10/d23038282/htdocs/app284558450/wp-includes/Requests/Cookie/Jar.php on line 63 Deprecated: Return type of Requests_Cookie_Jar::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/10/d23038282/htdocs/app284558450/wp-includes/Requests/Cookie/Jar.php on line 73 Deprecated: Return type of Requests_Cookie_Jar::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/10/d23038282/htdocs/app284558450/wp-includes/Requests/Cookie/Jar.php on line 89 Deprecated: Return type of Requests_Cookie_Jar::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/10/d23038282/htdocs/app284558450/wp-includes/Requests/Cookie/Jar.php on line 102 Deprecated: Return type of Requests_Cookie_Jar::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/10/d23038282/htdocs/app284558450/wp-includes/Requests/Cookie/Jar.php on line 111 Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/10/d23038282/htdocs/app284558450/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 40 Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/10/d23038282/htdocs/app284558450/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 51 Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/10/d23038282/htdocs/app284558450/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 68 Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/10/d23038282/htdocs/app284558450/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 82 Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/10/d23038282/htdocs/app284558450/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 91 Warning: Cannot modify header information - headers already sent by (output started at /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php:7022) in /homepages/10/d23038282/htdocs/app284558450/wp-admin/includes/misc.php on line 1416 Warning: Cannot modify header information - headers already sent by (output started at /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php:7022) in /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php on line 6865 Warning: Cannot modify header information - headers already sent by (output started at /homepages/10/d23038282/htdocs/app284558450/wp-includes/functions.php:7022) in /homepages/10/d23038282/htdocs/app284558450/wp-admin/admin-header.php on line 9
Ich konnte evaluieren, dass die function.php-Meldungen mit dem $path zu tun haben müssten. Bin also nochmal in die Datenbank.
// Standardize all paths to use '/'.
$path = str_replace( '\', '/', $path );Alle Pfade in der DB sind (jetzt) korrekt – aber auch das hat keinen Erfolg gebracht.
Vor ungefähr 30 Tagen haben wir das WordPress von der Subdomain „blog.fotoclub-***“ auf die reguläre Domain umgezogen. Hier bereits machte der Umzug (ungewohnter Weise) Probleme. Daraufhin hat IONOS etwas im „Hintergrund“ gezaubert und es funktionierte wieder, inkl. des Medienuploads.
Letztendlich trat das Problem dann erst knapp 10 Tage später auf, wovon ich oben initial schrieb. Da ich es einfach mal ausschließe, dass eine Verbreitung von Code- und Datenbankupdates länger als 10 Tage dauert (DNS-Schwenks ja auch in der Regel ‚höchstens‘ 72 Stunden, weltweit), weiß ich ehrlich gesagt nicht, was da passiert ist.
Selbstverständlich habe ich gerade nochmal (zur Sicherheit) Themes und Plugins deaktiviert und geschaut, ob doch sich irgendwo der Teufel im Detail versteckt hat. Leider auch erfolglos.
Ich würde ja gerne das WP Debugging Thema mit dir vollumfänglich durchspielen, aber bereits daran scheitert es. Da der IONOS-Support nicht hilfreich ist, habe ich jetzt noch genau zwei Möglichkeiten:
- Du (oder ein anderer Mitlesende) hast eine hat eine Eingebung und die Lösung für das Problem
ODER - Ich setze ein neues WP mit neuer DB auf und importiere die Inhalte „Step by Step“ in die neue Instanz in der Hoffnung, dass ich mir keine Showstopper mit rüberziehe (also kein DB ex- und import ;D)
Ich muss sagen, dass ich dir unendlich dankbar bin, dass du bisher geholfen hast. Leider habe ich wirklich nur „Anfängerkenntnisse“ im Bereich Webentwicklung, SQL und WordPress, so dass ich tatsächlich wirklich (so wirklich wirklich) hilflos bin.
Ach, ich habe eine Frage vergessen zu beantworten: In den Entwicklertools gibt es keine Hinweise auf den Fehler. Etliche andere, die aber weniger mit dem WordPress-Problem zu tun hatten.
Error.log habe ich aktiviert, da steht bisher aber auch nichts drin….
Danke nochmals und ich hoffe, wir finden eine Lösung?
Liebe Grüße
Jenni- Diese Antwort wurde vor 2 Jahren, 5 Monaten von Jenni geändert.
Forum: Allgemeine Fragen
Als Antwort auf: Der Anhang konnte nicht in die Datenbank eingefügt werden.hey @pixolin
erstmal DANKE für deine mega ausführliche Antwort. Aufbauend auf deine Antwort habe ich gemerkt, dass wesentliche Infos fehlen:
- Upload funktionierte problemlos bis es plötzlich nicht mehr ging (heute auf morgen) – Kein Update von Plugins, DB oder ähnliches
- Selbst unter der PHP Version 7.4 gab es das Problem (Problem wurde auch nicht gelöst, als wir auf 8.1 migriert haben)
- Etliche Bilder und Dateiendungen (bis 32×32 Pixel, 8kb) habe ich durchgetestet, immer mit dem gleichen Fehler.
Ich gehe jetzt aber all deine Tipps durch und hoffe auf ein Technikwunder. Werde – sobald ich News habe – eine Antwort senden.
Ich bin gerade nur einfach unfassbar dankbar für deine Antwort.
Melde mich!