Fatal error: Uncaught TypeError: strtotime(): Argument #1 ($datetime) must be of type string, array given in /in/mjvJs:20
Stack trace:
#0 /in/mjvJs(20): strtotime(Array)
#1 /in/mjvJs(55): returnClosestDate('1028')
#2 {main}
thrown in /in/mjvJs on line 20
Process exited with code 255.
Output for 7.4.0 - 7.4.33
Warning: strtotime() expects parameter 1 to be string, array given in /in/mjvJs on line 20
Notice: Undefined variable: firstTime in /in/mjvJs on line 21
Notice: Undefined offset: 1028 in /in/mjvJs on line 31
Notice: Trying to access array offset on value of type null in /in/mjvJs on line 31
Warning: strtotime() expects parameter 1 to be string, array given in /in/mjvJs on line 20
Notice: Undefined variable: firstTime in /in/mjvJs on line 21
Notice: Undefined offset: 1028 in /in/mjvJs on line 31
Notice: Trying to access array offset on value of type null in /in/mjvJs on line 31
Warning: strtotime() expects parameter 1 to be string, array given in /in/mjvJs on line 20
Notice: Undefined variable: firstTime in /in/mjvJs on line 21
Notice: Undefined offset: 1028 in /in/mjvJs on line 31
Notice: Trying to access array offset on value of type null in /in/mjvJs on line 31
Warning: strtotime() expects parameter 1 to be string, array given in /in/mjvJs on line 20
Notice: Undefined variable: firstTime in /in/mjvJs on line 21
Notice: Undefined offset: 1028 in /in/mjvJs on line 31
Notice: Trying to access array offset on value of type null in /in/mjvJs on line 31
Warning: strtotime() expects parameter 1 to be string, array given in /in/mjvJs on line 20
Notice: Undefined variable: firstTime in /in/mjvJs on line 21
Notice: Undefined offset: 1028 in /in/mjvJs on line 31
Notice: Trying to access array offset on value of type null in /in/mjvJs on line 31
<pre>Array
(
[0] => Array
(
[date] => 2016-02-18 02:00:00
[duration] => 600
)
)
</pre>
Output for 7.3.32 - 7.3.33
Warning: strtotime() expects parameter 1 to be string, array given in /in/mjvJs on line 20
Warning: strtotime() expects parameter 1 to be string, array given in /in/mjvJs on line 20
Warning: strtotime() expects parameter 1 to be string, array given in /in/mjvJs on line 20
Warning: strtotime() expects parameter 1 to be string, array given in /in/mjvJs on line 20
Warning: strtotime() expects parameter 1 to be string, array given in /in/mjvJs on line 20
<pre>Array
(
[0] => Array
(
[date] => 2016-02-18 02:00:00
[duration] => 600
)
)
</pre>
Warning: strtotime() expects parameter 1 to be string, array given in /in/mjvJs on line 20
Notice: Undefined variable: firstTime in /in/mjvJs on line 21
Notice: Undefined offset: 1028 in /in/mjvJs on line 31
Warning: strtotime() expects parameter 1 to be string, array given in /in/mjvJs on line 20
Notice: Undefined variable: firstTime in /in/mjvJs on line 21
Notice: Undefined offset: 1028 in /in/mjvJs on line 31
Warning: strtotime() expects parameter 1 to be string, array given in /in/mjvJs on line 20
Notice: Undefined variable: firstTime in /in/mjvJs on line 21
Notice: Undefined offset: 1028 in /in/mjvJs on line 31
Warning: strtotime() expects parameter 1 to be string, array given in /in/mjvJs on line 20
Notice: Undefined variable: firstTime in /in/mjvJs on line 21
Notice: Undefined offset: 1028 in /in/mjvJs on line 31
Warning: strtotime() expects parameter 1 to be string, array given in /in/mjvJs on line 20
Notice: Undefined variable: firstTime in /in/mjvJs on line 21
Notice: Undefined offset: 1028 in /in/mjvJs on line 31
<pre>Array
(
[0] => Array
(
[date] => 2016-02-18 02:00:00
[duration] => 600
)
)
</pre>