opt-natter / discord-mybb-sync

A MyBB Plugin to syncronise MyBB Groups with Discord Roles
MIT License
11 stars 3 forks source link

Error when trying to access settings of plugin: unable to get local issuer certificate #10

Closed OfficialNoms closed 5 years ago

OfficialNoms commented 5 years ago

I'm running a test server on my computer with WAMP, and the plugin outputs this error when I'm attempting to access settings



1 | 0.0001 | 419536 | {main}(  ) | ...\index.php:0
2 | 0.0234 | 1505632 | require( 'C:\wamp64\www\17bct\admin\modules\config\settings.php' ) | ...\index.php:821
3 | 0.0235 | 1506008 | pluginSystem->run_hooks(  ) | ...\settings.php:875
4 | 0.0252 | 1506080 | discord_right_sync_settings_update(  ) | ...\class_plugins.php:142
5 | 0.0444 | 1545192 | discord_right_sync_get_querry_discord(  ) | ...\discord_right_sync.php:346
6 | 0.0445 | 1545856 | Unirest\Request::get(  ) | ...\discord_right_sync.php:388
7 | 0.0445 | 1545856 | Unirest\Request::send(  ) | ...\Request.php:236```
OfficialNoms commented 5 years ago

Fixed this issue by using the following fix: https://stackoverflow.com/questions/28858351/php-ssl-certificate-error-unable-to-get-local-issuer-certificate