I have upgraded my drupal website from version 6 to 7 (db and themes as of now). When I click on some of the views, I get a popup with the following message

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /swj/admin/structure/views/view/UnderReview/preview/page_1/ajax
StatusText: OK
ResponseText:
Fatal error: Call to a member function is_defaulted() on a non-object in /Applications/XAMPP/xamppfiles/htdocs/swj/sites/all/modules/views/includes/handlers.inc on line 212

When I ignore the above message and save the view (after adding a field), I get the following message on a white page

Fatal error: Call to undefined method stdClass::save_row() in /Applications/XAMPP/xamppfiles/htdocs/swj/sites/all/modules/views/includes/view.inc on line 1632

I have installed the latest stable versions of views, ctools and also ran update.php

Is there something that I can do to fix this?

Thanks in advance.

Comments

mvrweb’s picture

Forgot to mention the log message in previous post,

for the "Fatal save error", the following is the log message

Notice: Undefined property: stdClass::$display_plugin in view->init_display() (line 320 of /Applications/XAMPP/xamppfiles/htdocs/swj/sites/all/modules/views/includes/view.inc).

John_B’s picture

Ajax errors on Views drive me mad. I do not have the answer, though if you google you will find some threads from others who had particular problems with Ajax erros on xampp. I can tell you that currently you need the dev version of ctools, not the long-outdated rc1 version.

Digit Professionals specialising in Drupal, WordPress & CiviCRM support for publishers in non-profit and related sectors

mvrweb’s picture

ah, thank you for the response. I would try the dev version of ctools. I did search but couldn't find the exact same error. I will keep looking/trying.