I enabled gift certificates and now I receive this error in the Order Total Modules
Fatal error: Call to a member function format() on a non-object in /home/*****/public_html/store/includes/modules/order_total/ot_gv.php on line 49
Can anyone help?
I enabled gift certificates and now I receive this error in the Order Total Modules
Fatal error: Call to a member function format() on a non-object in /home/*****/public_html/store/includes/modules/order_total/ot_gv.php on line 49
Can anyone help?
When you reply - Scroll up and read posting tips and answer the questions
I have never posted about this issue before.
I'm using version 138.a
No my site has not been upgraded.
I searched the forum and the only threads I found with the same problem as me did not help rectify my problem.
The problem started when I enabled gift certificates.
This is not my first store.
You really need to upgrade as known vulnerabilities have been known since approx Jul '09I'm using version 138.a
Support for that old of a version is sparse
Hopefully someone still has 1.3.8a & knows something about this issue
Ok thanks for the reply, I understand I need to upgrade but at this moment in time it's not possible.
This is the code line that supposedly has the error, if anyone could help I would truly appreciate it since it seems my customers now can't use Gift Certificate Balances while checking out
PHP Code:$this->checkbox = $this->user_prompt . '<input type="text" size="6" onkeyup="submitFunction()" name="cot_gv" value="' . number_format($_SESSION['cot_gv'], 2) . '" onfocus="if (this.value == \'' . number_format($_SESSION['cot_gv'], 2) . '\') this.value = \'\';" />' . ($this->user_has_gv_account($_SESSION['customer_id']) > 0 ? '<br />' . MODULE_ORDER_TOTAL_GV_USER_BALANCE . $currencies->format($this->user_has_gv_account($_SESSION['customer_id'])) : '');