Call to a member function getRelativePath() on a non-object

Permalink
I am getting this error message when copying this block onto pages. I can add the block fine, but I get this error when I copy it.

This is a custom block make in Block Designer, but I have not altered the code it has generated.

Concrete 5.7.5.8

I have attatched a screenshot of the error message.

Can someone please help me.

1 Attachment

 
Gondwana replied on at Permalink Reply
Gondwana
You'll probably get the best response by posting in the support page for the relevant Block Designer add-on.

My guess would be that $pdfdownload_file is null, which casts doubt about $pdfdownload_id and $pdfdownload. Tried it against some other file?