Member
Member
ctdlg   26-06-2024, 15:41
#1

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]

Administrator
Administrator
fretzl   26-06-2024, 22:43
#2

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

Member
Member
ctdlg   27-06-2024, 06:22
#3

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

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.