Fatal Error

sciman - July 22, 2008 - 22:05
Project:Secure Pages
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:duplicate
Description

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.

#1

CitizenKane - August 21, 2008 - 23:54
Status:active» 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.

 
 

Drupal is a registered trademark of Dries Buytaert.