hellomoto Posted March 13 Share Posted March 13 Error: Undefined array key "host" on line: 896 in /website/wire/core/WireHttp.phpError: Undefined array key "scheme" on line: 900 in /website/wire/core/WireHttp.phpError: Undefined variable $var on line: 21 in /website/site/ready.phpSuccessful response: {"error":"Unauthorized"} While in /site-sub/ on subdomain of /site/ while testing WireHttp request from /site/ ? Link to comment Share on other sites More sharing options...
adrian Posted March 13 Share Posted March 13 Hi @hellomoto - that doesn't seem like an error that is caused by Tracy, but rather one that being presented by Tracy. Have you looked at the issue of the undefined $var error on line 21 of ready.php? Link to comment Share on other sites More sharing options...
hellomoto Posted March 13 Author Share Posted March 13 Yes sorry I did that to test the error, it comes up also when I remove the WireHttp. You're probably right I was just thinking that. Link to comment Share on other sites More sharing options...
hellomoto Posted March 13 Author Share Posted March 13 Anything echo'd in ready.php or finished.php shows in the console, not init.php Link to comment Share on other sites More sharing options...
adrian Posted March 13 Share Posted March 13 6 minutes ago, hellomoto said: Anything echo'd in ready.php or finished.php shows in the console, not init.php Sorry, I don't think I am understanding what you are seeing. Can you please post the code that is causing the problem and a screenshot showing the echo'd code in the console? Link to comment Share on other sites More sharing options...
hellomoto Posted March 13 Author Share Posted March 13 `echo "hello";` in ready.php or finished.php `hello` in console output (running nothing) sorry if I understand it better I'll explain rather than posting intermittently Link to comment Share on other sites More sharing options...
adrian Posted March 13 Share Posted March 13 I tried that before, but I don't see anything being output in the console which is why I was hoping for a screenshot in case I wasn't understanding where you were seeing the echo'd output. Link to comment Share on other sites More sharing options...
adrian Posted March 13 Share Posted March 13 That said, I am not running on a multi-site setup so maybe that's the issue. Maybe it's due to a WireHttp call from one site to another? If you share that code, maybe I can test? Link to comment Share on other sites More sharing options...
hellomoto Posted March 13 Author Share Posted March 13 I removed the code but it wasn't fancy (wasn't version controlled), it's just how I noticed the issue in the first place. It doesn't happen if I echo something on ready.php in the same /site-sub/ I'm using the console on, only outputs from /site/ files. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now