Closed Nathan-Srivi closed 10 years ago
Hi @anandanmdu, the error you are obtaining is due to a typo, which has been already fixed [https://github.com/facebook/facebook-php-ads-sdk/commit/12b37839140bf47644694414dbe1751b9883149e]. Pls be sure you are using the latest version of the SDK by running
php composer.phar update
if you are using it as standalone clone just
git pull
Hi @pruno,
I got error again and again. when i update my composer burger error fixed but next i got 16 errors
please review the gist file https://gist.github.com/anandanmdu/488ac5ca5bba642d3a1b
Please help me to fix this issues
that looks like something is wrong in the base Facebook PHP SDK. Likely something is wrong with the certificate file you're using.
Did you install using composer?
Yes i install via composer.
Did you mean White-listed app??
can you check the contents of the file in vendor/facebook/facebook-php-sdk-v4/src/Facebook/HttpClients/fb_ca_chain_bundle.crt is the same as https://github.com/facebook/facebook-php-sdk-v4/blob/4.0-dev/src/Facebook/HttpClients/fb_ca_chain_bundle.crt
This error originates from the base Facebook PHP SDK, not the Ads API SDK.
ok please wait i will check it and update you
I have verified fb_ca_chain_bundle.crt also. still, am getting the same error while executing this ./vendor/bin/phpunit -c test/ PHPUnit 4.3.1 by Sebastian Bergmann.
Configuration read from /var/www/facebook-php-ads-sdk/test/phpunit.xml
...E....EEEEEEEEEEEE.EEE
Time: 45.59 seconds, Memory: 7.50Mb
There were 16 errors:
1) FacebookAdsTest\ApiTest::testCall Facebook\FacebookSDKException: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
/var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/HttpClients/FacebookCurlHttpClient.php:142 /var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/FacebookRequest.php:243 /var/www/facebook-php-ads-sdk/src/FacebookAds/Api.php:144 /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/ApiTest.php:60 /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/phpunit:56
2) FacebookAdsTest\Object\AdAccountGroupTest::testCrudAccess Facebook\FacebookSDKException: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
/var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/HttpClients/FacebookCurlHttpClient.php:142 /var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/FacebookRequest.php:243 /var/www/facebook-php-ads-sdk/src/FacebookAds/Api.php:144 /var/www/facebook-php-ads-sdk/src/FacebookAds/Object/AbstractCrudObject.php:244 /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/Object/AbstractCrudObjectTestCase.php:40 /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/Object/AdAccountGroupTest.php:35 /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/phpunit:56
3) FacebookAdsTest\Object\AdAccountTest::testCrud Facebook\FacebookSDKException: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
/var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/HttpClients/FacebookCurlHttpClient.php:142 /var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/FacebookRequest.php:243 /var/www/facebook-php-ads-sdk/src/FacebookAds/Api.php:144 /var/www/facebook-php-ads-sdk/src/FacebookAds/Object/AbstractCrudObject.php:270 /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/Object/AbstractCrudObjectTestCase.php:74 /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/Object/AdAccountTest.php:34 /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/phpunit:56
4) FacebookAdsTest\Object\AdCampaignTest::testCrud Facebook\FacebookSDKException: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
/var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/HttpClients/FacebookCurlHttpClient.php:142 /var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/FacebookRequest.php:243 /var/www/facebook-php-ads-sdk/src/FacebookAds/Api.php:144 /var/www/facebook-php-ads-sdk/src/FacebookAds/Object/AbstractCrudObject.php:244 /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/Object/AbstractCrudObjectTestCase.php:40 /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/Object/AdCampaignTest.php:36 /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/phpunit:56
5) FacebookAdsTest\Object\AdConversionPixelTest::testCrud Facebook\FacebookSDKException: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
/var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/HttpClients/FacebookCurlHttpClient.php:142 /var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/FacebookRequest.php:243 /var/www/facebook-php-ads-sdk/src/FacebookAds/Api.php:144 /var/www/facebook-php-ads-sdk/src/FacebookAds/Object/AbstractCrudObject.php:244 /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/Object/AbstractCrudObjectTestCase.php:40 /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/Object/AdConversionPixelTest.php:37 /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/phpunit:56
6) FacebookAdsTest\Object\AdCreativeTest::testCrud Facebook\FacebookSDKException: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
/var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/HttpClients/FacebookCurlHttpClient.php:142 /var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/FacebookRequest.php:243 /var/www/facebook-php-ads-sdk/src/FacebookAds/Api.php:144 /var/www/facebook-php-ads-sdk/src/FacebookAds/Object/AbstractCrudObject.php:244 /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/Object/AbstractCrudObjectTestCase.php:40 /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/Object/AdCreativeTest.php:38 /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/phpunit:56
7) FacebookAdsTest\Object\AdGroupTest::testCrudAccess Facebook\FacebookSDKException: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
/var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/HttpClients/FacebookCurlHttpClient.php:142 /var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/FacebookRequest.php:243 /var/www/facebook-php-ads-sdk/src/FacebookAds/Api.php:144 /var/www/facebook-php-ads-sdk/src/FacebookAds/Object/AbstractCrudObject.php:244 /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/Object/AdGroupTest.php:67 /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/phpunit:56
8) FacebookAdsTest\Object\AdImageTest::testCrud Facebook\FacebookSDKException: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
/var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/HttpClients/FacebookCurlHttpClient.php:142 /var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/FacebookRequest.php:243 /var/www/facebook-php-ads-sdk/src/FacebookAds/Api.php:144 /var/www/facebook-php-ads-sdk/src/FacebookAds/Object/AdImage.php:97 /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/Object/AbstractCrudObjectTestCase.php:40 /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/Object/AdImageTest.php:35 /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/phpunit:56
9) FacebookAdsTest\Object\AdPreviewTest::testAdPreviews Facebook\FacebookSDKException: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
/var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/HttpClients/FacebookCurlHttpClient.php:142 /var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/FacebookRequest.php:243 /var/www/facebook-php-ads-sdk/src/FacebookAds/Api.php:144 /var/www/facebook-php-ads-sdk/src/FacebookAds/Object/AbstractCrudObject.php:244 /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/Object/AdPreviewTest.php:75 /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/phpunit:56
10) FacebookAdsTest\Object\AdSetTest::testCrud Facebook\FacebookSDKException: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
/var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/HttpClients/FacebookCurlHttpClient.php:142 /var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/FacebookRequest.php:243 /var/www/facebook-php-ads-sdk/src/FacebookAds/Api.php:144 /var/www/facebook-php-ads-sdk/src/FacebookAds/Object/AbstractCrudObject.php:244 /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/Object/AdSetTest.php:44 /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/phpunit:56
11) FacebookAdsTest\Object\AdTagTest::testCrud Facebook\FacebookSDKException: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
/var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/HttpClients/FacebookCurlHttpClient.php:142 /var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/FacebookRequest.php:243 /var/www/facebook-php-ads-sdk/src/FacebookAds/Api.php:144 /var/www/facebook-php-ads-sdk/src/FacebookAds/Object/AbstractCrudObject.php:244 /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/Object/AdTagTest.php:79 /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/phpunit:56
12) FacebookAdsTest\Object\AdUserTest::testCrudAccess Facebook\FacebookSDKException: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
/var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/HttpClients/FacebookCurlHttpClient.php:142 /var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/FacebookRequest.php:243 /var/www/facebook-php-ads-sdk/src/FacebookAds/Api.php:144 /var/www/facebook-php-ads-sdk/src/FacebookAds/Object/AbstractCrudObject.php:367 /var/www/facebook-php-ads-sdk/src/FacebookAds/Object/AbstractCrudObject.php:455 /var/www/facebook-php-ads-sdk/src/FacebookAds/Object/AdAccount.php:104 /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/Object/AdUserTest.php:35 /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/phpunit:56
13) FacebookAdsTest\Object\AdsPixelsTest::testCrud Facebook\FacebookSDKException: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
/var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/HttpClients/FacebookCurlHttpClient.php:142 /var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/FacebookRequest.php:243 /var/www/facebook-php-ads-sdk/src/FacebookAds/Api.php:144 /var/www/facebook-php-ads-sdk/src/FacebookAds/Object/AbstractCrudObject.php:367 /var/www/facebook-php-ads-sdk/src/FacebookAds/Object/AbstractCrudObject.php:455 /var/www/facebook-php-ads-sdk/src/FacebookAds/Object/AdAccount.php:187 /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/Object/AdsPixelsTest.php:35 /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/phpunit:56
14) FacebookAdsTest\Object\CustomAudienceTest::testCustomAudiences Facebook\FacebookSDKException: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
/var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/HttpClients/FacebookCurlHttpClient.php:142 /var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/FacebookRequest.php:243 /var/www/facebook-php-ads-sdk/src/FacebookAds/Api.php:144 /var/www/facebook-php-ads-sdk/src/FacebookAds/Object/AbstractCrudObject.php:244 /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/Object/AbstractCrudObjectTestCase.php:40 /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/Object/CustomAudienceTest.php:53 /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/phpunit:56
15) FacebookAdsTest\Object\PartnerCategoryTest::testCrudAccess Facebook\FacebookSDKException: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
/var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/HttpClients/FacebookCurlHttpClient.php:142 /var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/FacebookRequest.php:243 /var/www/facebook-php-ads-sdk/src/FacebookAds/Api.php:144 /var/www/facebook-php-ads-sdk/src/FacebookAds/Object/AbstractCrudObject.php:367 /var/www/facebook-php-ads-sdk/src/FacebookAds/Object/AbstractCrudObject.php:455 /var/www/facebook-php-ads-sdk/src/FacebookAds/Object/AdAccount.php:246 /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/Object/PartnerCategoryTest.php:35 /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/phpunit:56
16) FacebookAdsTest\Object\ReachFrequencyPredictionTest::testCrudAccess Facebook\FacebookSDKException: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
/var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/HttpClients/FacebookCurlHttpClient.php:142 /var/www/facebook-php-ads-sdk/vendor/facebook/php-sdk-v4/src/Facebook/FacebookRequest.php:243 /var/www/facebook-php-ads-sdk/src/FacebookAds/Api.php:144 /var/www/facebook-php-ads-sdk/src/FacebookAds/Object/AbstractCrudObject.php:244 /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/Object/AbstractCrudObjectTestCase.php:40 /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/Object/ReachFrequencyPredictionTest.php:59 /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/phpunit:56
FAILURES! Tests: 24, Assertions: 28, Errors: 16.
Generating code coverage report in HTML format ... done
Code Coverage Report: 2014-10-08 05:51:31
Summary: Classes: 13.79% (4/29) Methods: 27.91% (48/172) Lines: 28.71% (172/599)
\FacebookAds::Api Methods: 71.43% ( 5/ 7) Lines: 83.33% ( 30/ 36) \FacebookAds::Cursor Methods: 93.33% (14/15) Lines: 93.55% ( 29/ 31) \FacebookAds::HttpClient Methods: 100.00% ( 2/ 2) Lines: 100.00% ( 7/ 7) \FacebookAds\Object::AbstractArchivableCrudObject Methods: 0.00% ( 0/ 2) Lines: 16.67% ( 2/ 12) \FacebookAds\Object::AbstractCrudObject Methods: 32.26% (10/31) Lines: 39.74% ( 62/156) \FacebookAds\Object::AbstractObject Methods: 37.50% ( 3/ 8) Lines: 45.83% ( 11/ 24) \FacebookAds\Object::AdAccount Methods: 11.54% ( 3/26) Lines: 8.16% ( 4/ 49) \FacebookAds\Object::AdAccountGroup Methods: 40.00% ( 2/ 5) Lines: 17.65% ( 3/ 17) \FacebookAds\Object::AdCampaign Methods: 25.00% ( 1/ 4) Lines: 20.00% ( 1/ 5) \FacebookAds\Object::AdConversionPixel Methods: 100.00% ( 1/ 1) Lines: 100.00% ( 1/ 1) \FacebookAds\Object::AdCreative Methods: 50.00% ( 1/ 2) Lines: 33.33% ( 1/ 3) \FacebookAds\Object::AdImage Methods: 16.67% ( 1/ 6) Lines: 27.27% ( 12/ 44) \FacebookAds\Object::AdUser Methods: 50.00% ( 1/ 2) Lines: 50.00% ( 1/ 2) \FacebookAds\Object::AdsPixel Methods: 100.00% ( 1/ 1) Lines: 100.00% ( 1/ 1) \FacebookAds\Object::CustomAudience Methods: 14.29% ( 1/ 7) Lines: 2.78% ( 1/ 36) \FacebookAds\Object::PartnerCategory Methods: 100.00% ( 1/ 1) Lines: 100.00% ( 1/ 1) \FacebookAds\Object::ReachFrequencyPrediction Methods: 33.33% ( 1/ 3) Lines: 4.55% ( 1/ 22) \FacebookAds\Traits::FieldValidation Methods: 0.00% ( 0/ 1) Lines: 66.67% ( 4/ 6)
Can you confirm these were the steps you followed to setup your repo?
cd ~/
git clone git@github.com:facebook/facebook-php-ads-sdk.git
cd facebook-php-ads-sdk
curl -sS https://getcomposer.org/installer | php
php composer.phar install
cp test/config.php.dist test/config.php
Yes. i have followed those steps as you stated above. pls help me to fix this issue.
Are you actually trying to use the SDK to make requests, or to add features? Adding features you follow the above steps, and to just use this in your software, you should use the steps in the getting started guide. https://github.com/facebook/facebook-php-ads-sdk/blob/master/README.md
We can't reproduce this issue in our testing so I'm not sure how we can help. It isn't an issue with the Ads API SDK but rather one it uses to make requests.
Hi @paulbain & @pruno , I had followed all the instruction as you told, still am stuck with that state. what is the mandatory things to be fill up in config.php. we have omitted last two fields in the config.php file. FYR: https://gist.github.com/anandanmdu/2b7cbc2f5a2143bc7e41
Please give any solution to me.
you're missing the act_ prefix to your act_id in the file. Also you should never share your access token publicly, it's a security risk.
Hi @paulbain ,
I have put the act_prefix to my act_id also. Still, am stuck with the same place (getting ssl certificate error while execute ./vendor/bin/phpunit -c test/). please clarify one more query to me, facebook php ads sdk should contain the facebook php sdk folder or not. Please advice me and many thanks for your support.
take a look in the vendor/facebook directory, it should be there under php-sdk-v4
closing this out for now, let us know if you continue to have issues.
Hi, I am integrating Facebook ads sdk into my Linux server. For your guidance i install all packages into my server. when i execute
./vendor/bin/phpunit -c test/
This comment i got a error first. xdebug not found error. so i install xdebug into server then i add into composer.json file.
Next i run the following comment
./vendor/bin/phpunit -c test/
i got the error again.
My error is given below
E....EEEEEEEEEEEE.EEPHP Fatal error: Undefined class constant 'BURGER' in /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/Object/ReachFrequencyPredictionTest.php on line 49 PHP Stack trace: PHP 1. {main}() /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/phpunit:0 PHP 2. PHPUnit_TextUI_Command::main() /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/phpunit:56 PHP 3. PHPUnit_TextUI_Command->run() /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/src/TextUI/Command.php:138 PHP 4. PHPUnit_TextUI_TestRunner->doRun() /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/src/TextUI/Command.php:186 PHP 5. PHPUnit_Framework_TestSuite->run() /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:423 PHP 6. PHPUnit_Framework_TestSuite->run() /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/src/Framework/TestSuite.php:751 PHP 7. PHPUnit_Framework_TestCase->run() /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/src/Framework/TestSuite.php:751 PHP 8. PHPUnit_Framework_TestResult->run() /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/src/Framework/TestCase.php:708 PHP 9. PHPUnit_Framework_TestCase->runBare() /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/src/Framework/TestResult.php:643 PHP 10. PHPUnit_Framework_TestCase->runTest() /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/src/Framework/TestCase.php:772 PHP 11. ReflectionMethod->invokeArgs() /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/src/Framework/TestCase.php:906 PHP 12. FacebookAdsTest\Object\ReachFrequencyPredictionTest->testCrudAccess() /var/www/facebook-php-ads-sdk/vendor/phpunit/phpunit/src/Framework/TestCase.php:906 root@Devel-56:/var/www/facebook-php-ads-sdk# vim /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/Object/ReachFrequencyPredictionTest.php root@Devel-56:/var/www/facebook-php-ads-sdk# ./vendor/bin/phpunit -c test/ PHPUnit 4.3.1 by Sebastian Bergmann
Please help me whats wrong please any one help me
Fatal error: Undefined class constant 'BURGER' in /var/www/facebook-php-ads-sdk/test/FacebookAdsTest/Object/ReachFrequencyPredictionTest.php on line 49