Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

ecommerce module checkout button FATAL ERROR FieldSet.php


Go to End


1385 Views

Avatar
Orlando WEB Development

Community Member, 3 Posts

15 December 2009 at 8:41am

Fatal error: Call to a member function isComposite() on a non-object in /home/psmrepsc/public_html/sapphire/forms/FieldSet.php on line 178

I am getting the above error when checking out.

Here is my config:

<?php

global $project;
$project = 'mysite';

global $databaseConfig;
$databaseConfig = array(
"type" => "MySQLDatabase",
"server" => "localhost",
"username" => "xxxxxxxx",
"password" => "xxxxxxxxxxx",
"database" => "xxxxxxxxx",
);
// Sites running on the following servers will be
// run in development mode. See
// http://doc.silverstripe.com/doku.php?id=devmode
// for a description of what dev mode does.
Director::set_dev_servers(array(
'localhost',
'xxxxxxx',

));

// This line set's the current theme. More themes can be
// downloaded from http://www.silverstripe.com/themes/
SSViewer::set_theme('psm2009');

// Define which payment methods your site uses.
Payment::set_supported_methods(array(
'PayPalPayment' => 'Credit card (via PayPal)',
'ChequePayment' => 'Business Check (must clear)'
));

// Set the email of the admin who looks after receiving the order emails.
Order::set_email('xxxxxxxxxxx@xxxxx');