You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- PHP Fatal error: Uncaught TypeError: ..., called in <mark>C:\foo\bar/themes/defaultspace/functions.php on line 605</mark>
57
57
- ... and defined in <mark>C:\foo\bar/themes/defaultspace/functions.php:63</mark>
58
+
- ✨Tip: Use this (php) [snippet in vscode](https://code.visualstudio.com/docs/editor/userdefinedsnippets) (and enjoy the links):
59
+
```json
60
+
"Log to error log": {
61
+
"prefix": "error_log",
62
+
"body": [
63
+
"error_log( \"$1\" . __FILE__ . ' on line ' . __LINE__ . \"\\n\" . print_r( $2, true ) );",
64
+
"$4"
65
+
],
66
+
"description": "Log array/object to error log."
67
+
}
68
+
```
58
69
59
70
## Ideas
60
71
- This was a single-file gui. As it went bigger we separated files (to improve readability). There could be a build-step which brings things back to a single file (like [adminer](https://github.com/vrana/adminer) uses).
0 commit comments