Giter Site home page Giter Site logo

Comments (2)

jwswj avatar jwswj commented on July 24, 2024

There has been a major breaking change as we moved from v1 to v2. I'd recommend locking your composer file to the 1.* to get this working again, then looking at upgrading to the v2 branch as it has much better error handing.

In the v2 world your code looks like:

$client = $this->GetClient();
$query = 'type:organization name:"'.$zendesk_organisation_name.'"';
$organisations = $client->search()->find($query);

We're working on an upgrade guide to help people move from v1 to v2.

from zendesk_api_client_php.

jwswj avatar jwswj commented on July 24, 2024

Looks like you also got this answered on our community forums - https://support.zendesk.com/hc/en-us/community/posts/205432517-PHP-API-Error-Undefined-property-Zendesk-API-Resources-Core-Search-results?page=1#community_comment_207608577

from zendesk_api_client_php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.