Index Search Engine - All Error
Anyone have any idea what this is, how to fix it?
I just tried running "Index Search Engine - All" with success.
What version of concrete5 are you using?
I haven't solved the issue but I don't have the issue anymore as I had to roll our site back to 184.108.40.206 due to not being able to fix a error with the workflow page after updating to 220.127.116.11.
This is happening on concrete18.104.22.168
I debug it a bit and i find out that reason for this behaviour was Page with only one version that wasn't approved.
So what is happing is:
Reindexing is triggered here:
Then this code is triggered to get specific page in specific version:
Then this function failed get page version since there is only one version and it's not approved.
Then this code is triggered and try to get page from cache:
But since $version variable is empty, this library throws an exception
because key that is trying to get cache for key `page/474//Concrete\Core\Page\Page`
I don't exactly know where wrong logic lives, i'm not C5 developer, i only debugged issue. So it would be better if somebody that knows system better find solution for this edge case.
So I took a look in the Trash and found a bunch of old pages there. So I deleted all the pages in the trash - Now the job runs fine.
Bug maybe? is the task supposed to index trash pages?