Title: WP Mapbox Tools Error
Last modified: February 24, 2021

---

# WP Mapbox Tools Error

 *  [swabygw](https://wordpress.org/support/users/swabygw/)
 * (@swabygw)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/wp-mapbox-tools-error/)
 * 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](https://wordpress.org/support/users/swabygw/)
 * (@swabygw)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/wp-mapbox-tools-error/#post-14098611)
 * 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.

 * ![](https://ps.w.org/wp-mapbox-gl-js/assets/icon-256x256.png?rev=1877547)
 * [WP Mapbox GL JS Maps](https://wordpress.org/plugins/wp-mapbox-gl-js/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mapbox-gl-js/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mapbox-gl-js/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mapbox-gl-js/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mapbox-gl-js/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mapbox-gl-js/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [swabygw](https://wordpress.org/support/users/swabygw/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/wp-mapbox-tools-error/#post-14098611)
 * Status: not resolved