From: Adam Magness Date: Thu, 30 Nov 2017 12:48:47 +0000 (-0500) Subject: Object error X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cddadb4b17a02b95be54acc05f7b37aebb61b978;p=friendica.git Object error Uncaught Error: Using $this when not in object context --- diff --git a/src/Object/Photo.php b/src/Object/Photo.php index d0f6776618..5d8ad6b3a7 100644 --- a/src/Object/Photo.php +++ b/src/Object/Photo.php @@ -839,7 +839,7 @@ class Photo return false; } - $type = $this->guessImageType($photo, true); + $type = self::guessImageType($photo, true); $img = new Photo($img_str, $type); if ($img->isValid()) { $img->scaleImageSquare(175);