Warning: session_start(): open(/var/cpanel/php/sessions/ea-php72/sess_70ab04ef38fe54dac417844b35140e85, O_RDWR) failed: No such file or directory (2) in /home/veltratech/public_html/digital/wp-content/plugins/easy-digital-downloads/includes/class-edd-session.php on line 414

Warning: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/ea-php72) in /home/veltratech/public_html/digital/wp-content/plugins/easy-digital-downloads/includes/class-edd-session.php on line 414
Fixing the No Config Error while adding new account - VeltraTech

Fixing the No Config Error while adding new account

Open the this file
app\vendor\mgp25\instagram-php\src\Request\Internal.php

Search for this

 

public function sendLauncherSync(
        $prelogin)
    {
        $request = $this->ig->request('launcher/sync/')
            ->addPost('_csrftoken', $this->ig->client->getToken())
            ->addPost('configs', '');
        if ($prelogin) {
            $request
                ->setNeedsAuth(false)
                ->addPost('id', $this->ig->uuid);
        } else {
            $request
                ->addPost('id', $this->ig->account_id)
                ->addPost('_uuid', $this->ig->uuid)
                ->addPost('_uid', $this->ig->account_id)
                ->addPost('_csrftoken', $this->ig->client->getToken());
        }

        return $request->getResponse(new Response\LauncherSyncResponse());
    }

 

IF YOU ARE USING OLD VERSION OF THE API THEN USE THIS OR SKIP FOR NEXT
public function sendLauncherSync(
        $prelogin)
    {
        $request = $this->ig->request('launcher/sync/')
            ->addPost('_csrftoken', $this->ig->client->getToken())
            ->addPost('configs', 'ig_fbns_blocked,ig_android_felix_release_players,ig_user_mismatch_soft_error,ig_android_carrier_signals_killswitch,ig_android_killswitch_perm_direct_ssim,fizz_ig_android,ig_mi_block_expired_events,ig_android_os_version_blocking_config');
        if ($prelogin) {
            $request
                ->setNeedsAuth(false)
                ->addPost('id', $this->ig->uuid);
        } else {
            $request
                ->addPost('id', $this->ig->account_id)
                ->addPost('_uuid', $this->ig->uuid)
                ->addPost('_uid', $this->ig->account_id)
                ->addPost('_csrftoken', $this->ig->client->getToken());
        }

        return $request->getResponse(new Response\LauncherSyncResponse());
    }
IF YOU ARE USING NEW API VERSION V85 THEN USE BELOW
   public function sendLauncherSync(
        $prelogin)
    {
        $request = $this->ig->request('launcher/sync/')
            ->addPost('_csrftoken', $this->ig->client->getToken())
            ->addPost('configs', 'ig_android_felix_release_players,ig_user_mismatch_soft_error,ig_android_os_version_blocking_config,ig_android_carrier_signals_killswitch,fizz_ig_android,ig_mi_block_expired_events,ig_android_killswitch_perm_direct_ssim,ig_fbns_blocked');
        if ($prelogin) {
            $request
                ->setNeedsAuth(false)
                ->addPost('id', $this->ig->uuid);
        } else {
            $request
                ->addPost('id', $this->ig->account_id)
                ->addPost('_uuid', $this->ig->uuid)
                ->addPost('_uid', $this->ig->account_id)
                ->addPost('_csrftoken', $this->ig->client->getToken());
        }

        return $request->getResponse(new Response\LauncherSyncResponse());
    }

Small update
IF YOU GET THIS ERROR (LauncherSyncResponse.php not found) do below step
and upload it to this path
app\vendor\mgp25\instagram-php\src\Response
And done ^^
Free
Purchase