Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2009
    Posts
    440
    Plugin Contributions
    0

    Default A Couple of PHP Warnings On Checkout

    I just wanted to post these couple of PHP warnings that I get in my Error Logs in hopes to help with future updates of these files. I know that they do not impact the operation of my site and customers have no issues as these are just warnings....

    PHP Warning: Undefined global variable $ in /includes/templates/custom/templates/tpl_ajax_checkout_confirmation_default.php on line 35.

    and also....

    PHP Warning: Attempt to read property "title" on null in /includes/templates/custom/templates/tpl_ajax_checkout_confirmation_default.php on line 35.

    Hope this helps.

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,971
    Plugin Contributions
    96

    Default Re: A Couple of PHP Warnings On Checkout

    Quote Originally Posted by NWCE View Post
    I just wanted to post these couple of PHP warnings that I get in my Error Logs in hopes to help with future updates of these files. I know that they do not impact the operation of my site and customers have no issues as these are just warnings....

    PHP Warning: Undefined global variable $ in /includes/templates/custom/templates/tpl_ajax_checkout_confirmation_default.php on line 35.

    and also....

    PHP Warning: Attempt to read property "title" on null in /includes/templates/custom/templates/tpl_ajax_checkout_confirmation_default.php on line 35.

    Hope this helps.
    What payment modules are currently enabled? That log indicates that the currently-selected payment module wasn't active during the AJAX checkout confirmation.

  3. #3
    Join Date
    Oct 2009
    Posts
    440
    Plugin Contributions
    0

    Default Re: A Couple of PHP Warnings On Checkout

    Thanks for your reply lat9!

    I have both Paypal Express and Paypal Pro active in my cart....and these are the only forms of payment I show as acceptable on my site.

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,971
    Plugin Contributions
    96

    Default Re: A Couple of PHP Warnings On Checkout

    Quote Originally Posted by NWCE View Post
    Thanks for your reply lat9!

    I have both Paypal Express and Paypal Pro active in my cart....and these are the only forms of payment I show as acceptable on my site.
    Thanks for that! Are you using the built-in 3-page checkout or OPC?

  5. #5
    Join Date
    Oct 2009
    Posts
    440
    Plugin Contributions
    0

    Default Re: A Couple of PHP Warnings On Checkout

    I am using the standard 3 page checkout....no additional plugins on the checkout process.

    Thanks again for your help with this!

  6. #6
    Join Date
    Oct 2009
    Posts
    440
    Plugin Contributions
    0

    Default Re: A Couple of PHP Warnings On Checkout

    One quick addition.....I am wondering if this PHP warning set it triggered when people are using a coupon to get their item for free.

    Not 100% sure if it corresponds to those orders....but just a thought that it may only be for these orders.

 

 

Similar Threads

  1. v157 PHP Warnings and Fatal errors after upgrading to PHP 8
    By bigandrew in forum General Questions
    Replies: 9
    Last Post: 29 Jul 2021, 05:31 PM
  2. v156 PHP 7.3 preg_xxxxx Warnings
    By mc12345678 in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 28 Jun 2019, 01:41 PM
  3. Replies: 38
    Last Post: 1 Nov 2018, 09:28 PM
  4. PHP warnings
    By LEP in forum General Questions
    Replies: 4
    Last Post: 6 Jun 2006, 10:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg