TomatoCart

TomatoCart Community
Welcome, Guest
Please Login or Register.    Lost Password?

Fatal error: Call to a member function getCode() on a non-object in specials.php, whats_new.php ..
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Fatal error: Call to a member function getCode() on a non-object in specials.php, whats_new.php ..
#12506
Fatal error: Call to a member function getCode() on a non-object in specials.php, whats_new.php .. 2 Years, 11 Months ago Karma: 0
Hello, I have installed a fresh install of Tomatocart and while editing the position of the boxes, when I added the FAQ box to the left side of my Tomatocart Store, everything simply crashed saying something like this:
"Fatal error: Call to a member function getCode() on a non-object in /htdocs/public/www/includes/modules/boxes/whats_new.php on line 32"

The page is white and only the text of the "Votes Box" appears before this error.

When I delete the "What's new Box" from admin panel then the error changes to:

"Fatal error: Call to a member function getCode() on a non-object in /htdocs/public/www/includes/modules/boxes/specials.php on line 33"

And every time I delete the Box mentioned in the error, another error appears.

The problem is that all this happened when I added the "FAQ Box" to the left side of the website and when I refreshed the website the error appeared. I have deleted the "FAQ Box" but the error still remains. So I decided to delete one Box behind other but the error still apeared "Fatal error: Call to a member function getCode() on a non-object in somescrip.php on line X".

Need help! Thanks!
rhp07
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#12507
Re:Fatal error: Call to a member function getCode() on a non-object in specials.php, whats_new.php .. 2 Years, 11 Months ago Karma: 0
I'm using latest Stable Tomatocart 1.1.4 version. All worked perfet. Until this happened. Website is closed. So I was the only one that could access to it (Maintenance Mode).
rhp07
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#14879
Re:Fatal error: Call to a member function getCode() on a non-object in specials.php, whats_new.php .. 2 Years, 8 Months ago Karma: 0
I had this error
"Fatal error: Call to a member function getCode() on a non-object in /htdocs/public/www/includes/modules/boxes/specials.php on line 32"

Which is one code line off from your error. I fixed it by turning on"currencies"
From admin page "Start>Modules>Service> Currencies" Install it.
You can turn it off else where, but it must be on there to get rid of that error.

I can turn it off and on and recreate the problem every time.
joker
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Gender: Male joe.khur Joker Blue cleehamilton Location: Austin Texas, USA Birthday: 05/06
The administrator has disabled public write access.
 
Go to top Page: 1

Latest Blog Post

TomatoCart v1.1.7 to v1.1.8 Upgrade Guide!

The upgrade guide is a step-by-step tutorial to help users to upgrade TomatoCart v1.1.7 to v1.1.8. If you have not yet updated to v1.1.7, please review its upgrade guide before applying these changes. [...]

By TomatoCart | august 21, 2012

contact_us

info@tomatocart.com
partner@tomatocart.com
Facebook Google+ Linkedin Twitter

Newsletter Subscription

Fork us on GitHub