[ad_1]
When i Try to upload image or pdf, the file looks like the file uploads but the thumbnail is blank and they file url does not work. I also do not see the file on the server. I checked the permission on the file and they are fine.
In the error log, Every day I get this Error and wonder if this is the problem.
[13-Jun-2023 02:34:16 UTC] PHP Warning: Undefined array key “host” in /home/xxxx/public_html/wp-includes/canonical.php on line 689 [13-Jun-2023 02:34:16 UTC] PHP Warning: Undefined array key “host” in /home/xxxx/public_html/wp-includes/canonical.php on line 698 [13-Jun-2023 02:34:16 UTC] PHP Warning: Undefined array key “host” in /home/xxxx/public_html/wp-includes/canonical.php on line 701I have disabling the plugins, updated everything, tried php 8 and 8.1.
I am not very technical when it comes to this and I have no idea how to fix it. Any help would be greatly appreciated.
