• Resolved desaiha

    (@desaiha)


    Hello!

    I am experiencing some problems right now. kinda distressed.

    I was adding this code to my themes functions.php from the editor in wp-admin.
    “<?php function gpp_excerpt($text) { return str_replace(‘[…]’, ‘Read More →‘, $text); } add_filter(‘the_excerpt’, ‘gpp_excerpt’); ?>”

    updated it (functions.php), nothing happened so I removed the line and updated it again and this is what I get:

    Server error
    The website encountered an error while retrieving blabla It may be down for maintenance or configured incorrectly.
    Here are some suggestions:
    Reload this webpage later.
    HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

    what the hell did I do? and how can I solve it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter desaiha

    (@desaiha)

    Well.. I resolved it myself. Feeling kinda stupid right now.

    I went into my ftp and edited the theme functions.php manually. removed the code that caused the problem and now its working.

    Thanks myself, you’re my hero – a super-duper hacker for sure… *sigh*

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Don’t beat yourself up about it, you fixed it exactly in the right way. ??

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