Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/wp-smush.../vendor/mixpanel/mixpanel.../examples
File: curl_consumer.php
<?php
[0] Fix | Delete
require_once("../lib/Mixpanel.php"); // import the Mixpanel class
[1] Fix | Delete
[2] Fix | Delete
// Make calls using the PHP cURL extension not using SSL
[3] Fix | Delete
// Warning: This will block until the requests are complete.
[4] Fix | Delete
$mp = new Mixpanel("MIXPANEL_PROJECT_TOKEN", array(
[5] Fix | Delete
"debug" => true,
[6] Fix | Delete
"consumer" => "curl",
[7] Fix | Delete
"fork" => false,
[8] Fix | Delete
"use_ssl" => false
[9] Fix | Delete
));
[10] Fix | Delete
[11] Fix | Delete
$mp->track("test_event", array("color" => "blue"));
[12] Fix | Delete
$mp->track("test_event", array("color" => "red"));
[13] Fix | Delete
[14] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function