Witam
Mam taki Roblem, przy próbie wysłania wiadomości mailowej do Klienta w logach otrzymuję coś takiego, oczywiście klient nie dostaje wiadomości. Gdy zmienię w mail.php oraz pear.php
function &factory($driver, $params = array()) na static function &factory($driver, $params = array())
function isError($data, $code = null) na static function isError($data, $code = null)
błedy znikają jednak nic się nie wysyła. Miał ktoś podobny problem?
Logi błędu poniżej
:
PHP Strict Standards: Non-static method Mail::factory() should not be called statically, assuming $this from incompatible context in /var/www/lms/lib/LMS.class.php on line 5262, referer: www/lms/?m=messageadd&customerid=5307
PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Mail/smtp.php on line 365, referer: www/lms/?m=messageadd&customerid=5307
PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 450, referer: www/lms/?m=messageadd&customerid=5307
PHP Strict Standards: Non-static method PEAR::raiseError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 451, referer: www/lms/?m=messageadd&customerid=5307
PHP Strict Standards: Non-static method PEAR::raiseError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Mail/smtp.php on line 369, referer: www/lms/?m=messageadd&customerid=5307
PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Mail/smtp.php on line 249, referer: www/lms/?m=messageadd&customerid=5307
PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 491, referer: www/lms/?m=messageadd&customerid=5307
PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 265, referer: www/lms/?m=messageadd&customerid=5307
PHP Strict Standards: Non-static method PEAR::raiseError() should not be called statically, assuming $this from incompatible context in /usr/share/php/Net/SMTP.php on line 267, referer: www/lms/?m=messageadd&customerid=5307
.................. pozdrawiam Bochniak Michał
--- Ta wiadomość e-mail jest wolna od wirusów i złośliwego oprogramowania, ponieważ ochrona avast! Antivirus jest aktywna. http://www.avast.com