I have a site using Drupal 6; after upgrading PHP to 5.4 , some strict warning appear.
I set error_reporoting in settings.php with the following code, but I still see the E_STRICT warnings.
error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_WARNING); ini_set('display_errors', TRUE);
Why do I still see them? What can I do to avoid seeing them?