Project / Support Center
Welcome, Guest. Please login or register. July 28, 2021, 06:21: PM
Home Help Search Login Register
D-Web Web Site Creator D - Web Web Site Creator On-line HTML Editor No Programming knowledge required. Web Global Net PayPal-Cart Shopping Cart System PayPal - Kart Shopping Cart System for E-Commerce over the internet, that's easy to use. Web Global Net Newsletter Manager Newsletter Manager On-line Newsletter Creator with Email Subscriber Management.
Ring Central Discount
Web Global Net Web Application & Web Development Project Center  |  Technical Issues  |  php related  |  Topic: Strict Standards: Non-static method Mail::factory() & PEAR::isError() Errors 0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Send this topic Print
Author Topic: Strict Standards: Non-static method Mail::factory() & PEAR::isError() Errors  (Read 42 times)
admin
Administrator
******
Offline Offline

Posts: 224


« on: July 09, 2021, 06:55: PM »

Had this error using Pear Mail solved it by including E_STRICT in the error_reporting - so place this at the beginning of your page code (this actually stops several different levels of error messages from appearing on your page is errors occur:

<?php
ob_start();
error_reporting(E_ALL ^ (E_NOTICE | E_WARNING | E_DEPRECATED | E_STRICT));
?>

Bold portion helps with header already sent errors by slowing things down when loading a page
Report to moderator   Logged

The Unknown Webmaster
Pages: [1] Go Up Send this topic Print 
Web Global Net Web Application & Web Development Project Center  |  Technical Issues  |  php related  |  Topic: Strict Standards: Non-static method Mail::factory() & PEAR::isError() Errors « previous next »
Jump to:  


Login with username, password and session length
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!