Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By saintjoseph on
Even though I seem to have successfully updated my drupal 6 I get this
strict warning: Non-static method view::load_views() should not be called statically in /home/user/public_html/sites/all/modules/views/views.module on line 837
and similar warning in my installation I am using php 5.4
Any help?
Comments
Drupal 6 module may have
Drupal 6 module may have issues under PHP 5.4. You might want to try backing off the error level so it does not include strict.
Thanks tried to find it in
Thanks tried to find it in web on how to turn this notification off but was not successful
If you can help me?
I had this problem with a D6 site
I turned off error display in php.ini (display_errors = Off). Apparently D6 has a setting that overrides it. I had to turn it off in the "/admin/settings/error-reporting" page. It had been on for years, by default, no doubt, but didn't generate any errors until I updated to PHP 5.4, when I got dozens of "strict_warning" messages, mostly about views.