• I’m using WordPress 5.6.2, PHP 8, IIS. Clicking on “WP Mapbox Settings” and entering the API access token works fine. Clicking on “WP Mapbox Tools” yields the following error:

    PHP Fatal error: Uncaught Error: Call to undefined function curl_init() in C:\inetpub\wwwroot\findeverythingin\wordpress\wp-content\plugins\wp-mapbox-gl-js\admin\partials\wp-mapbox-gl-js-tools.php:248
    Stack trace:
    #0 C:\inetpub\wwwroot\findeverythingin\wordpress\wp-content\plugins\wp-mapbox-gl-js\admin\class-wp-mapbox-gl-js-admin.php(484): include()
    #1 C:\inetpub\wwwroot\findeverythingin\wordpress\wp-includes\class-wp-hook.php(287): WP_Mapbox_GL_JS_Admin->{closure}()
    #2 C:\inetpub\wwwroot\findeverythingin\wordpress\wp-includes\class-wp-hook.php(311): WP_Hook->apply_filters()
    #3 C:\inetpub\wwwroot\findeverythingin\wordpress\wp-includes\plugin.php(484): WP_Hook->do_action()
    #4 C:\inetpub\wwwroot\findeverythingin\wordpress\wp-admin\admin.php(259): do_action()
    #5 {main}
    thrown in C:\inetpub\wwwroot\findeverythingin\wordpress\wp-content\plugins\wp-mapbox-gl-js\admin\partials\wp-mapbox-gl-js-tools.php on line 248

Viewing 1 replies (of 1 total)
  • Thread Starter swabygw

    (@swabygw)

    This was resolved by adding the following two lines of code to wp-config.php:

    ini_set(‘log_errors’,’Off’);
    define(‘WP_DEBUG_LOG’, false);

    However, still cannot access the saved dataset (and, yes, I’ve created an access token with the appropriate permissions). Any help is appreciated.

Viewing 1 replies (of 1 total)
  • The topic ‘WP Mapbox Tools Error’ is closed to new replies.