Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Forum: Fixing WordPress
    In reply to: Theme: Fatal Error

    Forgot to say – you need to edit the file mentioned in the message: /home/leo/public_html/wp-content/themes/leo_dicaprio_2/functions.php

    Forum: Fixing WordPress
    In reply to: Theme: Fatal Error

    Hi there! I have the same problem. I have found an easy solution but I still do not undertand why it is happening. So – you need to eccess the “functions.php” file with an FTP-client and edit it. You need to delete a part of the code that comes after the last line of the original code – in your case it is the line 200. So everything starting with line 201 (after this mark ?>) have to be deleted. Save changes. Done. Try to access your Admin area.

    Thread Starter potemkin

    (@potemkin)

    No, it is absolutly another theme – as far as I can say. The situation is so: I have dowloaded a couple of themes from different sources and extracted them to “Themes” folder. I see them all from Admin Panel. Then when I try to activate one of them then I run into this problem. Yesterday I have found out that by some reasons the code in the file “functions.php” is duplicated. I deleted a part of the code and then everything was fine – I could work with the themes. But next time with a new theme I got the same problem. I can of course delete a part of the code every time, but I just want to understand why is it happening.

Viewing 3 replies - 1 through 3 (of 3 total)