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 |
Jump to:
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
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.