Hi,

I installed this ubercart Terms and Conditions module 6x-1 on Drupal 6 running Ubercart 2. When I click on the ckeckout button I get this error:

Fatal error: Unsupported operand types in /public_html/includes/common.inc on line 1558

If I disable the Terms & Conditions module the error goes away. I've followed the instructions in this (http://drupal.org/node/362799) post in an attempt to shed a little more light on the problem but instead of the url() function highlighted in the post it seems to be failing in the l() function which is located around 1558. The results of the 'debug' code are as follows:

array (
'file' => '/Volumes/FreeAgent/www/btbl/public_html/sites/all/modules/ubercart/uc_tc/uc_tc.module',
'line' => 141,
'function' => 'l',
'args' =>
array (
0 => 'terms and conditions',
1 => 'node/229',
2 => NULL,
),
)

Any ideas why it's failing?

Thanks
Chris

Comments

hanoii’s picture

Status: Active » Fixed

it's fixed on CVS, you may want to try the latest -dev version once it's generated (12-24hs).

oncreative’s picture

Hi hanoii,

Thanks for the info. I've been following the CVS tutorials/setup guide and it seems I need to apply for a username/password to access CVS. Would you point me in the direction where I sign-up for CVS access please?

Thanks

oncreative’s picture

Don't worry I found the Browse CVS option somewhere and downloaded it via HTTP.

It works fine now. Thanks for that.

hanoii’s picture

Unless you needed it very quickly, it might have been easier than browsing CVS, so just you know:

Most modules (not all, but most) have available for download what it's called 'Development releases.'

Those releases (which the owner of the module decides what goes in there) are basically daily builds of the cvs version of a specific branch in the CVS. They are not really built daily but rather daily IF there is a modification. They are build each 12 hours I believe, so it's likely that if I commit a change no, it's likely that a new development release will be there to download in the next 12-24hs. (you can look at the date of the release). And those release works the same as any other release. It's not really a 'stable' release, for for many modules, it's safe just to use it, and if you use the update module you will be notified of new changes on the code.

The current dev version of this module is:

6.x-1.x-dev Download (7.7 KB) 2010-Aug-22

Which is dated on the same day as my previous commit.

Status: Fixed » Closed (fixed)
Issue tags: -Unsupported operand types

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