Closed metalefty closed 2 months ago
The deprecated message is also included in JSON response of /api/upload.php
so it causes JSON parse error.
<br />
<b>Deprecated</b>: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in <b>/tmp/pictshare/inc/core.php</b> on line <b>432</b><br />
{"status":"ok","hash":"b9fboc.jpg",. ...}
ref. https://www.php.net/manual/en/migration81.deprecated.php#migration81.deprecated.core.null-not-nullable-internal