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.
Non-static method view::load_views() should not be called statically in /views/views.module on line 1071.
Non-static method view::db_objects() should not be called statically in /views/includes/view.inc on line 1492.
Declaration of views_plugin_access_role::options_submit() should be compatible with views_plugin_access::options_submit($form, &$form_state) in /views/plugins/views_plugin_access_role.inc on line 58.
Comments
Comment #1
reinis.berzins CreditAttribution: reinis.berzins commentedHaven't you or your server administrator recently updated the PHP version of your server? Change it back - if you have a shared hosting server with cPanel there should be a button "Select PHP version". Choose the PHP version that matches the recommendations for your Drupal version: https://www.drupal.org/requirements/php#6
Comment #2
DamienMcKennaClosed two duplicates: #2338373: Non-static method and #2378805: Non-static method warning in Views.
Comment #3
DamienMcKennaComment #4
DamienMcKennaAnd this is a duplicate of #2146851: Non-static method [..] should not be called statically ;-)