Hallo
Leider kam ich erst heute dazu die schon seit längerem vorhandenen Fehlermeldungen mittels Test dem PlugIn zuzuordnen.
Da immer dort stand, das es erst zu einem Fehler in einer späteren PHP Version kommt, hatte ich es lange Zeit nicht wirklich beachtet.
Leider ist es aber so das mit installiertem PlugIn zu einem Fehler kommt und das Kontoktformular nicht abgeschickt wird.
Folgende Fehlermeldung erscheint:
Code
Message: Use of undefined constant CONTACT_FORM_COPY - assumed 'CONTACT_FORM_COPY' (this will throw an Error in a future version of PHP)
PHP version: 7.4.5
WoltLab Suite version: 5.2.9
Request URI: /contact/
Referrer: https://www.url.de/contact/
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0
Peak Memory Usage: 9303624/536870912
======
Error Class: wcf\system\exception\ErrorException
Error Message: Use of undefined constant CONTACT_FORM_COPY - assumed 'CONTACT_FORM_COPY' (this will throw an Error in a future version of PHP)
Error Code: 0
File: /www/htdocs/account/ordner/lib/system/WCF.class.php (341)
Extra Information: -
Stack Trace: [{"file":"\/www\/htdocs\/account\/ordner\/lib\/system\/event\/listener\/ContactFormSendCopyListener.class.php","line":51,"function":"handleError","class":"wcf\\system\\WCF","type":"::","args":[2,"Use of undefined constant CONTACT_FORM_COPY - assumed 'CONTACT_FORM_COPY' (this will throw an Error in a future version of PHP)","\/www\/htdocs\/account\/ordner\/lib\/system\/event\/listener\/ContactFormSendCopyListener.class.php",51,[]]},{"file":"\/www\/htdocs\/account\/ordner\/lib\/system\/event\/listener\/ContactFormSendCopyListener.class.php","line":35,"function":"readFormParameters","class":"wcf\\system\\event\\listener\\ContactFormSendCopyListener","type":"->","args":[]},{"file":"\/www\/htdocs\/account\/ordner\/lib\/system\/event\/EventHandler.class.php","line":221,"function":"execute","class":"wcf\\system\\event\\listener\\ContactFormSendCopyListener","type":"->","args":["wcf\\form\\ContactForm","wcf\\form\\ContactForm","readFormParameters",[]]},{"file":"\/www\/htdocs\/account\/ordner\/lib\/form\/AbstractForm.class.php","line":75,"function":"fireAction","class":"wcf\\system\\event\\EventHandler","type":"->","args":["wcf\\form\\ContactForm","readFormParameters"]},{"file":"\/www\/htdocs\/account\/ordner\/lib\/form\/AbstractCaptchaForm.class.php","line":74,"function":"readFormParameters","class":"wcf\\form\\AbstractForm","type":"->","args":[]},{"file":"\/www\/htdocs\/account\/ordner\/lib\/form\/ContactForm.class.php","line":113,"function":"readFormParameters","class":"wcf\\form\\AbstractCaptchaForm","type":"->","args":[]},{"file":"\/www\/htdocs\/account\/ordner\/lib\/form\/AbstractForm.class.php","line":57,"function":"readFormParameters","class":"wcf\\form\\ContactForm","type":"->","args":[]},{"file":"\/www\/htdocs\/account\/ordner\/lib\/form\/AbstractForm.class.php","line":123,"function":"submit","class":"wcf\\form\\AbstractForm","type":"->","args":[]},{"file":"\/www\/htdocs\/account\/ordner\/lib\/form\/AbstractCaptchaForm.class.php","line":67,"function":"readData","class":"wcf\\form\\AbstractForm","type":"->","args":[]},{"file":"\/www\/htdocs\/account\/ordner\/lib\/form\/ContactForm.class.php","line":187,"function":"readData","class":"wcf\\form\\AbstractCaptchaForm","type":"->","args":[]},{"file":"\/www\/htdocs\/account\/ordner\/lib\/page\/AbstractPage.class.php","line":291,"function":"readData","class":"wcf\\form\\ContactForm","type":"->","args":[]},{"file":"\/www\/htdocs\/account\/ordner\/lib\/page\/AbstractPage.class.php","line":114,"function":"show","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/www\/htdocs\/account\/ordner\/lib\/system\/request\/Request.class.php","line":83,"function":"__run","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/www\/htdocs\/account\/ordner\/lib\/system\/request\/RequestHandler.class.php","line":107,"function":"execute","class":"wcf\\system\\request\\Request","type":"->","args":[]},{"file":"\/www\/htdocs\/account\/ordner\/index.php","line":9,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":["wcf"]}]
Display More
Nach dem deinstallieren des PlugIn lässt sich das Kontaktformular abschicken und die Mail kommt auch an.
Daten:
WoltLab Suite™ Version 5.2.9
Betriebssystem Linux Webserver Apache MySQL-Version 5.7.28-nmm1-log
PHP-Version 7.4.5