PHP Warning & Specific Page with 404 Error
-
Hi! Great plugin, it really helped me deal with a sudden need from a client.
I would like some help with two issues I encountered:
- I did notice on the error_log file, a sudden spam of this warning:
- PHP Warning: Undefined array key “host” in “…/public_html/wp-includes/theme.php” on line 3811
- This warning only happens when it is successfully redirected to the subdomain. When using the normal page (with full slug without subdomain), this does not happen.
- A specific page with the slug “/contest” or “/contests” is not redirecting to the subdomain. But the page displays correctly.
- But any child-page of this one, triggers a 404.
I tried digging into the plugins code, but I had no luck in finding why the parent page “/contest” doesn’t redirect, even less why the child pages trigger 404 errors.
Could the undefined array key “host” be the cause of the 404 errors? I’m speculating now.
If you would like the links for the specific pages, I can provide.
Thank you in advance!
- I did notice on the error_log file, a sudden spam of this warning:
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.