Cannot convert value of type string to integer 📋

InvalidArgumentException
Toggle Vendor Stack Frames
     */
    protected function checkNumeric($value): void
    {
        if (!is_numeric($value)) {
            throw new InvalidArgumentException(sprintf(
                'Cannot convert value of type `%s` to integer',
                getTypeName($value)
            ));
        }

If you want to customize this error message, create templates/Error/error500.php