[wp-trac] [WordPress Trac] #34353: redirect_canonical() – Undefined indexes 'host' and 'scheme'
WordPress Trac
noreply at wordpress.org
Thu Jul 21 06:34:28 UTC 2022
#34353: redirect_canonical() – Undefined indexes 'host' and 'scheme'
-------------------------------------------------+-------------------------
Reporter: theamila | Owner: (none)
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Future
| Release
Component: Canonical | Version: 4.3.1
Severity: normal | Resolution:
Keywords: needs-unit-tests has-patch needs- | Focuses:
testing-info |
-------------------------------------------------+-------------------------
Comment (by yatgirl):
I solved mine - the canonical errors no longer are appearing n my php
error log. (see my post above for the canonical errors I was seeing
constantly.)
I had an old plugin that is no longer being updated, but I want to keep
it.
That old plugin was causing other php notification error lines in the php
log. Since that old plugin will never be updated, I edited the file in
that plugin and stopped it reporting the php notifications (since it would
never be fixed).
As soon as I stopped the php notification errors on that old plugin, the
canonical php error notification errors also instantly stopped. So it
appeared to me that these php canonical errors are reacting to other
errors - In my case, I put a stop to the other errors and the canonical
errors stop......
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34353#comment:40>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list