Warning: Missing argument 1 for job_link(), called in /.../sites/all/themes/demon/templates/views/views-view--job--page.tpl.php on line 37 and defined job_link() függvényben (/.../sites/all/themes/demon/template.php 243 sor).
Notice: Undefined variable: variables job_link() függvényben (/.../sites/all/themes/demon/template.php 244 sor).
Nem (vagy csak nagyon ritkán) szoktunk függvényben print-et vagy echo-t használni.
docroot/sites/all/themes/demon/template.php:243job_link()
Nincs a függvényben return, tehát a print job_link() értelmetlen.
A $variables argumentum és a környezet (template.php, felette lévő függvények) azt sugallják, hogy ez egy regisztrált theme függvény. (bár a függvény nevéből látszik, hogy nem az)
A docroot/sites/all/themes/demon/templates/views/views-view--job--page.tpl.php:37-ből van meghívva argumentumok nélkül, ezért van a warning/notice üzenet.
print
-et vagyecho
-t használni.docroot/sites/all/themes/demon/template.php:243
job_link()
return
, tehát aprint job_link()
értelmetlen.$variables
argumentum és a környezet (template.php, felette lévő függvények) azt sugallják, hogy ez egy regisztrált theme függvény. (bár a függvény nevéből látszik, hogy nem az)docroot/sites/all/themes/demon/templates/views/views-view--job--page.tpl.php:37
-ből van meghívva argumentumok nélkül, ezért van a warning/notice üzenet.