欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

Warning: Creating default object from empty value in views_many_to_one_helper->summary_join() (line 865

Hi Everyone

Newbie here, so please go gently. I'm getting the following error messages in my views:

Warning: Creating default object from empty value in views_many_to_one_helper->summary_join() (line 865 of .../sites/all/modules/views/includes/handlers.inc).

Any thougts about what I can do to be rid of this message?

Many thanks, and apologies in advance for any stupidity.

Files: 
CommentFileSizeAuthor
#72209783-7.patch421 bytesMikhail K.
None View
#12209783-1.patch488 bytesMikhail K.
None View

Comments

Mikhail K.’s picture

 

Version:7.x-3.7» 7.x-3.x-dev
Status:Active» Needs review
FileSize
488 bytes
None View

I'm getting the same issue on some of my views pages.

Mikhail K.’s picture

 

This warning appears with php 5.4 - 5.5.

Mikhail K.’s picture

 

I confirm I use php 5.5, have same error and this patch solves the issue. Thanks a lot dberror.

Mikhail K.’s picture

 

Status:Needs review» Reviewed & tested by the community

Tested and working. No warnings anymore.

Merge all the things!

griz’s picture

 

Works fine for me, just upgraded from 5.3 to 5,5 and started getting this error.

FNGR’s picture

 

Same issues with PHP 5.6 here.

edit:// patch tested and works!

Mikhail K.’s picture

 

Status:Reviewed & tested by the community» Needs review
FileSize
421 bytes
None View

this patch is more correct


来自  https://www.drupal.org/node/2209783
普通分类: