• Resolved mbm1982

    (@mbm1982)


    Hi!

    When trying to activate you plugin, I get this an fatal error:

    Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /www/htdocs/w017d0aa/kiekema.de/wp-includes/capabilities.php:590 Stack trace: #0 /www/htdocs/w017d0aa/kiekema.de/wp-content/plugins/leverage-browser-caching/leverage-browser-caching.php(30): current_user_can(‘manage_options’) #1 /www/htdocs/w017d0aa/kiekema.de/wp-settings.php(305): include_once(‘/www/htdocs/w01…’) #2 /www/htdocs/w017d0aa/kiekema.de/wp-config.php(93): require_once(‘/www/htdocs/w01…’) #3 /www/htdocs/w017d0aa/kiekema.de/wp-load.php(37): require_once(‘/www/htdocs/w01…’) #4 /www/htdocs/w017d0aa/kiekema.de/wp-admin/admin.php(31): require_once(‘/www/htdocs/w01…’) #5 /www/htdocs/w017d0aa/kiekema.de/wp-admin/plugins.php(10): require_once(‘/www/htdocs/w01…’) #6 {main} thrown in /www/htdocs/w017d0aa/kiekema.de/wp-includes/capabilities.php on line 590

    could you help me solve this? Tried disabling all other plugins, it doesn’t help.

    THX Martin

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Rinku Y

    (@rinkuyadav999)

    Hi @mbm1982

    Please reinstall plugin.

    Thanks

    HORRIBLY CODED PLUGIN!!! Also gave me fatal error, can’t access DASHBOARD!!!

    Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /home/whocares/www/wp-includes/capabilities.php:590 Stack trace: #0 /home/whocares/www/wp-content/plugins/leverage-browser-caching/leverage-browser-caching.php(30): current_user_can(‘manage_options’) #1 /home/whocares/www/wp-settings.php(305): include_once(‘/home/whocares…’) #2 /home/whocares/www/wp-config.php(69): require_once(‘/home/whocares…’) #3 /home/whocares/www/wp-load.php(37): require_once(‘/home/whocares…’) #4 /home/whocares/www/wp-admin/admin.php(31): require_once(‘/home/whocares…’) #5 /home/whocares/www/wp-admin/index.php(10): require_once(‘/home/whocares…’) #6 {main} thrown in /home/whocares/www/wp-includes/capabilities.php on line 590

    Waiting for my provider to re-establish a backup! Uninstalling the plugin asap, and rating this plugin with 0 starts, given the AWFUL “support” answer from “”””developer”””.

    Please reinstall plugin? Not even a “sorry, I messed up???”. And how do you want us to reinstall plugin, if can’t access the dashboard? Via FTP I guess? Almost not complicated at all, thankfully you provided “accurate” instructions on how to do it eh???

    PLUGIN NOT RECOMMENDED FOR PROFESSIONAL USE, IT BREAKS YOUR SITE, AND DEVELOPER DOESNT EVEN HELP!!!

    Plugin Author Rinku Y

    (@rinkuyadav999)

    Hi @megamadmax

    Actually plugin does not activate if it gives fatal error but i do not know why this plugin activating ??

    Sorry for a bad line of code. i have updated plugin.

    Thanks

    Ok, thanks for support. I understand this is an unintended error, and appreciate the support, I am just very nervous cause in 3h I haven’t fixed it (I know, maybe could have fixed it faster via FTP method, but more risky for me).

    I’ve changed rating from 1 star to 3, at least the developer seems to care and is trying to provide support.

    Thanks for support!

    Thread Starter mbm1982

    (@mbm1982)

    @megamadmax
    For the next time just delete the plugin-folder in your wordpress installation.

    Thanks for suggestion mbm1982, but look at something guys:

    when you get an http error 500, that locks you out of dashboard, you don’t know what’s causing it.

    If you google it, there are like 30 different causes and fixes:

    https://www.lifewire.com/500-internal-server-error-explained-2622938

    ONE can be this one, a plugin conflict / update error. Others can be low memory on server, php error, htaaccess error, etc.

    UNTIL you check the error.log of your website, via FTP because you can’t access dashboard, you don’t know if it is a PLUGIN error, or another one out of the remaining 36 possible problems.

    So yeah, if I can see future, next time I will just delete de plugin folder.

    But as it was before, not until I could check which error was it, I could find out it was THIS PLUGIN fault. And by then, I was already talking with my domain provider, since I had no error.log, and had to activate a “developer” box in my domain’s dashboard to see some details about the error.

    And yes, THEN, I seen that it mentioned something about this plugin, and maybe could have directly deleted the plugin folder.

    But not before, because you don’t know what is causing it. And by then I was already dealing with my domain provider’s support, where I decided to simply restore a backup, instead of manually tinkering with ftp files.

    So, for the next time, I will not be deleting the plugin folder, 1-because I am not using this plugin anymore, it was a “single wrong line of code” but it gave me a fatal error, which the other….50 plugins I used over 3+ years didn’t do it, and I will not be deleting the plugin folder if this happens “next time”, because as I stated, and shown with a troubleshooting guide, this solution does only work for 1 out of “30” different things that can cause it.

    Thanks anyway.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘fatal error with admin/Dashboard after activating’ is closed to new replies.