Replies: 2 comments
-
Hi Brenda, I'd recommend checking that LineItems is set before trying to iterate it. P.S. I believe you ran into a similar issue back in 2015 when using xero-php, so check out that email thread where I provided some examples. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ah. Thanks Michael. I not programming much in PHP. Can you recommend a good
online course to do to become more proficient?
Brenda Walker
IT Consultant
***@***.***
021 910 975
…On Wed, Dec 20, 2023 at 7:12 AM Michael Calcinai ***@***.***> wrote:
Hi Brenda, I'd recommend checking that LineItems is set before trying to
iterate it.
P.S. I believe you ran into a similar issue back in 2015 when using
xero-php, so check out that email thread where I provided some examples.
—
Reply to this email directly, view it on GitHub
<#338 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADANIVOOKD7TS3XI5ZCVHLDYKHKI7AVCNFSM6AAAAABAX5DJPCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TSMBQGY2TO>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
But getting this error message
Notice: Undefined property: XeroAPI\XeroPHP\Models\Accounting\Invoices::$LineItems in C:\xampp\htdocs\xero-AlpineFreshOauth2\testUpdate.php on line 77
Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\xero-AlpineFreshOauth2\testUpdate.php on line 77
Beta Was this translation helpful? Give feedback.
All reactions