Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Blog Module /

Discuss the Blog Module.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Blog module breaking silverstripe search


Go to End


1476 Views

Avatar
SilverstripeLearner

Community Member, 15 Posts

10 July 2017 at 6:21pm

Edited: 10/07/2017 6:22pm

Hello,

I have a website running Silverstripe(3.6.1) with the blog module (silverstripe-blog-camfindlay-patch-1).
I get the following error when I use silverstripe search. This errors occurs no matter what you type in the search box. I have no idea why this is happening.

[Recoverable Error] Argument 1 passed to PaginatedList::__construct() must implement interface SS_List, null given, called in X :\path-to-website\silverstripe-blog-camfindlay-patch-1\code\model\Blog.php on line 965 and defined
GET /path-to-website/about-us/blog/SearchForm?Search=Application&action_results=

Line 26 in X:\path\to\website\framework\core\PaginatedList.php