I've been trying to figure this out for about an hour but I think now that it is a bug...

I have a directional relation type that exists from user to user. The included view caused an error so I created a custom view and until clicking submit the module appears to work as intended. Upon trying to save a user entity after using this module to select a relationship I get the following error:

<?php
Fatal error: Class name must be a valid object or a string in /includes/common.inc on line 7618
?>

I was able to create the relationship using the relation add block, so I believe the error is in this module. I've tried it with the latest stable versions of drupal (7.12), views & relation, and I've tried it with the dev versions of all three with the same results.

Any help would be appreciated!

Comments

brett1’s picture

+1 Subscribe

I get a pop up when I try to get a view stating
An AJAX HTTP error occured. HTTP Result Code: 200
Debugging info: admin/structure/views/view/home_art/preview/page/ajax --- theres more but I attached the error image.

I thought that this would then be views issue??

the fatman’s picture

I'm getting a similar one

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /admin/structure/views/view/profile_pics/preview/page/ajax
StatusText: OK
ResponseText: Fatal error: Class name must be a valid object or a string in /hsphere/local/home/xxxxx/mysite.com/includes/common.inc on line 7618

I don't have relations installed and it only happens when I try to create a files view using display suite format. The default view mode in the settings for display suite format has no options.

ckrina’s picture

Same here: I get the same error and I don't have installed this module.

I have installed Views and Display Suite, and I just get this when I try to show Files with Display Suite, like @a great place for frogs.

"Fatal error: Class name must be a valid object or a string in .../includes/common.inc on line 7618"

Maybe the problem is with DS or views, but to move this issue to one of them we should know which one fails.
I think it could be Display Suite because if I use default file option in views "fields" everyting is ok.

lcampeur’s picture

Project: Relation Select » Apache Solr Search
Version: 7.x-1.x-dev » 7.x-1.0-beta16

I get this error too.
I've installed apache solr _framework and _search and the error appears when I want to index my nodes with ajax (Index All). Then i can't go on home page, the error is still thrown, even if I clear the cache manually.
I haven't got Views or Display Suite.
I can go on administration page only, but I can't go on any front page.

nick_vh’s picture

Status: Active » Postponed (maintainer needs more info)

Can you write up a guide how to reproduce this with a vanilla drupal? Thanks!

NathanM’s picture

I also had this error cropping up here and there particularly on node/add forms. Disabling the "Apache Solr Access" module seems, at least for the moment, to have fixed it.

bharath.k.sangam’s picture

please any one give me the solution, i am unable to access my page

nick_vh’s picture

bharath.k.sangam, please give us more detail. Is it this exact error?
What modules do you have enabled, what are you trying to do?

bharath.k.sangam’s picture

every thing was fine before i click on the views list relation_content enable however it gave an ajax error so that i can't enable it.

And when i click on blocks or modules

http://xxx.xxx.xx.xx/website/admin/modules/ (below error)
http://xxx.xxx.xx.xx/website/admin/blocks/ (below error)

Fatal error: Class name must be a valid object or a string in /var/www/html/website/includes/common.inc on line 7618

http://xxx.xxx.xx.xx/website/admin/ (this works fine)

when i go in detail with this error some where it is inter related to entity module, but how could i disable it when i can't access the module's from the url.

I am working with drupal since nov 15 2010 (D 5, 6) never come across with this error it may be bug in D7

bharath.k.sangam’s picture

The Exact error on clicking the views

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /website/admin/structure/views/view/user_relationships_content/disable?token=RJWx_Y284rCNJqVt0Zgx6VlfbINE8U4HjOxLJ79Vplo
StatusText: OK
ResponseText:
Fatal error: Class name must be a valid object or a string in /var/www/html/website/includes/common.inc on line 7618

And on every page the below error

Fatal error: Class name must be a valid object or a string in /var/www/html/website/includes/common.inc on line 7618

nick_vh’s picture

I can't see why this would be a problem of the Apache Solr module? Please be more detailed and a way to reproduce + proof that the error is coming from this module

nick_vh’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)