Skip to content
This repository has been archived by the owner on Mar 17, 2020. It is now read-only.

Unhandled errors and warnings #57

Open
dgmstuart opened this issue Sep 29, 2015 · 0 comments
Open

Unhandled errors and warnings #57

dgmstuart opened this issue Sep 29, 2015 · 0 comments

Comments

@dgmstuart
Copy link
Contributor

Getting the following errors and warnings - not showing up in the main output - only when i use the --show-everything flag.

I feel like these kind of errors should be handled at a higher level so that I can see an error message that actually relates to my code rather than to whippet internals:

2015-09-29 11:55:36] Warning: preg_match() expects parameter 2 to be string, object given in /Users/dxwduncan/Dev/whippet-server/lib/whippet.class.php at line 638
[2015-09-29 11:55:36] Recoverable error: Object of class Closure could not be converted to string in /Users/dxwduncan/Dev/whippet-server/lib/whippet.class.php at line 642
[2015-09-29 11:55:36] Warning: Illegal offset type in isset or empty in /Users/dxwduncan/Dev/whippet-server/lib/callback-cache.class.php at line 76
[2015-09-29 11:55:36] Recoverable error: Object of class Closure could not be converted to string in /Users/dxwduncan/Dev/whippet-server/lib/whippet.class.php at line 647
[2015-09-29 11:55:36] Warning: Illegal offset type in /Users/dxwduncan/Dev/whippet-server/lib/callback-cache.class.php at line 68
[2015-09-29 11:55:36] Warning: Illegal offset type in /Users/dxwduncan/Dev/whippet-server/lib/callback-cache.class.php at line 70
[2015-09-29 11:55:36] Warning: Illegal offset type in isset or empty in /Users/dxwduncan/Dev/whippet-server/lib/callback-cache.class.php at line 76
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant