# MethodofLines - Staggered Grids - MethodError by function discretize()

**URL:** https://discourse.julialang.org/t/methodoflines-staggered-grids-methoderror-by-function-discretize/133312
**Category:** Modelling & Simulations
**Created:** [October 20, 2025, 4:57pm UTC](https://discourse.julialang.org/t/methodoflines-staggered-grids-methoderror-by-function-discretize/133312 "2025-10-20T16:57:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ziolai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ziolai/32/23422_2.png) [@ziolai](https://discourse.julialang.org/u/ziolai)
#### Post date: [October 20, 2025, 4:57pm UTC](https://discourse.julialang.org/t/methodoflines-staggered-grids-methoderror-by-function-discretize/133312/1 "2025-10-20T16:57:20Z")

</div>

Greetings,

The tutorial example on staggered grids at [staggered](https://docs.sciml.ai/MethodOfLines/stable/staggered/) results in the method error

```julia-auto
MethodError: no method matching view(::Nothing, ::UnitRange{Int64})
The function `view` exists, but no method is defined for this combination of argument types.

```

Removing the staggered grid options from `MOLFiniteDifference` instead results in

` Warning: The system contains interface boundaries, which are not compatible with system transformation. The system will not be transformed. Please post an issue if you need this feature.`

Advice is much appreciated.
