"Unsupported operand" error on installing Bitcache

ariedels - December 2, 2008 - 16:27
Project:Bitcache
Version:6.x-1.0-alpha3
Component:Upgrade
Category:bug report
Priority:minor
Assigned:Arto
Status:closed
Issue tags:bitcache_link, hook_link
Description

Hi -

I have twice tried to install this module and twice gotten the following error on my homepage afterwards:

Fatal error: Unsupported operand types in ~~~/includes/common.inc on line 1445

Has anyone else gotten it? I did see this issue posted here http://drupal.org/node/308437, but the fix there did not seem work for me.

I am on v6.6 and PHP 5.2

Thanks

#1

Wound - December 2, 2008 - 18:55

I have the same issue. It appears as soon as I try to go to the start page. When I navigate to one of the admin pages I get the following log messages:

  • recoverable fatal error: Argument 3 passed to bitcache_link() must be an array, integer given in /kunden/116584_32278/smoklang/smoklang3_aktiv/sites/all/modules/bitcache/bitcache.module on line 459.
  • recoverable fatal error: Object of class stdClass could not be converted to string in /kunden/116584_32278/smoklang/smoklang3_aktiv/sites/all/modules/bitcache/bitcache.module on line 460.

#2

Justin Hopkins - December 2, 2008 - 20:20

I had this problem also - downgraded to alpha2 and it went away.

Other installed modules:

bitcache
cck
drush
fileframework
dav
rdf
views

#3

abu3abdalla - December 2, 2008 - 23:57

subscripe

#4

Arto - December 3, 2008 - 11:09
Priority:normal» critical
Assigned to:ariedels» Arto
Status:active» postponed (maintainer needs more info)

My apologies for this problem. It should now be fixed in changeset [156488]; please try the 6.x-1.x-dev tarball once it gets rebuilt (happens automatically every 12 hours).

If you guys can report back that this resolves the problem for you, I will cut a new release containing the fix.

#5

abu3abdalla - December 3, 2008 - 21:24

still i have problem but not that error its in common.inc line 1445

i am also use it because the fileframework need it .

when i use the alpha 2 is good and untill now i have no error

but the alpha3 and the new dev i have error

#6

spiffyd - December 3, 2008 - 21:54

I confirm this error!

#7

jdenniss - December 9, 2008 - 23:20

I have it as well.

I get the following when I use the back button (back to 'content' page)

recoverable fatal error: Argument 3 passed to bitcache_link() must be an array, boolean given in /var/www/localhost/htdocs/DP/modules/bitcache/bitcache.module on line 459.
recoverable fatal error: Object of class stdClass could not be converted to string in /var/www/localhost/htdocs/DP/modules/bitcache/bitcache.module on line 460.

#8

mdgrech - December 9, 2008 - 23:33

same here :( Ive been for forever to get fileframe work to work...I which someone would write a comprehensive tutorial for this module...note Ive seen the tut on installing on a server

#9

nmashruwala - December 10, 2008 - 00:19

Subscribing

#10

jlscott - December 10, 2008 - 03:13
Priority:critical» minor
Status:postponed (maintainer needs more info)» active

Hi. I encountered this problem with the alpha3 release. Worked fine until I loaded a file into the bitcache repository; then the error occurred. Upgraded to latest 1.x-dev release as suggested, and the error disappeared.

Thanks

James

#11

vladimir_e - December 10, 2008 - 19:23

Ran into the same bug, downgrading to alpha2 or installing the newest 6.x-1.x-dev tarball as of today fixes it for me too.

#12

Justin Hopkins - December 10, 2008 - 20:01

I did try to write it up over at http://justin-hopkins.com/blog/2008/12/02/how-to-setting-up-drupal-file-...

Please comment and help me improve if you can!

#13

nmashruwala - December 10, 2008 - 20:09

Justin, your tutorial is beyond terrific! FF's dependency list is complex enough that I probably wouldn't have managed it nearly as cleanly without your write-up and bhuga's write-up.

Also, it got me addicted to drush =)

#14

Justin Hopkins - December 12, 2008 - 22:46

Cool, glad you made use of it!

#15

akwala - December 13, 2008 - 05:08

subscribe

#16

rherrick - December 18, 2008 - 22:33

As of today, I'm seeing this version of this error:

Fatal error: Unsupported operand types in .../drupal-6.8/includes/common.inc on line 1539

This occurs when I activate the Bitcache module then log out and go to the front page. I'm very up-to-date (this might be part of the problem :): I updated Drupal to 6.8 yesterday and downloaded and installed all of the dependencies for fileserver, including bitcache, today. Let me know if you have any other questions about my configuration.

#17

digital.wannabe - December 18, 2008 - 22:40

same here like rherrick...

#18

digital.wannabe - December 18, 2008 - 22:48

same here like rherrick...any attempt to view created filenodes/nodes with attachements leads to stated error.

#19

chawl - December 29, 2008 - 03:54

On Drupal 6.8, alpha3 made homepage blank immediately after install.

Also when you try to create a file node, preview seems ok but when you save, all you got another blank page, no matter what the file type was. Other non-blank pages that you can browse always show the same error with #1, but not just 2 lines, sometimes pages of them alternating randomly for 459 and 460.

Though alpha2 fixes everything back.

#20

markmck1 - December 30, 2008 - 05:29

Thanks - installing the 6.x-1.x-dev tarball fixed it for me. I appreciate the help!

#21

Arto - March 17, 2009 - 19:18
Component:Code» Upgrade
Status:active» fixed

If anyone's still experiencing these problems after upgrading to 6.x-1.0-beta1, please reopen this issue.

#22

System Message - March 31, 2009 - 19:20
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.