martimiz

OK, so this was my own issue: I used $controller::curr()->Link() in an Elemental ContactForm::setFormAction(), which you do 😕 Not good…

martimiz

This refers to the use of static::class - it works fine when called from the PageController, but not from the TaskRunner. Any ideas for a workaround maybe? Or is this a bug?

martimiz

Request handler SilverStripe\Dev\TaskRunner does not have a url_segment defined

martimiz

Hi all, I’ve created a task that indexes all pages for a seachengine, which is working fine, instantiating each page and grabbing the content I want. But when I call ElementalPageExtension::getElementsForSearch() from a Page method, I get the following error:

dorsetdigital

If that's just a gridfield for a dataobject, yes.. no problems at all

Juan de la Cruz

i forgot to say i'm using silverstripe-elemental, would it still be possible to use that at the sametime?