Getting this fatal PHP error when custom layouts are on. It looks like the culprit is:

l(t('layout for this publication'), 'admin/epublish/edit/' . $edit["pid"])

at the end of line 2017 of epublish.module should read something like:

l(t('layout for this publication'), 'admin/epublish/edit/' . $edit->pid)

although I'm not sure the URL itself is correct: should it be 'aadmin/epublish/edit/publication/'?

CommentFileSizeAuthor
#1 epublish_type_error_fix_head.patch.txt1.01 KBpfaocle

Comments

pfaocle’s picture

Status: Active » Needs review
StatusFileSize
new1.01 KB

This error is present in both latest HEAD and 4.7 release. Patch for HEAD attached.

kuldip zala’s picture

Now,

This bug resolved in current epublish module of 4.x .

You can download and enjoy.

Kuldip

kuldip zala’s picture

Now,

This bug resolved in current epublish module of 4.x .

You can download and enjoy.

Kuldip

kuldip zala’s picture

Status: Needs review » Fixed

Now,

This bug resolved in current epublish module of 4.x .

You can download and enjoy.

Kuldip

techrobo’s picture

Status: Fixed » Closed (fixed)

Never got this issue. I suppose the latest CVS commit is perfect.