For now I cannot say why, but this crashes cron on PHP enabled content. It makes cron to fail an log messages like:

"[Sun Aug 02 15:28:59 2009] [error] [client 1.2.3.4] PHP Fatal error:  Cannot redeclare theme_panels_view_layout() (previously declared in /srv/www/example.com/html/includes/common.inc(1473) : eval()'d code:45) in /srv/www/example.com/html/includes/common.inc(1473) : eval()'d code on line 50, referer: http://example.com/admin/logs/status

Comments

hass’s picture

Category: bug » support
Priority: Critical » Minor
Status: Active » Fixed

Seems to by my fault... I've added a function with the same name into two different PHP nodes. On view this have never caused any issues, but now with linkchecker and reverting of revisions, it does.

Moved the function outside into the theme template solved the issue. A rename would have also solved this. I shouldn't use PHP nodes :-(

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

hass’s picture

Issue tags: +PHP evaluator

Tagging

hass’s picture