Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when signing in or adding plugin #46

Open
mathiascode opened this issue Mar 28, 2020 · 5 comments
Open

Error when signing in or adding plugin #46

mathiascode opened this issue Mar 28, 2020 · 5 comments

Comments

@mathiascode
Copy link
Member

Screenshot

<br />
<b>Fatal error</b>:  Uncaught Exception: For URL: https://api.github.com/repositories/24958719/hooks?client_id=<snip>&amp;client_secret=<snip>&lt;br&gt;Response: Array
(
    [message] =&gt; Not Found
    [documentation_url] =&gt; https://developer.github.com/v3/repos/hooks/#create-a-hook
)
&lt;br&gt;Curl error (0):  in D:\home\site\Composer\vendor\flexyproject\githubapi\lib\GitHub\AbstractApi.php:590
Stack trace:
#0 [internal function]: FlexyProject\GitHub\AbstractApi-&gt;FlexyProject\GitHub\{closure}()
#1 D:\home\site\Composer\vendor\flexyproject\curl\Client.php(203): call_user_func_array()
#2 D:\home\site\Composer\vendor\flexyproject\curl\Client.php(189): FlexyProject\Curl\Client-&gt;_call()
#3 D:\home\site\Composer\vendor\flexyproject\githubapi\lib\GitHub\AbstractApi.php(596): FlexyProject\Curl\Client-&gt;perform()
#4 D:\home\site\wwwroot\Environment Interfaces\GitHub API\Repositories.php(141): FlexyProject\GitHub\AbstractApi-&gt;request()
#5 D:\home\site\wwwroot\Add.php(36): GitHubAPI\Repositories::CreateUpdateH in <b>D:\home\site\Composer\vendor\flexyproject\githubapi\lib\GitHub\AbstractApi.php</b> on line <b>590</b><br />
@tigerw
Copy link
Member

tigerw commented Mar 28, 2020

It seems like it falls over if a user adds a plugin without administrator rights to the repository, since adding the webhook fails.

@tigerw
Copy link
Member

tigerw commented Mar 28, 2020

Additionally strict xhtml fails when it prints errors.

@tigerw
Copy link
Member

tigerw commented Mar 28, 2020

Thanks for the report! Would you have a snip of the error when logging in?

@bearbin
Copy link
Member

bearbin commented Mar 28, 2020

It also generates a very similar error when trying to delete a plugin.

@mathiascode
Copy link
Member Author

Doesn't seem like I can get the error to show up when signing in anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants