-
Notifications
You must be signed in to change notification settings - Fork 79
/
Copy pathlog
1960 lines (1952 loc) · 289 KB
/
log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
PHPUnit 6.4.4 by Sebastian Bergmann and contributors.
.[41;37mF[0m[41;37mF[0m........ 11 / 11 (100%)
Time: 30.07 seconds, Memory: 10.00MB
There were 2 failures:
1) Tests\Feature\ExampleTest::testReplies
Expected status code 200 but received 500.
Failed asserting that false is true.
C:\Users\erik_\Documents\dev\cursos\son\praticos\forum-com-laravel\p\vendor\laravel\framework\src\Illuminate\Foundation\Testing\TestResponse.php:78
C:\Users\erik_\Documents\dev\cursos\son\praticos\forum-com-laravel\p\tests\Feature\ExampleTest.php:30
2) Tests\Feature\ExampleTest::testThreadVisualization
Failed asserting that '<!DOCTYPE html><!--\n
\n
\n
ErrorException: Call to a member function can() on null (View: C:\Users\erik_\Documents\dev\cursos\son\praticos\forum-com-laravel\p\resources\views\threads\view.blade.php) in file C:\Users\erik_\Documents\dev\cursos\son\praticos\forum-com-laravel\p\storage\framework\views\023d7c11e15af6b7c5004adb96c86cd6ad729f7f.php on line 12\n
Stack trace:\n
1. {main}() C:\Users\erik_\Documents\dev\cursos\son\praticos\forum-com-laravel\p\vendor\phpunit\phpunit\phpunit:0\n
2. Symfony\Component\Debug\Exception\FatalThrowableError->() C:\Users\erik_\Documents\dev\cursos\son\praticos\forum-com-laravel\p\storage\framework\views\023d7c11e15af6b7c5004adb96c86cd6ad729f7f.php:12\n
3. {main}() C:\Users\erik_\Documents\dev\cursos\son\praticos\forum-com-laravel\p\vendor\phpunit\phpunit\phpunit:0\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
--><html>\n
<head>\n
<meta charset="utf-8">\n
<meta name="robots" content="noindex,nofollow"/>\n
<title>Whoops! There was an error.</title>\n
\n
<style>body {\n
font: 12px "Helvetica Neue", helvetica, arial, sans-serif;\n
color: #131313;\n
background: #eeeeee;\n
padding:0;\n
margin: 0;\n
max-height: 100%;\n
\n
text-rendering: optimizeLegibility;\n
}\n
a {\n
text-decoration: none;\n
}\n
\n
.panel {\n
overflow-y: scroll;\n
height: 100%;\n
position: fixed;\n
margin: 0;\n
left: 0;\n
top: 0;\n
}\n
\n
.branding {\n
position: absolute;\n
top: 10px;\n
right: 20px;\n
color: #777777;\n
font-size: 10px;\n
z-index: 100;\n
}\n
.branding a {\n
color: #e95353;\n
}\n
\n
header {\n
color: white;\n
box-sizing: border-box;\n
background-color: #2a2a2a;\n
padding: 35px 40px;\n
max-height: 180px;\n
overflow: hidden;\n
transition: 0.5s;\n
}\n
\n
header.header-expand {\n
max-height: 1000px;\n
}\n
\n
.exc-title {\n
margin: 0;\n
color: #bebebe;\n
font-size: 14px;\n
}\n
.exc-title-primary {\n
color: #e95353;\n
}\n
\n
.exc-message {\n
font-size: 20px;\n
word-wrap: break-word;\n
margin: 4px 0 0 0;\n
color: white;\n
}\n
.exc-message span {\n
display: block;\n
}\n
.exc-message-empty-notice {\n
color: #a29d9d;\n
font-weight: 300;\n
}\n
\n
.details-container {\n
left: 30%;\n
width: 70%;\n
background: #fafafa;\n
}\n
.details {\n
padding: 5px;\n
}\n
\n
.details-heading {\n
color: #4288CE;\n
font-weight: 300;\n
padding-bottom: 10px;\n
margin-bottom: 10px;\n
border-bottom: 1px solid rgba(0, 0, 0, .1);\n
}\n
\n
.details pre.sf-dump {\n
white-space: pre;\n
word-wrap: inherit;\n
}\n
\n
.details pre.sf-dump,\n
.details pre.sf-dump .sf-dump-num,\n
.details pre.sf-dump .sf-dump-const,\n
.details pre.sf-dump .sf-dump-str,\n
.details pre.sf-dump .sf-dump-note,\n
.details pre.sf-dump .sf-dump-ref,\n
.details pre.sf-dump .sf-dump-public,\n
.details pre.sf-dump .sf-dump-protected,\n
.details pre.sf-dump .sf-dump-private,\n
.details pre.sf-dump .sf-dump-meta,\n
.details pre.sf-dump .sf-dump-key,\n
.details pre.sf-dump .sf-dump-index {\n
color: #463C54;\n
}\n
\n
.left-panel {\n
width: 30%;\n
background: #ded8d8;\n
}\n
\n
.frames-description {\n
background: rgba(0, 0, 0, .05);\n
padding: 8px 15px;\n
color: #a29d9d;\n
font-size: 11px;\n
}\n
\n
.frames-description.frames-description-application {\n
text-align: center;\n
font-size: 12px;\n
}\n
.frames-container.frames-container-application .frame:not(.frame-application) {\n
display: none;\n
}\n
\n
.frames-tab {\n
color: #a29d9d;\n
display: inline-block;\n
padding: 4px 8px;\n
margin: 0 2px;\n
border-radius: 3px;\n
}\n
\n
.frames-tab.frames-tab-active {\n
background-color: #2a2a2a;\n
color: #bebebe;\n
}\n
\n
.frame {\n
padding: 14px;\n
cursor: pointer;\n
transition: all 0.1s ease;\n
background: #eeeeee;\n
}\n
.frame:not(:last-child) {\n
border-bottom: 1px solid rgba(0, 0, 0, .05);\n
}\n
\n
.frame.active {\n
box-shadow: inset -5px 0 0 0 #4288CE;\n
color: #4288CE;\n
}\n
\n
.frame:not(.active):hover {\n
background: #BEE9EA;\n
}\n
\n
.frame-method-info {\n
margin-bottom: 10px;\n
}\n
\n
.frame-class, .frame-function, .frame-index {\n
font-size: 14px;\n
}\n
\n
.frame-index {\n
float: left;\n
}\n
\n
.frame-method-info {\n
margin-left: 24px;\n
}\n
\n
.frame-index {\n
font-size: 11px;\n
color: #a29d9d;\n
background-color: rgba(0, 0, 0, .05);\n
height: 18px;\n
width: 18px;\n
line-height: 18px;\n
border-radius: 5px;\n
padding: 0 1px 0 1px;\n
text-align: center;\n
display: inline-block;\n
}\n
\n
.frame-application .frame-index {\n
background-color: #2a2a2a;\n
color: #bebebe;\n
}\n
\n
.frame-file {\n
font-family: "Inconsolata", "Fira Mono", "Source Code Pro", Monaco, Consolas, "Lucida Console", monospace;\n
color: #a29d9d;\n
}\n
\n
.frame-file .editor-link {\n
color: #a29d9d;\n
}\n
\n
.frame-line {\n
font-weight: bold;\n
}\n
\n
.frame-line:before {\n
content: ":";\n
}\n
\n
.frame-code {\n
padding: 5px;\n
background: #303030;\n
display: none;\n
}\n
\n
.frame-code.active {\n
display: block;\n
}\n
\n
.frame-code .frame-file {\n
color: #a29d9d;\n
padding: 12px 6px;\n
\n
border-bottom: none;\n
}\n
\n
.code-block {\n
max-height: 345px;\n
overflow: hidden;\n
padding: 10px;\n
margin: 0;\n
border-radius: 6px;\n
box-shadow: 0 3px 0 rgba(0, 0, 0, .05),\n
0 10px 30px rgba(0, 0, 0, .05),\n
inset 0 0 1px 0 rgba(255, 255, 255, .07);\n
-moz-tab-size: 4;\n
-o-tab-size: 4;\n
tab-size: 4;\n
}\n
\n
.linenums {\n
margin: 0;\n
margin-left: 10px;\n
}\n
\n
.frame-comments {\n
border-top: none;\n
margin-top: 15px;\n
\n
font-size: 12px;\n
}\n
\n
.frame-comments.empty {\n
}\n
\n
.frame-comments.empty:before {\n
content: "No comments for this stack frame.";\n
font-weight: 300;\n
color: #a29d9d;\n
}\n
\n
.frame-comment {\n
padding: 10px;\n
color: #e3e3e3;\n
border-radius: 6px;\n
background-color: rgba(255, 255, 255, .05);\n
}\n
.frame-comment a {\n
font-weight: bold;\n
text-decoration: none;\n
}\n
.frame-comment a:hover {\n
color: #4bb1b1;\n
}\n
\n
.frame-comment:not(:last-child) {\n
border-bottom: 1px dotted rgba(0, 0, 0, .3);\n
}\n
\n
.frame-comment-context {\n
font-size: 10px;\n
color: white;\n
}\n
\n
.delimiter {\n
display: inline-block;\n
}\n
\n
.data-table-container label {\n
font-size: 16px;\n
color: #303030;\n
font-weight: bold;\n
margin: 10px 0;\n
\n
display: block;\n
\n
margin-bottom: 5px;\n
padding-bottom: 5px;\n
}\n
.data-table {\n
width: 100%;\n
margin-bottom: 10px;\n
}\n
\n
.data-table tbody {\n
font: 13px "Inconsolata", "Fira Mono", "Source Code Pro", Monaco, Consolas, "Lucida Console", monospace;\n
}\n
\n
.data-table thead {\n
display: none;\n
}\n
\n
.data-table tr {\n
padding: 5px 0;\n
}\n
\n
.data-table td:first-child {\n
width: 20%;\n
min-width: 130px;\n
overflow: hidden;\n
font-weight: bold;\n
color: #463C54;\n
padding-right: 5px;\n
\n
}\n
\n
.data-table td:last-child {\n
width: 80%;\n
-ms-word-break: break-all;\n
word-break: break-all;\n
word-break: break-word;\n
-webkit-hyphens: auto;\n
-moz-hyphens: auto;\n
hyphens: auto;\n
}\n
\n
.data-table span.empty {\n
color: rgba(0, 0, 0, .3);\n
font-weight: 300;\n
}\n
.data-table label.empty {\n
display: inline;\n
}\n
\n
.handler {\n
padding: 4px 0;\n
font: 14px "Inconsolata", "Fira Mono", "Source Code Pro", Monaco, Consolas, "Lucida Console", monospace;\n
}\n
\n
/* prettify code style\n
Uses the Doxy theme as a base */\n
pre .str, code .str { color: #BCD42A; } /* string */\n
pre .kwd, code .kwd { color: #4bb1b1; font-weight: bold; } /* keyword*/\n
pre .com, code .com { color: #888; font-weight: bold; } /* comment */\n
pre .typ, code .typ { color: #ef7c61; } /* type */\n
pre .lit, code .lit { color: #BCD42A; } /* literal */\n
pre .pun, code .pun { color: #fff; font-weight: bold; } /* punctuation */\n
pre .pln, code .pln { color: #e9e4e5; } /* plaintext */\n
pre .tag, code .tag { color: #4bb1b1; } /* html/xml tag */\n
pre .htm, code .htm { color: #dda0dd; } /* html tag */\n
pre .xsl, code .xsl { color: #d0a0d0; } /* xslt tag */\n
pre .atn, code .atn { color: #ef7c61; font-weight: normal;} /* html/xml attribute name */\n
pre .atv, code .atv { color: #bcd42a; } /* html/xml attribute value */\n
pre .dec, code .dec { color: #606; } /* decimal */\n
pre.code-block, code.code-block, .frame-args.code-block, .frame-args.code-block samp {\n
font-family: "Inconsolata", "Fira Mono", "Source Code Pro", Monaco, Consolas, "Lucida Console", monospace;\n
background: #333;\n
color: #e9e4e5;\n
}\n
pre.code-block {\n
white-space: pre-wrap;\n
}\n
\n
pre.code-block a, code.code-block a {\n
text-decoration:none;\n
}\n
\n
.linenums li {\n
color: #A5A5A5;\n
}\n
\n
.linenums li.current{\n
background: rgba(255, 100, 100, .07);\n
}\n
.linenums li.current.active {\n
background: rgba(255, 100, 100, .17);\n
}\n
\n
pre:not(.prettyprinted) {\n
padding-left: 60px;\n
}\n
\n
#plain-exception {\n
display: none;\n
}\n
\n
#copy-button {\n
cursor: pointer;\n
border: 0;\n
}\n
\n
.clipboard {\n
opacity: .8;\n
background: none;\n
\n
color: rgba(255, 255, 255, 0.1);\n
box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.1);\n
\n
border-radius: 3px;\n
\n
outline: none !important;\n
}\n
\n
.clipboard:hover {\n
box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.3);\n
color: rgba(255, 255, 255, 0.3);\n
}\n
\n
/* inspired by githubs kbd styles */\n
kbd {\n
-moz-border-bottom-colors: none;\n
-moz-border-left-colors: none;\n
-moz-border-right-colors: none;\n
-moz-border-top-colors: none;\n
background-color: #fcfcfc;\n
border-color: #ccc #ccc #bbb;\n
border-image: none;\n
border-style: solid;\n
border-width: 1px;\n
color: #555;\n
display: inline-block;\n
font-size: 11px;\n
line-height: 10px;\n
padding: 3px 5px;\n
vertical-align: middle;\n
}\n
\n
\n
/* == Media queries */\n
\n
/* Expand the spacing in the details section */\n
@media (min-width: 1000px) {\n
.details, .frame-code {\n
padding: 20px 40px;\n
}\n
\n
.details-container {\n
left: 32%;\n
width: 68%;\n
}\n
\n
.frames-container {\n
margin: 5px;\n
}\n
\n
.left-panel {\n
width: 32%;\n
}\n
}\n
\n
.tooltipped {\n
position: relative\n
}\n
.tooltipped:after {\n
position: absolute;\n
z-index: 1000000;\n
display: none;\n
padding: 5px 8px;\n
color: #fff;\n
text-align: center;\n
text-decoration: none;\n
text-shadow: none;\n
text-transform: none;\n
letter-spacing: normal;\n
word-wrap: break-word;\n
white-space: pre;\n
pointer-events: none;\n
content: attr(aria-label);\n
background: rgba(0, 0, 0, 0.8);\n
border-radius: 3px;\n
-webkit-font-smoothing: subpixel-antialiased\n
}\n
.tooltipped:before {\n
position: absolute;\n
z-index: 1000001;\n
display: none;\n
width: 0;\n
height: 0;\n
color: rgba(0, 0, 0, 0.8);\n
pointer-events: none;\n
content: "";\n
border: 5px solid transparent\n
}\n
.tooltipped:hover:before,\n
.tooltipped:hover:after,\n
.tooltipped:active:before,\n
.tooltipped:active:after,\n
.tooltipped:focus:before,\n
.tooltipped:focus:after {\n
display: inline-block;\n
text-decoration: none\n
}\n
.tooltipped-s:after {\n
top: 100%;\n
right: 50%;\n
margin-top: 5px\n
}\n
.tooltipped-s:before {\n
top: auto;\n
right: 50%;\n
bottom: -5px;\n
margin-right: -5px;\n
border-bottom-color: rgba(0, 0, 0, 0.8)\n
}\n
\n
pre.sf-dump {\n
padding: 0px !important;\n
margin: 0px !important;\n
}\n
\n
.search-for-help {\n
width: 85%;\n
padding: 0;\n
margin: 10px 0;\n
list-style-type: none;\n
display: inline-block;\n
}\n
.search-for-help li {\n
display: inline-block;\n
margin-right: 5px;\n
}\n
.search-for-help li:last-child {\n
margin-right: 0;\n
}\n
.search-for-help li a {\n
\n
}\n
.search-for-help li a i {\n
width: 16px;\n
height: 16px;\n
overflow: hidden;\n
display: block;\n
}\n
.search-for-help li a svg {\n
fill: #fff;\n
}\n
.search-for-help li a svg path {\n
background-size: contain;\n
}\n
</style>\n
</head>\n
<body>\n
\n
<div class="Whoops container">\n
<div class="stack-container">\n
\n
<div class="panel left-panel cf ">\n
<header>\n
<div class="exception">\n
<div class="exc-title">\n
<span class="exc-title-primary">ErrorException</span>\n
<span title="Exception Code">(E_ERROR)</span>\n
</div>\n
\n
<div class="exc-message">\n
<span>Call to a member function can() on null (View: C:\Users\erik_\Documents\dev\cursos\son\praticos\forum-com-laravel\p\resources\views\threads\view.blade.php)</span>\n
\n
<ul class="search-for-help">\n
<li>\n
<a rel="noopener noreferrer" target="_blank" href="https://google.com/search?q=ErrorException+Call+to+a+member+function+can%28%29+on+null+%28View%3A+C%3A%5CUsers%5Cerik_%5CDocuments%5Cdev%5Ccursos%5Cson%5Cpraticos%5Cforum-com-laravel%5Cp%5Cresources%5Cviews%5Cthreads%5Cview.blade.php%29" title="Search for help on Google.">\n
<!-- Google icon by Alfredo H, from https://www.iconfinder.com/alfredoh -->\n
<!-- Creative Commons (Attribution 3.0 Unported) -->\n
<!-- http://creativecommons.org/licenses/by/3.0/ -->\n
<svg class="google" height="16" viewBox="0 0 512 512" width="16" xmlns="http://www.w3.org/2000/svg">\n
<path d="M457.732 216.625c2.628 14.04 4.063 28.743 4.063 44.098C461.795 380.688 381.48 466 260.205 466c-116.024 0-210-93.977-210-210s93.976-210 210-210c56.703 0 104.076 20.867 140.44 54.73l-59.205 59.197v-.135c-22.046-21.002-50-31.762-81.236-31.762-69.297 0-125.604 58.537-125.604 127.84 0 69.29 56.306 127.97 125.604 127.97 62.87 0 105.653-35.966 114.46-85.313h-114.46v-81.902h197.528z"/>\n
</svg>\n
</a>\n
</li>\n
<li>\n
<a rel="noopener noreferrer" target="_blank" href="https://duckduckgo.com/?q=ErrorException+Call+to+a+member+function+can%28%29+on+null+%28View%3A+C%3A%5CUsers%5Cerik_%5CDocuments%5Cdev%5Ccursos%5Cson%5Cpraticos%5Cforum-com-laravel%5Cp%5Cresources%5Cviews%5Cthreads%5Cview.blade.php%29" title="Search for help on DuckDuckGo.">\n
<!-- DuckDuckGo icon by IconBaandar Team, from https://www.iconfinder.com/iconbaandar -->\n
<!-- Creative Commons (Attribution 3.0 Unported) -->\n
<!-- http://creativecommons.org/licenses/by/3.0/ -->\n
<svg class="duckduckgo" height="16" viewBox="150 150 1675 1675" width="16" xmlns="http://www.w3.org/2000/svg">\n
<path d="M1792 1024c0 204.364-80.472 398.56-224.955 543.04-144.483 144.48-338.68 224.95-543.044 224.95-204.36 0-398.56-80.47-543.04-224.95-144.48-144.482-224.95-338.676-224.95-543.04 0-204.365 80.47-398.562 224.96-543.045C625.44 336.47 819.64 256 1024 256c204.367 0 398.565 80.47 543.05 224.954C1711.532 625.437 1792 819.634 1792 1024zm-270.206 497.787C1654.256 1389.327 1728 1211.36 1728 1024c0-187.363-73.74-365.332-206.203-497.796C1389.332 393.74 1211.363 320 1024 320s-365.33 73.742-497.795 206.205C393.742 658.67 320 836.637 320 1024c0 187.36 73.744 365.326 206.206 497.787C658.67 1654.25 836.638 1727.99 1024 1727.99c187.362 0 365.33-73.74 497.794-206.203z"/>\n
<path d="M1438.64 1177.41c0-.03-.005-.017-.01.004l.01-.004z"/>\n
<path d="M1499.8 976.878c.03-.156-.024-.048-.11.107l.11-.107z"/>\n
<path d="M1105.19 991.642zm-68.013-376.128c-8.087-10.14-18.028-19.965-29.89-29.408-13.29-10.582-29-20.76-47.223-30.443-35.07-18.624-74.482-31.61-115.265-38.046-39.78-6.28-80.84-6.256-120.39.917l1.37 31.562c1.8.164 7.7 3.9 14.36 8.32-20.68 5.94-39.77 14.447-39.48 39.683l.2 17.48 17.3-1.73c29.38-2.95 60.17-2.06 90.32 2.61 9.21 1.42 18.36 3.2 27.38 5.32l-4.33 1.15c-20.45 5.58-38.93 12.52-54.25 20.61-46.28 24.32-75.51 60.85-90.14 108.37-14.14 45.95-14.27 101.81-2.72 166.51l.06.06c15.14 84.57 64.16 316.39 104.11 505.39 19.78 93.59 37.38 176.83 47.14 224.4 3.26 15.84 5.03 31.02 5.52 45.52.3 9.08.09 17.96-.58 26.62-.45 5.8-1.11 11.51-1.96 17.112l31.62 4.75c.71-4.705 1.3-9.494 1.76-14.373 48.964 10.517 99.78 16.05 151.88 16.05 60.68 0 119.61-7.505 175.91-21.64 3.04 6.08 6.08 12.19 9.11 18.32l28.62-14.128c-2.11-4.27-4.235-8.55-6.37-12.84-23.005-46.124-47.498-93.01-68.67-133.534-15.39-29.466-29.01-55.53-39.046-75.58-26.826-53.618-53.637-119.47-68.28-182.368-8.78-37.705-13.128-74.098-10.308-105.627-15.31-6.28-26.69-11.8-31.968-15.59l-.01.015c-14.22-10.2-31.11-28.12-41.82-49.717-8.618-17.376-13.4-37.246-10.147-57.84 3.17-19.84 27.334-46.714 57.843-67.46v-.063c26.554-18.05 58.75-32.506 86.32-34.31 7.835-.51 16.31-1.008 23.99-1.45 33.45-1.95 50.243-2.93 84.475-11.42 10.88-2.697 26.19-6.56 43.53-11.09 2.364-40.7-5.947-87.596-21.04-133.234-22.004-66.53-58.68-131.25-97.627-170.21-12.543-12.55-28.17-22.79-45.9-30.933-16.88-7.753-35.64-13.615-55.436-17.782zm-10.658 178.553s6.77-42.485 58.39-33.977c27.96 4.654 37.89 29.833 37.89 29.833s-25.31-14.46-44.95-14.198c-40.33.53-51.35 18.342-51.35 18.342zm-240.45-18.802c48.49-19.853 72.11 11.298 72.11 11.298s-35.21-15.928-69.46 5.59c-34.19 21.477-32.92 43.452-32.92 43.452s-18.17-40.5 30.26-60.34zm296.5 95.4c0-6.677 2.68-12.694 7.01-17.02 4.37-4.37 10.42-7.074 17.1-7.074 6.73 0 12.79 2.7 17.15 7.05 4.33 4.33 7.01 10.36 7.01 17.05 0 6.74-2.7 12.81-7.07 17.18-4.33 4.33-10.37 7.01-17.1 7.01-6.68 0-12.72-2.69-17.05-7.03-4.36-4.37-7.07-10.43-7.07-17.16zm-268.42 51.27c0-8.535 3.41-16.22 8.93-21.738 5.55-5.55 13.25-8.982 21.81-8.982 8.51 0 16.18 3.415 21.7 8.934 5.55 5.55 8.98 13.25 8.98 21.78 0 8.53-3.44 16.23-8.98 21.79-5.52 5.52-13.19 8.93-21.71 8.93-8.55 0-16.26-3.43-21.82-8.99-5.52-5.52-8.93-13.2-8.93-21.74z"/>\n
<path d="M1102.48 986.34zm390.074-64.347c-28.917-11.34-74.89-12.68-93.32-3.778-11.5 5.567-35.743 13.483-63.565 21.707-25.75 7.606-53.9 15.296-78.15 21.702-17.69 4.67-33.3 8.66-44.4 11.435-34.92 8.76-52.05 9.77-86.17 11.78-7.84.46-16.48.97-24.48 1.5-28.12 1.86-60.97 16.77-88.05 35.4v.06c-31.12 21.4-55.77 49.12-59.01 69.59-3.32 21.24 1.56 41.74 10.35 59.67 10.92 22.28 28.15 40.77 42.66 51.29l.01-.02c5.38 3.9 16.98 9.6 32.6 16.08 26.03 10.79 63.2 23.76 101.25 34.23 43.6 11.99 89.11 21.05 121.69 20.41 34.26-.69 77.73-10.52 114.54-24.67 22.15-8.52 42.21-18.71 56.88-29.58 17.85-13.22 28.7-28.42 28.4-44.74-.07-3.89-.72-7.63-1.97-11.21l-.02.01c-11.6-33.06-50.37-23.59-105.53-10.12-46.86 11.445-107.94 26.365-169.01 20.434-32.56-3.167-54.45-10.61-67.88-20.133-5.96-4.224-9.93-8.67-12.18-13.11-1.96-3.865-2.68-7.84-2.33-11.714.39-4.42 2.17-9.048 5.1-13.57l-.05-.03c7.86-12.118 23.082-9.72 43.93-6.43 25.91 4.08 58.2 9.172 99.013-3.61 39.63-12.378 87.76-29.9 131.184-47.39 42.405-17.08 80.08-34.078 100.74-46.18 25.46-14.87 37.57-29.428 40.59-42.866 2.725-12.152-.89-22.48-8.903-31.07-5.87-6.29-14.254-11.31-23.956-15.115z"/>\n
</svg>\n
</a>\n
</li>\n
<li>\n
<a rel="noopener noreferrer" target="_blank" href="https://stackoverflow.com/search?q=ErrorException+Call+to+a+member+function+can%28%29+on+null+%28View%3A+C%3A%5CUsers%5Cerik_%5CDocuments%5Cdev%5Ccursos%5Cson%5Cpraticos%5Cforum-com-laravel%5Cp%5Cresources%5Cviews%5Cthreads%5Cview.blade.php%29" title="Search for help on Stack Overflow.">\n
<!-- Stack Overflow icon by Picons.me, from https://www.iconfinder.com/Picons -->\n
<!-- Free for commercial use -->\n
<svg class="stackoverflow" height="16" viewBox="-1163 1657.697 56.693 56.693" width="16" xmlns="http://www.w3.org/2000/svg">\n
<path d="M-1126.04 1689.533l-16.577-9.778 2.088-3.54 16.578 9.778zM-1127.386 1694.635l-18.586-4.996 1.068-3.97 18.586 4.995zM-1127.824 1700.137l-19.165-1.767.378-4.093 19.165 1.767zM-1147.263 1701.293h19.247v4.11h-19.247z"/>\n
<path d="M-1121.458 1710.947s0 .96-.032.96v.016h-30.796s-.96 0-.96-.016h-.032v-20.03h3.288v16.805h25.244v-16.804h3.288v19.07zM-1130.667 1667.04l10.844 15.903-3.396 2.316-10.843-15.903zM-1118.313 1663.044l3.29 18.963-4.05.703-3.29-18.963z"/>\n
</svg>\n
</a>\n
</li>\n
</ul>\n
\n
<span id="plain-exception">ErrorException thrown with message "Call to a member function can() on null (View: C:\Users\erik_\Documents\dev\cursos\son\praticos\forum-com-laravel\p\resources\views\threads\view.blade.php)"\n
\n
Stacktrace:\n
#2 {main} in C:\Users\erik_\Documents\dev\cursos\son\praticos\forum-com-laravel\p\vendor\phpunit\phpunit\phpunit:0\n
#1 Symfony\Component\Debug\Exception\FatalThrowableError in C:\Users\erik_\Documents\dev\cursos\son\praticos\forum-com-laravel\p\storage\framework\views\023d7c11e15af6b7c5004adb96c86cd6ad729f7f.php:12\n
#0 {main} in C:\Users\erik_\Documents\dev\cursos\son\praticos\forum-com-laravel\p\vendor\phpunit\phpunit\phpunit:0\n
</span>\n
<button id="copy-button" class="clipboard" data-clipboard-text="ErrorException thrown with message "Call to a member function can() on null (View: C:\Users\erik_\Documents\dev\cursos\son\praticos\forum-com-laravel\p\resources\views\threads\view.blade.php)"\n
\n
Stacktrace:\n
#2 {main} in C:\Users\erik_\Documents\dev\cursos\son\praticos\forum-com-laravel\p\vendor\phpunit\phpunit\phpunit:0\n
#1 Symfony\Component\Debug\Exception\FatalThrowableError in C:\Users\erik_\Documents\dev\cursos\son\praticos\forum-com-laravel\p\storage\framework\views\023d7c11e15af6b7c5004adb96c86cd6ad729f7f.php:12\n
#0 {main} in C:\Users\erik_\Documents\dev\cursos\son\praticos\forum-com-laravel\p\vendor\phpunit\phpunit\phpunit:0\n
" title="Copy exception details to clipboard">\n
COPY\n
</button>\n
</div>\n
</div>\n
</header>\n
<div class="frames-description frames-description-application">\n
<span href="#" id="application-frames-tab" class="frames-tab">\n
Application frames (1)\n
</span>\n
<a href="#" id="all-frames-tab" class="frames-tab frames-tab-active">\n
All frames (3)\n
</a>\n
</div><div class="frames-container ">\n
<div class="frame active " id="frame-line-0">\n
<span class="frame-index">2</span>\n
<div class="frame-method-info">\n
<span class="frame-class"><div class="delimiter"></div></span>\n
<span class="frame-function"><div class="delimiter">{main}</div></span>\n
</div>\n
\n
<div class="frame-file">\n
<div class="delimiter">…\vendor\phpunit\phpunit\phpunit</div><!--\n
--><span class="frame-line">0</span>\n
</div>\n
</div>\n
<div class="frame frame-application" id="frame-line-1">\n
<span class="frame-index">1</span>\n
<div class="frame-method-info">\n
<span class="frame-class"><div class="delimiter">Symfony</div>\<div class="delimiter">Component</div>\<div class="delimiter">Debug</div>\<div class="delimiter">Exception</div>\<div class="delimiter">FatalThrowableError</div></span>\n
<span class="frame-function"><div class="delimiter"></div></span>\n
</div>\n
\n
<div class="frame-file">\n
<div class="delimiter">…\storage\framework\views\023d7c11e15af6b7c5004adb96c86cd6ad729f7f.php</div><!--\n
--><span class="frame-line">12</span>\n
</div>\n
</div>\n
<div class="frame " id="frame-line-2">\n
<span class="frame-index">0</span>\n
<div class="frame-method-info">\n
<span class="frame-class"><div class="delimiter"></div></span>\n
<span class="frame-function"><div class="delimiter">{main}</div></span>\n
</div>\n
\n
<div class="frame-file">\n
<div class="delimiter">…\vendor\phpunit\phpunit\phpunit</div><!--\n
--><span class="frame-line">0</span>\n
</div>\n
</div>\n
</div></div>\n
<div class="panel details-container cf">\n
<div class="frame-code-container ">\n
<div class="frame-code active" id="frame-code-0">\n
<div class="frame-file">\n
<strong><div class="delimiter">C:\Users\erik_\Documents\dev\cursos\son\praticos\forum-com-laravel\p\vendor\phpunit\phpunit\phpunit</div></strong>\n
</div>\n
<pre id="frame-code-linenums-0" class="code-block linenums:1">#!/usr/bin/env php\n
<?php\n
/*\n
* This file is part of PHPUnit.\n
*\n
* (c) Sebastian Bergmann <[email protected]>\n
*\n
* For the full copyright and license information, please view the LICENSE\n
* file that was distributed with this source code.\n
*/\n
\n
if (version_compare('7.0.0', PHP_VERSION, '>')) {\n
fwrite(\n
STDERR,\n
sprintf(\n
'This version of PHPUnit is supported on PHP 7.0 and PHP 7.1.' . PHP_EOL .\n
'You are using PHP %s (%s).' . PHP_EOL,\n
PHP_VERSION,\n
PHP_BINARY\n
)\n
);\n
\n
die(1);\n
}\n
\n
if (!ini_get('date.timezone')) {\n
ini_set('date.timezone', 'UTC');\n
}\n
\n
foreach (array(__DIR__ . '/../../autoload.php', __DIR__ . '/../vendor/autoload.php', __DIR__ . '/vendor/autoload.php') as $file) {\n
if (file_exists($file)) {\n
define('PHPUNIT_COMPOSER_INSTALL', $file);\n
\n
break;\n
}\n
}\n
\n
unset($file);\n
\n
if (!defined('PHPUNIT_COMPOSER_INSTALL')) {</pre>\n
\n
\n
\n
<div class="frame-comments empty">\n
</div>\n
\n
</div>\n
<div class="frame-code " id="frame-code-1">\n
<div class="frame-file">\n
<strong><div class="delimiter">C:\Users\erik_\Documents\dev\cursos\son\praticos\forum-com-laravel\p\storage\framework\views\023d7c11e15af6b7c5004adb96c86cd6ad729f7f.php</div></strong>\n
</div>\n
<pre id="frame-code-linenums-1" class="code-block linenums:1"><?php $__env->startSection('content'); ?>\n
<div class="container">\n
<h3><?php echo e($result->title); ?></h3>\n
\n
<div class="card grey lighten-4">\n
<div class="card-content">\n
<?php echo e($result->body); ?>\n
\n
</div>\n
<div class="card-action">\n
<?php if(\Auth::user()->can('update', $result)): ?>\n
<a href="/threads/<?php echo e($result->id); ?>/edit"><?php echo e(__('Edit')); ?></a>\n
<?php endif; ?>\n
<a href="/"><?php echo e(__('Back')); ?></a>\n
</div>\n
</div>\n
\n
<replies\n
replied="<?php echo e(__('replied')); ?>"\n
reply="<?php echo e(__('Reply')); ?>"\n
your-answer="<?php echo e(__('Your answer')); ?>"\n
send="<?php echo e(__('Send')); ?>"\n
thread-id="<?php echo e($result->id); ?>"\n
>\n
<?php echo $__env->make('layouts.default.preloader', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>\n
</replies>\n
\n
</div>\n
<?php $__env->stopSection(); ?>\n
\n
<?php $__env->startSection('scripts'); ?>\n
<script src="/js/replies.js"></script>\n
<?php $__env->stopSection(); ?>\n
\r\n
<?php echo $__env->make('layouts.default', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?></pre>\n
\n
\n
<div class="frame-file">\n
Arguments\n
</div>\n
<div id="frame-code-args-1" class="code-block frame-args">\n
<ol class="linenums"><li><script> Sfdump = window.Sfdump || (function (doc) { var refStyle = doc.createElement('style'), rxEsc = /([.*+?^${}()|\[\]\/\\])/g, idRx = /\bsf-dump-\d+-ref[012]\w+\b/, keyHint = 0 <= navigator.platform.toUpperCase().indexOf('MAC') ? 'Cmd' : 'Ctrl', addEventListener = function (e, n, cb) { e.addEventListener(n, cb, false); }; (doc.documentElement.firstElementChild || doc.documentElement.children[0]).appendChild(refStyle); if (!doc.addEventListener) { addEventListener = function (element, eventName, callback) { element.attachEvent('on' + eventName, function (e) { e.preventDefault = function () {e.returnValue = false;}; e.target = e.srcElement; callback(e); }); }; } function toggle(a, recursive) { var s = a.nextSibling || {}, oldClass = s.className, arrow, newClass; if (/\bsf-dump-compact\b/.test(oldClass)) { arrow = '▼'; newClass = 'sf-dump-expanded'; } else if (/\bsf-dump-expanded\b/.test(oldClass)) { arrow = '▶'; newClass = 'sf-dump-compact'; } else { return false; } if (doc.createEvent && s.dispatchEvent) { var event = doc.createEvent('Event'); event.initEvent('sf-dump-expanded' === newClass ? 'sfbeforedumpexpand' : 'sfbeforedumpcollapse', true, false); s.dispatchEvent(event); } a.lastChild.innerHTML = arrow; s.className = s.className.replace(/\bsf-dump-(compact|expanded)\b/, newClass); if (recursive) { try { a = s.querySelectorAll('.'+oldClass); for (s = 0; s < a.length; ++s) { if (-1 == a[s].className.indexOf(newClass)) { a[s].className = newClass; a[s].previousSibling.lastChild.innerHTML = arrow; } } } catch (e) { } } return true; }; function collapse(a, recursive) { var s = a.nextSibling || {}, oldClass = s.className; if (/\bsf-dump-expanded\b/.test(oldClass)) { toggle(a, recursive); return true; } return false; }; function expand(a, recursive) { var s = a.nextSibling || {}, oldClass = s.className; if (/\bsf-dump-compact\b/.test(oldClass)) { toggle(a, recursive); return true; } return false; }; function collapseAll(root) { var a = root.querySelector('a.sf-dump-toggle'); if (a) { collapse(a, true); expand(a); return true; } return false; } function reveal(node) { var previous, parents = []; while ((node = node.parentNode || {}) && (previous = node.previousSibling) && 'A' === previous.tagName) { parents.push(previous); } if (0 !== parents.length) { parents.forEach(function (parent) { expand(parent); }); return true; } return false; } function highlight(root, activeNode, nodes) { resetHighlightedNodes(root); Array.from(nodes||[]).forEach(function (node) { if (!/\bsf-dump-highlight\b/.test(node.className)) { node.className = node.className + ' sf-dump-highlight'; } }); if (!/\bsf-dump-highlight-active\b/.test(activeNode.className)) { activeNode.className = activeNode.className + ' sf-dump-highlight-active'; } } function resetHighlightedNodes(root) { Array.from(root.querySelectorAll('.sf-dump-str, .sf-dump-key, .sf-dump-public, .sf-dump-protected, .sf-dump-private')).forEach(function (strNode) { strNode.className = strNode.className.replace(/\bsf-dump-highlight\b/, ''); strNode.className = strNode.className.replace(/\bsf-dump-highlight-active\b/, ''); }); } return function (root, x) { root = doc.getElementById(root); var indentRx = new RegExp('^('+(root.getAttribute('data-indent-pad') || ' ').replace(rxEsc, '\\$1')+')+', 'm'), options = {"maxDepth":1,"maxStringLength":160,"fileLinkFormat":false}, elt = root.getElementsByTagName('A'), len = elt.length, i = 0, s, h, t = []; while (i < len) t.push(elt[i++]); for (i in x) { options[i] = x[i]; } function a(e, f) { addEventListener(root, e, function (e) { if ('A' == e.target.tagName) { f(e.target, e); } else if ('A' == e.target.parentNode.tagName) { f(e.target.parentNode, e); } else if (e.target.nextElementSibling && 'A' == e.target.nextElementSibling.tagName) { f(e.target.nextElementSibling, e, true); } }); }; function isCtrlKey(e) { return e.ctrlKey || e.metaKey; } function xpathString(str) { var parts = str.match(/[^'"]+|['"]/g).map(function (part) { if ("'" == part) { return '"\'"'; } if ('"' == part) { return "'\"'"; } return "'" + part + "'"; }); return "concat(" + parts.join(",") + ", '')"; } addEventListener(root, 'mouseover', function (e) { if ('' != refStyle.innerHTML) { refStyle.innerHTML = ''; } }); a('mouseover', function (a, e, c) { if (c) { e.target.style.cursor = "pointer"; } else if (a = idRx.exec(a.className)) { try { refStyle.innerHTML = 'pre.sf-dump .'+a[0]+'{background-color: #B729D9; color: #FFF !important; border-radius: 2px}'; } catch (e) { } } }); a('click', function (a, e, c) { if (/\bsf-dump-toggle\b/.test(a.className)) { e.preventDefault(); if (!toggle(a, isCtrlKey(e))) { var r = doc.getElementById(a.getAttribute('href').substr(1)), s = r.previousSibling, f = r.parentNode, t = a.parentNode; t.replaceChild(r, a); f.replaceChild(a, s); t.insertBefore(s, r); f = f.firstChild.nodeValue.match(indentRx); t = t.firstChild.nodeValue.match(indentRx); if (f && t && f[0] !== t[0]) { r.innerHTML = r.innerHTML.replace(new RegExp('^'+f[0].replace(rxEsc, '\\$1'), 'mg'), t[0]); } if (/\bsf-dump-compact\b/.test(r.className)) { toggle(s, isCtrlKey(e)); } } if (c) { } else if (doc.getSelection) { try { doc.getSelection().removeAllRanges(); } catch (e) { doc.getSelection().empty(); } } else { doc.selection.empty(); } } else if (/\bsf-dump-str-toggle\b/.test(a.className)) { e.preventDefault(); e = a.parentNode.parentNode; e.className = e.className.replace(/\bsf-dump-str-(expand|collapse)\b/, a.parentNode.className); } }); elt = root.getElementsByTagName('SAMP'); len = elt.length; i = 0; while (i < len) t.push(elt[i++]); len = t.length; for (i = 0; i < len; ++i) { elt = t[i]; if ('SAMP' == elt.tagName) { elt.className = 'sf-dump-expanded'; a = elt.previousSibling || {}; if ('A' != a.tagName) { a = doc.createElement('A'); a.className = 'sf-dump-ref'; elt.parentNode.insertBefore(a, elt); } else { a.innerHTML += ' '; } a.title = (a.title ? a.title+'\n[' : '[')+keyHint+'+click] Expand all children'; a.innerHTML += '<span>▼</span>'; a.className += ' sf-dump-toggle'; x = 1; if ('sf-dump' != elt.parentNode.className) { x += elt.parentNode.getAttribute('data-depth')/1; } elt.setAttribute('data-depth', x); if (x > options.maxDepth) { toggle(a); } } else if (/\bsf-dump-ref\b/.test(elt.className) && (a = elt.getAttribute('href'))) { a = a.substr(1); elt.className += ' '+a; if (/[\[{]$/.test(elt.previousSibling.nodeValue)) { a = a != elt.nextSibling.id && doc.getElementById(a); try { s = a.nextSibling; elt.appendChild(a); s.parentNode.insertBefore(a, s); if (/^[@#]/.test(elt.innerHTML)) { elt.innerHTML += ' <span>▶</span>'; } else { elt.innerHTML = '<span>▶</span>'; elt.className = 'sf-dump-ref'; } elt.className += ' sf-dump-toggle'; } catch (e) { if ('&' == elt.innerHTML.charAt(0)) { elt.innerHTML = '…'; elt.className = 'sf-dump-ref'; } } } } } if (doc.evaluate && Array.from && root.children.length > 1) { root.setAttribute('tabindex', 0); SearchState = function () { this.nodes = []; this.idx = 0; }; SearchState.prototype = { next: function () { if (this.isEmpty()) { return this.current(); } this.idx = this.idx < (this.nodes.length - 1) ? this.idx + 1 : this.idx; return this.current(); }, previous: function () { if (this.isEmpty()) { return this.current(); } this.idx = this.idx > 0 ? this.idx - 1 : this.idx; return this.current(); }, isEmpty: function () { return 0 === this.count(); }, current: function () { if (this.isEmpty()) { return null; } return this.nodes[this.idx]; }, reset: function () { this.nodes = []; this.idx = 0; }, count: function () { return this.nodes.length; }, }; function showCurrent(state) { var currentNode = state.current(); if (currentNode) { reveal(currentNode); highlight(root, currentNode, state.nodes); } counter.textContent = (state.isEmpty() ? 0 : state.idx + 1) + ' of ' + state.count(); } var search = doc.createElement('div'); search.className = 'sf-dump-search-wrapper sf-dump-search-hidden'; search.innerHTML = ' <input type="text" class="sf-dump-search-input"> <span class="sf-dump-search-count">0 of 0<\/span> <button type="button" class="sf-dump-search-input-previous" tabindex="-1"> <svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <path d="M1683 1331l-166 165q-19 19-45 19t-45-19l-531-531-531 531q-19 19-45 19t-45-19l-166-165q-19-19-19-45.5t19-45.5l742-741q19-19 45-19t45 19l742 741q19 19 19 45.5t-19 45.5z"\/> <\/svg> <\/button> <button type="button" class="sf-dump-search-input-next" tabindex="-1"> <svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <path d="M1683 808l-742 741q-19 19-45 19t-45-19l-742-741q-19-19-19-45.5t19-45.5l166-165q19-19 45-19t45 19l531 531 531-531q19-19 45-19t45 19l166 165q19 19 19 45.5t-19 45.5z"\/> <\/svg> <\/button> '; root.insertBefore(search, root.firstChild); var state = new SearchState(); var searchInput = search.querySelector('.sf-dump-search-input'); var counter = search.querySelector('.sf-dump-search-count'); var searchInputTimer = 0; var previousSearchQuery = ''; addEventListener(searchInput, 'keyup', function (e) { var searchQuery = e.target.value; /* Don't perform anything if the pressed key didn't change the query */ if (searchQuery === previousSearchQuery) { return; } previousSearchQuery = searchQuery; clearTimeout(searchInputTimer); searchInputTimer = setTimeout(function () { state.reset(); collapseAll(root); resetHighlightedNodes(root); if ('' === searchQuery) { counter.textContent = '0 of 0'; return; } var xpathResult = doc.evaluate('//pre[@id="' + root.id + '"]//span[@class="sf-dump-str" or @class="sf-dump-key" or @class="sf-dump-public" or @class="sf-dump-protected" or @class="sf-dump-private"][contains(child::text(), ' + xpathString(searchQuery) + ')]', document, null, XPathResult.ORDERED_NODE_ITERATOR_TYPE, null); while (node = xpathResult.iterateNext()) state.nodes.push(node); showCurrent(state); }, 400); }); Array.from(search.querySelectorAll('.sf-dump-search-input-next, .sf-dump-search-input-previous')).forEach(function (btn) { addEventListener(btn, 'click', function (e) { e.preventDefault(); -1 !== e.target.className.indexOf('next') ? state.next() : state.previous(); searchInput.focus(); collapseAll(root); showCurrent(state); }) }); addEventListener(root, 'keydown', function (e) { var isSearchActive = !/\bsf-dump-search-hidden\b/.test(search.className); if ((114 === e.keyCode && !isSearchActive) || (isCtrlKey(e) && 70 === e.keyCode)) { /* F3 or CMD/CTRL + F */ e.preventDefault(); search.className = search.className.replace(/\bsf-dump-search-hidden\b/, ''); searchInput.focus(); } else if (isSearchActive) { if (27 === e.keyCode) { /* ESC key */ search.className += ' sf-dump-search-hidden'; e.preventDefault(); resetHighlightedNodes(root); searchInput.value = ''; } else if ( (isCtrlKey(e) && 71 === e.keyCode) /* CMD/CTRL + G */ || 13 === e.keyCode /* Enter */ || 114 === e.keyCode /* F3 */ ) { e.preventDefault(); e.shiftKey ? state.previous() : state.next(); collapseAll(root); showCurrent(state); } } }); } if (0 >= options.maxStringLength) { return; } try { elt = root.querySelectorAll('.sf-dump-str'); len = elt.length; i = 0; t = []; while (i < len) t.push(elt[i++]); len = t.length; for (i = 0; i < len; ++i) { elt = t[i]; s = elt.innerText || elt.textContent; x = s.length - options.maxStringLength; if (0 < x) { h = elt.innerHTML; elt[elt.innerText ? 'innerText' : 'textContent'] = s.substring(0, options.maxStringLength); elt.className += ' sf-dump-str-collapse'; elt.innerHTML = '<span class=sf-dump-str-collapse>'+h+'<a class="sf-dump-ref sf-dump-str-toggle" title="Collapse"> ◀</a></span>'+ '<span class=sf-dump-str-expand>'+elt.innerHTML+'<a class="sf-dump-ref sf-dump-str-toggle" title="'+x+' remaining characters"> ▶</a></span>'; } } } catch (e) { } }; })(document); </script><style> pre.sf-dump { display: block; white-space: pre; padding: 5px; } pre.sf-dump:after { content: ""; visibility: hidden; display: block; height: 0; clear: both; } pre.sf-dump span { display: inline; } pre.sf-dump .sf-dump-compact { display: none; } pre.sf-dump abbr { text-decoration: none; border: none; cursor: help; } pre.sf-dump a { text-decoration: none; cursor: pointer; border: 0; outline: none; color: inherit; } pre.sf-dump .sf-dump-ellipsis { display: inline-block; overflow: visible; text-overflow: ellipsis; max-width: 5em; white-space: nowrap; overflow: hidden; vertical-align: top; } pre.sf-dump .sf-dump-ellipsis+.sf-dump-ellipsis { max-width: none; } pre.sf-dump code { display:inline; padding:0; background:none; } .sf-dump-str-collapse .sf-dump-str-collapse { display: none; } .sf-dump-str-expand .sf-dump-str-expand { display: none; } .sf-dump-public.sf-dump-highlight, .sf-dump-protected.sf-dump-highlight, .sf-dump-private.sf-dump-highlight, .sf-dump-str.sf-dump-highlight, .sf-dump-key.sf-dump-highlight { background: rgba(111, 172, 204, 0.3); border: 1px solid #7DA0B1; border-radius: 3px; } .sf-dump-public.sf-dump-highlight-active, .sf-dump-protected.sf-dump-highlight-active, .sf-dump-private.sf-dump-highlight-active, .sf-dump-str.sf-dump-highlight-active, .sf-dump-key.sf-dump-highlight-active { background: rgba(253, 175, 0, 0.4); border: 1px solid #ffa500; border-radius: 3px; } pre.sf-dump .sf-dump-search-hidden { display: none; } pre.sf-dump .sf-dump-search-wrapper { float: right; font-size: 0; white-space: nowrap; max-width: 100%; text-align: right; } pre.sf-dump .sf-dump-search-wrapper > * { vertical-align: top; box-sizing: border-box; height: 21px; font-weight: normal; border-radius: 0; background: #FFF; color: #757575; border: 1px solid #BBB; } pre.sf-dump .sf-dump-search-wrapper > input.sf-dump-search-input { padding: 3px; height: 21px; font-size: 12px; border-right: none; width: 140px; border-top-left-radius: 3px; border-bottom-left-radius: 3px; color: #000; } pre.sf-dump .sf-dump-search-wrapper > .sf-dump-search-input-next, pre.sf-dump .sf-dump-search-wrapper > .sf-dump-search-input-previous { background: #F2F2F2; outline: none; border-left: none; font-size: 0; line-height: 0; } pre.sf-dump .sf-dump-search-wrapper > .sf-dump-search-input-next { border-top-right-radius: 3px; border-bottom-right-radius: 3px; } pre.sf-dump .sf-dump-search-wrapper > .sf-dump-search-input-next > svg, pre.sf-dump .sf-dump-search-wrapper > .sf-dump-search-input-previous > svg { pointer-events: none; width: 12px; height: 12px; } pre.sf-dump .sf-dump-search-wrapper > .sf-dump-search-count { display: inline-block; padding: 0 5px; margin: 0; border-left: none; line-height: 21px; font-size: 12px; }pre.sf-dump, pre.sf-dump .sf-dump-default{color:#FFFFFF; line-height:normal; font:12px "Inconsolata", "Fira Mono", "Source Code Pro", Monaco, Consolas, "Lucida Console", monospace !important; word-wrap: break-word; white-space: pre-wrap; position:relative; z-index:99999; word-break: normal}pre.sf-dump .sf-dump-num{color:#BCD42A}pre.sf-dump .sf-dump-const{color: #4bb1b1;}pre.sf-dump .sf-dump-str{color:#BCD42A}pre.sf-dump .sf-dump-note{color:#ef7c61}pre.sf-dump .sf-dump-ref{color:#A0A0A0}pre.sf-dump .sf-dump-public{color:#FFFFFF}pre.sf-dump .sf-dump-protected{color:#FFFFFF}pre.sf-dump .sf-dump-private{color:#FFFFFF}pre.sf-dump .sf-dump-meta{color:#FFFFFF}pre.sf-dump .sf-dump-key{color:#BCD42A}pre.sf-dump .sf-dump-index{color:#ef7c61}pre.sf-dump .sf-dump-ellipsis{color:#FF8400}</style><pre class=sf-dump id=sf-dump-2086419874 data-indent-pad=" ">"<span class=sf-dump-str title="39 characters">Call to a member function can() on null</span>"\n
</pre><script>Sfdump("sf-dump-2086419874")</script>\n
</li></ol> </div>\n
\n
<div class="frame-comments ">\n
<div class="frame-comment" id="comment-1-0">\n
<span class="frame-comment-context">Exception message:</span>\n
Call to a member function can() on null </div>\n
</div>\n
\n
</div>\n
<div class="frame-code " id="frame-code-2">\n
<div class="frame-file">\n
<strong><div class="delimiter">C:\Users\erik_\Documents\dev\cursos\son\praticos\forum-com-laravel\p\vendor\phpunit\phpunit\phpunit</div></strong>\n
</div>\n
<pre id="frame-code-linenums-2" class="code-block linenums:1">#!/usr/bin/env php\n
<?php\n
/*\n
* This file is part of PHPUnit.\n
*\n
* (c) Sebastian Bergmann <[email protected]>\n
*\n
* For the full copyright and license information, please view the LICENSE\n
* file that was distributed with this source code.\n
*/\n
\n
if (version_compare('7.0.0', PHP_VERSION, '>')) {\n
fwrite(\n
STDERR,\n
sprintf(\n
'This version of PHPUnit is supported on PHP 7.0 and PHP 7.1.' . PHP_EOL .\n
'You are using PHP %s (%s).' . PHP_EOL,\n
PHP_VERSION,\n
PHP_BINARY\n
)\n
);\n
\n
die(1);\n
}\n
\n
if (!ini_get('date.timezone')) {\n
ini_set('date.timezone', 'UTC');\n
}\n
\n
foreach (array(__DIR__ . '/../../autoload.php', __DIR__ . '/../vendor/autoload.php', __DIR__ . '/vendor/autoload.php') as $file) {\n
if (file_exists($file)) {\n
define('PHPUNIT_COMPOSER_INSTALL', $file);\n
\n
break;\n
}\n
}\n
\n
unset($file);\n
\n
if (!defined('PHPUNIT_COMPOSER_INSTALL')) {</pre>\n
\n
\n
\n
<div class="frame-comments empty">\n
</div>\n
\n
</div>\n
</div>\n
<div class="details">\n
<h2 class="details-heading">Environment & details:</h2>\n
\n
<div class="data-table-container" id="data-tables">\n
<div class="data-table" id="sg-get-data">\n
<label class="empty">GET Data</label>\n
<span class="empty">empty</span>\n
</div>\n
<div class="data-table" id="sg-post-data">\n
<label class="empty">POST Data</label>\n
<span class="empty">empty</span>\n
</div>\n
<div class="data-table" id="sg-files">\n
<label class="empty">Files</label>\n
<span class="empty">empty</span>\n
</div>\n
<div class="data-table" id="sg-cookies">\n
<label class="empty">Cookies</label>\n
<span class="empty">empty</span>\n
</div>\n
<div class="data-table" id="sg-session">\n
<label class="empty">Session</label>\n
<span class="empty">empty</span>\n
</div>\n
<div class="data-table" id="sg-serverrequest-data">\n
<label>Server/Request Data</label>\n
<table class="data-table">\n
<thead>\n
<tr>\n
<td class="data-table-k">Key</td>\n
<td class="data-table-v">Value</td>\n
</tr>\n
</thead>\n
<tr>\n
<td>ALLUSERSPROFILE</td>\n
<td><pre class=sf-dump id=sf-dump-1839566865 data-indent-pad=" ">"<span class=sf-dump-str title="14 characters">C:\ProgramData</span>"\n
</pre><script>Sfdump("sf-dump-1839566865")</script>\n
</td>\n
</tr>\n
<tr>\n
<td>ANDROID_HOME</td>\n
<td><pre class=sf-dump id=sf-dump-1999452073 data-indent-pad=" ">"<span class=sf-dump-str title="40 characters">C:\Users\erik_\AppData\Local\Android\sdk</span>"\n
</pre><script>Sfdump("sf-dump-1999452073")</script>\n
</td>\n
</tr>\n
<tr>\n
<td>ANSICON</td>\n
<td><pre class=sf-dump id=sf-dump-496388223 data-indent-pad=" ">"<span class=sf-dump-str title="17 characters">103x3000 (103x10)</span>"\n
</pre><script>Sfdump("sf-dump-496388223")</script>\n
</td>\n
</tr>\n
<tr>\n
<td>ANSICON_DEF</td>\n
<td><pre class=sf-dump id=sf-dump-84088611 data-indent-pad=" ">"<span class=sf-dump-str>7</span>"\n
</pre><script>Sfdump("sf-dump-84088611")</script>\n
</td>\n
</tr>\n
<tr>\n
<td>APPDATA</td>\n
<td><pre class=sf-dump id=sf-dump-1782011698 data-indent-pad=" ">"<span class=sf-dump-str title="30 characters">C:\Users\erik_\AppData\Roaming</span>"\n
</pre><script>Sfdump("sf-dump-1782011698")</script>\n
</td>\n
</tr>\n
<tr>\n
<td>asl_log</td>\n
<td><pre class=sf-dump id=sf-dump-96199059 data-indent-pad=" ">"<span class=sf-dump-str title="16 characters">Destination=file</span>"\n
</pre><script>Sfdump("sf-dump-96199059")</script>\n
</td>\n
</tr>\n
<tr>\n
<td>BIN_TARGET</td>\n
<td><pre class=sf-dump id=sf-dump-1201829428 data-indent-pad=" ">"<span class=sf-dump-str title="107 characters">C:\Users\erik_\Documents\dev\cursos\son\praticos\forum-com-laravel\p\vendor\bin\/../phpunit/phpunit/phpunit</span>"\n
</pre><script>Sfdump("sf-dump-1201829428")</script>\n
</td>\n
</tr>\n
<tr>\n
<td>ChocolateyInstall</td>\n
<td><pre class=sf-dump id=sf-dump-785135962 data-indent-pad=" ">"<span class=sf-dump-str title="25 characters">C:\ProgramData\chocolatey</span>"\n
</pre><script>Sfdump("sf-dump-785135962")</script>\n
</td>\n
</tr>\n
<tr>\n
<td>ChocolateyLastPathUpdate</td>\n
<td><pre class=sf-dump id=sf-dump-533173850 data-indent-pad=" ">"<span class=sf-dump-str title="24 characters">Fri Sep 29 11:23:07 2017</span>"\n
</pre><script>Sfdump("sf-dump-533173850")</script>\n
</td>\n
</tr>\n
<tr>\n
<td>ChocolateyToolsLocation</td>\n
<td><pre class=sf-dump id=sf-dump-850346919 data-indent-pad=" ">"<span class=sf-dump-str title="8 characters">C:\tools</span>"\n
</pre><script>Sfdump("sf-dump-850346919")</script>\n
</td>\n
</tr>\n
<tr>\n
<td>CommonProgramFiles</td>\n
<td><pre class=sf-dump id=sf-dump-1515692490 data-indent-pad=" ">"<span class=sf-dump-str title="29 characters">C:\Program Files\Common Files</span>"\n
</pre><script>Sfdump("sf-dump-1515692490")</script>\n
</td>\n
</tr>\n
<tr>\n
<td>CommonProgramFiles(x86)</td>\n
<td><pre class=sf-dump id=sf-dump-642780029 data-indent-pad=" ">"<span class=sf-dump-str title="35 characters">C:\Program Files (x86)\Common Files</span>"\n
</pre><script>Sfdump("sf-dump-642780029")</script>\n
</td>\n
</tr>\n
<tr>\n
<td>CommonProgramW6432</td>\n
<td><pre class=sf-dump id=sf-dump-307330030 data-indent-pad=" ">"<span class=sf-dump-str title="29 characters">C:\Program Files\Common Files</span>"\n
</pre><script>Sfdump("sf-dump-307330030")</script>\n
</td>\n
</tr>\n
<tr>\n
<td>COMPUTERNAME</td>\n
<td><pre class=sf-dump id=sf-dump-1408648715 data-indent-pad=" ">"<span class=sf-dump-str title="13 characters">ERIK-NOTE-X41</span>"\n
</pre><script>Sfdump("sf-dump-1408648715")</script>\n
</td>\n
</tr>\n
<tr>\n
<td>ComSpec</td>\n
<td><pre class=sf-dump id=sf-dump-1652024882 data-indent-pad=" ">"<span class=sf-dump-str title="27 characters">C:\WINDOWS\system32\cmd.exe</span>"\n
</pre><script>Sfdump("sf-dump-1652024882")</script>\n
</td>\n
</tr>\n
<tr>\n
<td>GOOGLE_API_KEY</td>\n
<td><pre class=sf-dump id=sf-dump-1045356191 data-indent-pad=" ">"<span class=sf-dump-str title="39 characters">AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q</span>"\n
</pre><script>Sfdump("sf-dump-1045356191")</script>\n