Using Secure Pages with Ubercart.

When trying to view a Product, PHP throws up this error:

Fatal error: Cannot use object of type stdClass as array in ....../sites/all/modules/securepages/securepages.module on line 134

Changing

if ($link['href']) {

to

if ($link->href) {

solves the problem.

Comments

theflowimmemorial’s picture

Status: Active » Closed (duplicate)

This is for all practical purposes a duplicate of http://drupal.org/node/264938. There is a patch in that issue which fixes the problem.