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.
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.
My guess would be that $pdfdownload_file is null, which casts doubt about $pdfdownload_id and $pdfdownload. Tried it against some other file?