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.
Comment | File | Size | Author |
---|---|---|---|
#1 | view_fatal_error_view_destroy.patch | 591 bytes | devd |
Comments
Comment #1
devd CreditAttribution: devd commentedI am getting the following error when disabling the module Administration views
Fatal error: view::destroy(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "views_plugin_display_system" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /var/www/toto/trunk/sites/all/modules/contrib/views/includes/view.inc on line 1991
Comment #2
jennypanighetti CreditAttribution: jennypanighetti commentedI am seeing the exact same error. The module is disabled, but that fatal error is displayed.
Comment #3
jennypanighetti CreditAttribution: jennypanighetti commentedThe patch in #1 works for me. Thank you!
Comment #5
themorebeautifulworld CreditAttribution: themorebeautifulworld commentedThe patch in #1 worked for me to resolve the problem clearing caches as described.
Comment #6
tlito CreditAttribution: tlito commenteddevendra.yadav , your patch works! i had a problem after disabing Administration Views too
Comment #7
jdrefahl CreditAttribution: jdrefahl as a volunteer and commentedIf you experienced this error after you installed or uninstalled the Administrator Views module. You might want to reference the fix that worked for me here.
Comment #8
czigor CreditAttribution: czigor at Centarro for FREITAG lab. AG commentedThis has been fixed in #2040281: Views PHP Fatal error: view::destroy() on cache clear when autoload enabled.