processwire / processwire-issues

ProcessWire issue reports.
44 stars 2 forks source link

Going to example.com/trash/ gives a warning #1917

Closed jlahijani closed 4 months ago

jlahijani commented 5 months ago

I somehow ended up on example.com/trash/ (example.com being any ProcessWire site).

Going there shows "This page has no process assigned." which is right, but it also shows this warning in TracyDebugger:

Warning: Uninitialized string offset 0 in example.com/vendor/composer/ClassLoader.php:497
ryancramerdesign commented 4 months ago

@jlahijani You should see a "no process assigned" message if you happen to be logged in. Otherwise you should see a 404. The Tracy warning message appears to be coming from a file that is not part of ProcessWire, so I don't think I have the ability to fix that one.

jlahijani commented 4 months ago

You are right. I had a separate hook causing this.