Hello, I get this PHP notice editing a view:

Notice: Undefined property: view::$execute_time in views_ui_preview() (line 231 of ...sites/all/modules/views/includes/admin.inc).

Thanks!

Comments

renatog’s picture

Category: Bug report » Support request
Issue summary: View changes
Status: Active » Fixed

Hello Manuel how are you? Thank you so much for reporting this. Yes, probably it happened in some versions in the past, this function was updated a lot. I installed the last version and I was testing the preview function on the admin interface monitoring the watchdog and it worked. I was analyzing the function views_ui_preview and this function is receiving a $views in the first parameter and is used $view->execute_time on that case for example https://git.drupalcode.org/project/views/-/blob/7.x-3.x/includes/admin.i... but in that case is working fine using 7.x-3.24. So the good way, in that case, is to upgrade your views to the last version, run all updates on /update.php, clear all caches, clear logs on watchdog and try again. It worked for me and will work for you as well. Even so, if you have any other issues with that please feel free to reopen with more information ok? Thank you so much, Manuel

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.