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: profile_simple.php
<?php
[0] Fix | Delete
require_once("../lib/Mixpanel.php"); // import the Mixpanel class
[1] Fix | Delete
$mp = Mixpanel::getInstance("MIXPANEL_PROJECT_TOKEN"); // instantiate the Mixpanel class
[2] Fix | Delete
[3] Fix | Delete
// create or update a profile with First Name, Last Name, E-Mail Address, Phone Number, and Favorite Color
[4] Fix | Delete
$mp->people->set(12345, array(
[5] Fix | Delete
'$first_name' => "John",
[6] Fix | Delete
'$last_name' => "Doe",
[7] Fix | Delete
'$email' => "john.doe@example.com",
[8] Fix | Delete
'$phone' => "5555555555",
[9] Fix | Delete
"Favorite Color" => "red"
[10] Fix | Delete
));
[11] Fix | Delete
[12] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function