Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implicit fetching fails due to null request #34

Closed
neovdr opened this issue Nov 17, 2014 · 2 comments
Closed

Implicit fetching fails due to null request #34

neovdr opened this issue Nov 17, 2014 · 2 comments

Comments

@neovdr
Copy link
Contributor

neovdr commented Nov 17, 2014

When trying out implicit fetch, iteration fails with: "__clone method called on non-object" in Cursor.php line 217.

Sample code that fails

//Some fields
//Some account
$campaigns = $ad_account->getAdCampaigns($fields);
$campaigns->setUseImplicitFetch(true);
foreach($campaigns as $campaign){
            echo $campaign->getData();
        }
@paulbain
Copy link
Contributor

yes, this is a problem. Will push a fix shortly.

@paulbain
Copy link
Contributor

fixed in 329dcc0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants