You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using statamic with laravel blade for a blog section where it grabs the collection:blog and loops over to display and paginate the results. We have about 130 posts and am finding I am now getting a sort memory allocation error.
both result in the same sort memory allocation error. is there another way I should be doing this? it seems crazy that 130 posts would be causing such a problem.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey!
I'm using statamic with laravel blade for a blog section where it grabs the collection:blog and loops over to display and paginate the results. We have about 130 posts and am finding I am now getting a sort memory allocation error.
I have tried two ways to grab the data:
Statamic::tag('collection:blog')->params(['status:is' => 'Published'])->sort('created_at:desc')->paginate(12)->as('blogs')->fetch()
and:
both result in the same sort memory allocation error. is there another way I should be doing this? it seems crazy that 130 posts would be causing such a problem.
Picture of error:

Beta Was this translation helpful? Give feedback.
All reactions