Google-api-php-client: inserting customBatch

Created on 14 Aug 2019  路  3Comments  路  Source: googleapis/google-api-php-client

An uncaught Exception was encountered
Type: Error

Message: Call to undefined method Google_Service_ShoppingContent_ProductsCustomBatchRequest::toSimpleObject()

Line Number: 108

Backtrace:

File: vendor/google/apiclient-services/src/Google/Service/ShoppingContent/Resource/Products.php
Line: 40
Function: call
question

All 3 comments

Please share the code you're executing which is raising this error.

As we don't have enough information to assist in resolving this issue, I'm going to close it. If you're still having trouble, please feel free to reopen, providing the information requested, and we'll be happy to continue assisting!

@jdpedrie Thanks for looking into the issue. later I figured it, that it was due to same class name which I was using in my project. The class name was "Google_model".

It is now been resolved and is working great at my end :-)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kungufli picture kungufli  路  3Comments

upendtu picture upendtu  路  4Comments

mandavister picture mandavister  路  4Comments

Fredyy90 picture Fredyy90  路  3Comments

mevsme picture mevsme  路  4Comments