getFileSetName error

Permalink
{"error":{"message":"Call to a member function getFileSetName() on a non-object"},"errors":["Call to a member function getFileSetName() on a non-object"]}

Hi There
My 'Index search engine all' isn't working - it loads up to 270 of 650 files and that's all before it gets error

 
jero replied on at Permalink Reply
jero
It sounds like you have one or more pages that have blocks in them which are attempting to use a file set which has been deleted.

I would turn on debugging information in the dashboard system & settings environment
/index.php/dashboard/system/environment/debug

Then when you run the index job again you should hopefully get a more helpful error message and you can figure out which block is broken. Chances are it's not checking whether the file set exists before attempting to process it.
mackadmin replied on at Permalink Reply
go to the next message, please
mackadmin replied on at Permalink Reply
So I got this worming:

{"error":{"type":"Whoops\\Exception\\ErrorException","message":"Call to a member function getFileSetName() on a non-object","file":"\/home4\/orangeco\/public_html\/packages\/webtotal_alltomodal_gallery\/blocks\/webtotal_alltomodal_gallery\/controller.php","line":139,"trace":[{"file":"\/home4\/orangeco\/public_html\/packages\/webtotal_alltomodal_gallery\/blocks\/webtotal_alltomodal_gallery\/controller.php","line":139,"function":null,"class":null,"args":[]}]},"errors":["Call to a member function getFileSetName() on a non-object"]}

So I need to get to this file: controller.php","line":139 and... (no idea what to do the next)
Could you tell me what's the best solution, please?
jero replied on at Permalink Reply
jero
Please post/attach the file

packages/webtotal_alltomodal_gallery/blocks/webtotal_alltomodal_gallery/controller.php
mackadmin replied on at Permalink Reply 1 Attachment
I attached the file but it says 'Post Reply File controller.php has an invalid extension' so I have to use the text extension of the file
jero replied on at Permalink Best Answer Reply 1 Attachment
jero
Yes, you can't upload a PHP file directly. But that's OK, please replace your copy with the attached, renamed as controller.php. Assuming it fixes it, you should ask the package author to fix it so that it doesn't cause the same problem for other users.
mackadmin replied on at Permalink Reply
Thanx. That's why Concrete5 is the best software ever ;)
jero replied on at Permalink Reply
jero
You're welcome