Skip to content

Warning: Trying to access array offset on value of type null in /app/code/community/Zendesk/Zendesk/Model/Api/Tickets.php on line 85 #181

Open
@m-overlund

Description

@m-overlund

Maybe a PHP8 error?
Using OpenMage 19.4.21

Warning: Trying to access array offset on value of type null  in app/code/community/Zendesk/Zendesk/Model/Api/Tickets.php on line 85

TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in app/code/community/Zendesk/Zendesk/Model/Api/Tickets.php:85

#0 app/design/adminhtml/default/default/template/zendesk/order/tickets.phtml(28): Zendesk_Zendesk_Model_Api_Tickets->forOrder()


Activity

agrohs

agrohs commented on Feb 8, 2023

@agrohs
Contributor

Hello @m-overlund, thanks for reaching out on here. If you have any more info/details or a PR to resolve, we'd certainly appreciate any help on it.

agrohs

agrohs commented on Feb 8, 2023

@agrohs
Contributor

Also, just wanted to confirm you are running the latest version of the code? I see that you have a forked version that is a decent number of commits behind and want to ensure the issue is in the main codebase/not your fork?

m-overlund

m-overlund commented on Feb 8, 2023

@m-overlund
Author

We do use Extension Version: 3.0.1
( The fork is just related to pull request #141 )

added a commit that references this issue on Mar 30, 2023
1a617ec
linked a pull request that will close this issue on Mar 30, 2023
m-overlund

m-overlund commented on Mar 30, 2023

@m-overlund
Author

Created a pull request to fix this error

agrohs

agrohs commented on Apr 4, 2023

@agrohs
Contributor

I'll have the team take a look over and get it merged. Thanks @m-overlund!

cc: @rsbowers

agrohs

agrohs commented on Jul 5, 2023

@agrohs
Contributor
ajbonner

ajbonner commented on Jan 15, 2024

@ajbonner

@rsbowers just checking also re the above, and more generally if project is now 'sunsetted'?

agrohs

agrohs commented on Sep 17, 2024

@agrohs
Contributor

@rsbowers - what's the latest on this??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @ajbonner@agrohs@m-overlund

      Issue actions

        Warning: Trying to access array offset on value of type null in /app/code/community/Zendesk/Zendesk/Model/Api/Tickets.php on line 85 · Issue #181 · agnostack/magento_extension