Closed
Description
Issue Description
Hey there! I just installed parse using composer and for some reason some functions in the ParseClient such as getServerHealth()
are missing. Simply copying that function showed that some other function was missing, too. Does anyone else have that problem?
Steps to reproduce
Start a project with this composer file
{
"require": {
"parse/php-sdk" : "1.3.*",
"vlucas/phpdotenv": "^2.4"
}
}
Environment Details
- Your PHP Version: PHP 7.1.8
- Your Parse PHP SDK Version: 1.3.0
- Your Operating System: macOS High Sierra (10.13.1)
Logs/Traces
PHP Fatal error: Uncaught Error: Call to undefined method Parse\ParseClient::getServerHealth() in /Users/name/path/main.php:16
Stack trace:
#0 /Users/name/path/main.php(8): setupParse()
#1 {main}
thrown in /Users/name/path/main.php on line 16
Fatal error: Uncaught Error: Call to undefined method Parse\ParseClient::getServerHealth() in /Users/name/path/main.php:16
Stack trace:
#0 /Users/name/path/main.php(8): setupParse()
#1 {main}
thrown in /Users/name/path/main.php on line 16
require 'vendor/autoload.php';
include_once 'config.php';
use Parse\ParseClient;
....
function setupParse(){
ParseClient::initialize( getenv('PARSE_APP_ID'), null, getenv('PARSE_KEY') );
ParseClient::setServerURL(getenv('PARSE_SERVER'),getenv('PARSE_MOUNT_POINT'));
$health = ParseClient::getServerHealth();
return $health['status'] === 200;
}
Metadata
Metadata
Assignees
Labels
No labels