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

Disabling the plugin leads to blank page without errors #5

Open
vmario89 opened this issue Apr 12, 2023 · 2 comments
Open

Disabling the plugin leads to blank page without errors #5

vmario89 opened this issue Apr 12, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@vmario89
Copy link

Hi, running yourls 1.9.2, the plugin can be enabled, but not disabled. It seems the cause is uninstall.php. With enabled debug log option in config.php, there is no output. i have no clue what could be the cause yet.

content of file is

  1 <?php
  2 /*
  3 author: Matthew
  4 version: 1.0
  5 */
  6 
  7 // No direct call.
  8 if( !defined( 'YOURLS_UNINSTALL_PLUGIN' ) ) die();
  9 
 10 yourls_delete_option('matthew_2fa_tokens');
~                                                

the problem is caused in includes/functions-plugins.php
$attempt = yourls_include_file_sandbox( $uninst_file );

@MatthewC
Copy link
Owner

Hi @vmario89 — I'll try looking into that more, that's strange. I haven't noticed anything on my side.

@MatthewC MatthewC self-assigned this Apr 19, 2023
@MatthewC MatthewC added the bug Something isn't working label Apr 19, 2023
@rursache
Copy link

same issue here, vanilla install, install this plugin, activate 2fa, deactivate 2fa, try to disable plugin, white page and plugin is still enabled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants