Fatal error: Call to a member function getCountry()

Permalink Browser Info Environment
Hi

I'm getting this fatal error when I try to put through a payment, can you help please.
I have your latest version installed.

Fatal error: Call to a member function getCountry() on a non-object in /home/cluster-sites/55/domainname.de/public_html/packages/sagepay_form/models/core_commerce/payment/methods/sagepay_form/controller.php on line 80

It happens when I submit the page
http://www.domainname.de/checkout/payment/method/...

Thanks

1 Attachment

Type: Pre-Sale
Status: Resolved
rosie607
View Replies:
rosie607 replied on at Permalink Reply
rosie607
I have the default country code set to United Kingdom in the settings and the address I was putting through was also UK
datasouth replied on at Permalink Reply
datasouth
Hi Rosie,

Our apologies for the late response. We'll try to have a look into this.

Please keep posted.

Thanks,
JM
datasouth replied on at Permalink Reply
datasouth
Hi Rosie,

I tried to replicate the issue but was unable to do so. I set my default country code to United Kingdom and selected United Kingdom for both my Billing and Shipping Information and was able to get through without any errors.

Did you somehow modify the Billing and Shipping Information form?

Thanks,
JM
datasouth replied on at Permalink Reply
datasouth
Hi Rosie,

How are things going on your end?

Thanks,
JM
rosie607 replied on at Permalink Reply
rosie607
Hi
Thanks for getting back to me. It was working fine on my dev site, when I changed the sagepay vendor to the live sagepay account it broke.
The site is now live so I can't do any work on it until the new dev site is running.
I'll try out the new dev site with the sagepay test server and see if that works. Otherwise may be back for some advice.
Thanks
datasouth replied on at Permalink Reply
datasouth
Hi Rosie,

Hmmm that seems weird as it should not be causing any problem. Try to double check if the Sage Pay account is still active and valid.

Just let us know how it goes.

Thanks,
JM

concrete5 Environment Information

# concrete5 Version
5.6.3.3

# concrete5 Packages
Country Redirect (1.1.1), Dealer Locator (1.5), Domain Mapper (1.1.4), eCommerce (2.8.13), eCommerce Stock Controlled Product Attribute (1.0), Sage Pay eCommerce Payment Provider (1.0.1), Table-Based Shipping (1.1.0).

# concrete5 Overrides
blocks/pdf_download, blocks/autonav, blocks/page_list, blocks/product, blocks/content, blocks/mod_two_part, blocks/three_part_module, blocks/html, blocks/youtube_modal, blocks/dealer_search, blocks/three_slide_carousel, blocks/search, blocks/product_list, elements/product, elements/orders, elements/checkout, elements/profile, elements/cart_item_list.php, languages/es_MX, languages/ja_JP, languages/fr_FR, languages/de_DE, languages/sv_SE, languages/el_GR, languages/sl_SI, languages/nb_NO, languages/ru_RU, languages/tr_TR, languages/fa_IR, languages/es_PE, languages/es_ES, languages/ar, languages/da_DK, languages/pt_PT, languages/zh_TW, languages/vi_VN, languages/ro_RO, languages/sk_SK, languages/fi_FI, languages/it_IT, languages/es_AR, languages/cs_CZ, languages/nl_NL, single_pages/login.php, single_pages/page_not_found.php, single_pages/profile, single_pages/register.php, themes/ReefOne

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.4.10 (Unix)

# Server API
cgi-fcgi

# PHP Version
5.3.28

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, ionCube Loader, json, ldap, libxml, mbstring, mcrypt, mssql, mysql, mysqli, mysqlnd, OAuth, odbc, openssl, pcntl, pcre, PDO, pdo_dblib, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, SQLite, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Guard Loader, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 64M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 64M
ldap.max_links - Unlimited
mssql.max_links - Unlimited
mssql.max_persistent - Unlimited
mssql.max_procs - Unlimited
mssql.textlimit - Server default
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.