Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
SpookyThings Posted December 7, 2022 Posted December 7, 2022 (edited) Hello, Getting TypeError: Unsupported operand types: string * float (0) #0 /main/public_html/applications/core/modules/front/system/editor.php(130): IPS\Text\_Parser::imageEmbed(Object(IPS\Http\Url), 1280, 720) #1 /main/public_html/system/Dispatcher/Controller.php(107): IPS\core\modules\front\system\_editor->validateLink() #2 /main/public_html/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #3 /main/public_html/index.php(13): IPS\_Dispatcher->run() #4 {main} When attempting to embed an image using a link. PHP 8.0.24 Edited December 7, 2022 by SpookyThings
SpookyThings Posted December 7, 2022 Author Posted December 7, 2022 (edited) Issue appears to be Parser.php $widthToUse = floor($maxImageDims[1] * ( $widthToUse / $heightToUse ) ); and $heightToUse = floor( $maxImageDims[0] * ( $heightToUse / $widthToUse ) ); $maxImageDims[1] and $maxImageDims[0] needs to be casted to float ie floatval($maxImageDims[1]) Edited December 7, 2022 by SpookyThings
Marc Posted December 7, 2022 Posted December 7, 2022 We would need to look further into this for you, however the access details on file appear to be incorrect or missing. Could you please update these details by visiting your client area, selecting the relevant purchase, then clicking "Review/Update Access Information" under the "Stored Access Information" section. We look forward to further assisting you.
Recommended Posts