Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Square Payment Processing: myDEBUG file generated

    Quote Originally Posted by edadk View Post
    Received an order today with no warnings, so that change works.

    Thanks very much.
    Welcome. Looking over the code it would appear that the same change would be appropriate in the other locations where count($errors_object) is used.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  2. #2
    Join Date
    Aug 2004
    Location
    Newport, Wales
    Posts
    283
    Plugin Contributions
    0

    Default Re: Square Payment Processing: myDEBUG file generated

    I got the same error (but on line 355) running 1.5.6c and PHP 7.2

    I made the amendment Doc suggested - adding $errors_object = array(); as Edadk said it resolved the issue - but has anyone feedback on the effect of changing the instances of count to
    Code:
    if (!empty($errors_object)) {
    in square.php??

    Cheers
    Brinley

 

 

Similar Threads

  1. Square Payment Module for Zen Cart [Support Thread]
    By DrByte in forum Addon Payment Modules
    Replies: 820
    Last Post: 16 May 2026, 01:07 AM
  2. Replies: 5
    Last Post: 4 Sep 2019, 05:10 PM
  3. Is there a Square / SquareUp payment module?
    By thatsamore in forum Addon Payment Modules
    Replies: 48
    Last Post: 25 Jul 2017, 12:09 AM
  4. Replies: 4
    Last Post: 19 Jan 2013, 05:47 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