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: aliasing.php
<?php
[0] Fix | Delete
// import the Mixpanel class
[1] Fix | Delete
require_once("../lib/Mixpanel.php");
[2] Fix | Delete
[3] Fix | Delete
// instantiate the Mixpanel class
[4] Fix | Delete
$mp = Mixpanel::getInstance("MIXPANEL_PROJECT_TOKEN");
[5] Fix | Delete
[6] Fix | Delete
// create an alias for user id 12345 (note that this is a synchronous call)
[7] Fix | Delete
$mp->createAlias(12345, "john.doe@example.com");
[8] Fix | Delete
[9] Fix | Delete
// update the record previously identified by 12345 using the new alias
[10] Fix | Delete
$mp->people->set("john.doe@example.com", array(
[11] Fix | Delete
'$last_name' => "Doe-Aliased",
[12] Fix | Delete
'aliased' => "indeed"
[13] Fix | Delete
));
[14] Fix | Delete
[15] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function