Strange PHP error

I don’t know where else to post this. I’m getting this error:

Array (
[type] => 8
[message] => Undefined offset: 2
[file] => /Users/greg/gitrepos/elmnt/kirby/toolkit/lib/collection.php
[line] => 259
)

And this is the line in my default.php template that throws the error, as opposed to just rendering the kirbytext:

<?php echo $page->text()->kirbytext() ?>

So no text shows up, but I get that error, having added print_r(error_get_last()); in my footer.

Could you post the complete code?

Yikes, just found the issue. I use textexpander snippets for (among many things) a lot of basic markdown for my content. I hit the wrong snippet for a separator, so had EIGHT dashes instead of FOUR between text blocks.

Wow. Ridiculous, haha. Thanks anyway.