ZenphotoCMS Forum
Bug or not : printContactForm errors - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Bug or not : printContactForm errors (/thread-13956.html)



Bug or not : printContactForm errors - ctdlg - 26-06-2024

Hello,

I get from time to time printContactForm errors, but my contact.php files do use : contactForm::printContactForm()
Is it a known bug or is the problem on my side ?

The log shows

ERREUR : Call to undefined function printContactForm() dans /home2/public_html/zp-core/template-functions.php(4382) : eval()'d code à la ligne 1
{3668:Wed, 26 Jun 2024 15:33:47 GMT}
USER DEPRECATED NOTICE : printContactForm (appelé depuis la ligne 1 de template-functions.php(4382) : eval()'d code) est obsolète. Utilisez plutôt contactForm::printContactForm() dans /home2/public_html/zp-core/functions/functions-basic.php à la ligne 2225
trigger_error called from deprecationNotice (functions-basic.php [2225])
from printContactForm (contact_form.php [735])
from eval (template-functions.php(4382) : eval()'d code [1])
from printCodeblock (template-functions.php [4382])
from include (news.php [46])
from include (index.php [128])
from index.php [56]




Bug or not : printContactForm errors - fretzl - 26-06-2024

Do you perhaps have a codeblock where you use the old, plain printContactForm() call?




Bug or not : printContactForm errors - ctdlg - 27-06-2024

Codeblock ? Bravo fretzl, I checked all files, but not the database.
Thank you.