• Hey, guys.

    Since yesterday evening I could no longer login into the admin area. I was loged on, tried to uploaded a plugin (jetpack) and then the page just got to the error 500.

    Does someone knows a way to help me, please?

    My site is https://www.nosnagringa.com.br/

    Thank you in advance!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @rafaelzenato,

    Error 500 usually means there’s fatal error going on somewhere but on it’s own it doesn’t tell us much about what’s causing it.

    You can enable debug log in your wp-config.php by replacing define(‘WP_DEBUG’, false); with this code:

    // Enable WP_DEBUG mode
    define('WP_DEBUG', true);
    
    // Enable Debug logging to the /wp-content/debug.log file
    define('WP_DEBUG_LOG', true);
    
    // Disable display of errors and warnings
    define('WP_DEBUG_DISPLAY', false);
    @ini_set( 'display_errors', 0 );

    Go to page that shows 500 error and this should create debug.log file in your wp-content folder that could tell you what is going on.

    Cheers,
    Predrag

    Thread Starter rafaelzenato

    (@rafaelzenato)

    Hey, Predrag.

    Thanks for your reply!

    I did what you said but nothing changed. The page is still showing 500 error.

    View post on imgur.com

    Thanks again for helping me!

    Hi @rafaelzenato,

    Sorry if I was unclear in my previous comment, this code will not fix anything, it should just create debug.log file inside your wp-content folder.

    And it’s indeed created and there’s this fatal error showing up there:
    [25-Nov-2016 10:55:59 UTC] PHP Fatal error: require_once(): Failed opening required ‘/home/nosnagringa/public_html/wp-content/plugins/jetpack/class.jetpack.php’ (include_path=’/home/nosnagringa/public_html/wp-content/plugins/google/lib/external/google:.:/usr/lib/php:/usr/local/lib/php’) in /home/nosnagringa/public_html/wp-content/plugins/jetpack/jetpack.php on line 71

    It looks like the issue is related to Jetpack so to get back to your admin area you should access your WP files via FTP and remove the jetpack folder, after that you can try reinstalling it and if the issue is back again perhaps it would be best checking with their developers about this error.

    Once you’re done with debugging and fixing this issue I suggest reverting your wp-config.php changes and deleting debug.log file from your wp-content folder.

    Cheers,
    Predrag

    Thread Starter rafaelzenato

    (@rafaelzenato)

    I excluded the plugin folder and it worked just fine!!

    Also I chenged the wp-config.php back to the original code and deleted the debug.log file.

    Now I hope I can use the plugin normally.

    Thank you very much for all your help, Predrag!

    Glad to hear you got back control of your admin section ??

    Please note that there’s another plugin mentioned in that error, it’s coming from Google plugin you have installed so perhaps it’s worth checking with plugin developers if JetPack and that google plugin can play nicely together.

    Enjoy your weekend ??

    Predrag

    Thank you so much for pitching in help here, @wpmudev-support1. ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error 500’ is closed to new replies.