Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-619

PHP Docs: Errors in this Page

    XMLWordPrintable

Details

    Description

      Please correct the errors mentioned below
      =========================================
      Errors in List action of beers markup

      • An extra closing parentheses in line 6. Remove it to make the code run properly.
      • A CouchbaseMetaDoc object is supplied to the json_decode function in line 15. The parameter supplied to json_decode must be $doc->value in-order to make the code run properly.

      Errors in Show action of beers markup

      • A CouchbaseMetaDoc object is supplied to the json_decode function in line 6. The parameter supplied to json_decode must be $beer->value in-order to make the code run properly.

      Errors in Edit action of beers markup

      • A CouchbaseMetaDoc object is supplied to the json_decode function in line 7. The parameter supplied to json_decode must be $beer->value in-order to make the code run properly.
      • The set function used in line 37 is deprecated in SDK 2.0. Function upsert must be used instead of set to make the code run properly.

      Errors in Search action of beers markup

      • $options declared in line 6 is not used in the application. Remove it to give more clarity to the code.
      • A CouchbaseMetaDoc object is supplied to the json_decode function in line 25. The parameter supplied to json_decode must be $doc->value in-order to make the code run properly.

      Reporter: Finny Abraham
      E-mail: finnyabraham@gmail.com

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            akurtzman Amy Kurtzman (Inactive)
            docsite-collector Docs Site Collector
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty