Closed (duplicate)
Project:
Secure Pages
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2008 at 22:05 UTC
Updated:
21 Aug 2008 at 23:54 UTC
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
Comment #1
theflowimmemorial commentedThis is for all practical purposes a duplicate of http://drupal.org/node/264938. There is a patch in that issue which fixes the problem.