• Went into my site to activate Contact-Form-7 plugin and the whole site was gone! Dashboard has a message which I cannot understand (I don’t write html) that says:

    Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/diannet/public_html/wp-includes/theme.php on line 513

    Can anyone tell me what this means? Why would my theme (F2) suddenly go belly-up when I have done nothing to it (wouldn’t dare)? How can I get my site back up asap? (I de-activated and deleted the Contact-Form-7 just in case, but site does not come back).
    thanks

Viewing 10 replies - 16 through 25 (of 25 total)
  • What code did you enter into your page content?

    Thread Starter dianabyron

    (@diannetrussell)

    The code from Contact-Form-7:
    <p>Your Name (required)
    [text* your-name] </p>

    <p>Your Email (required)
    [email* your-email] </p>

    <p>Subject
    [text your-subject] </p>

    <p>Your Message
    [textarea your-message] </p>

    <p>[submit “Send”]</p>

    dianne -have you run everything through a virus checker? esmi will tell you – I’m highly amateur, but it sure sounds like malicious code to me.

    Thread Starter dianabyron

    (@diannetrussell)

    Just had another look. It said to “copy this code…” etc, etc, but it did not say to copy the title in! So I put that in too and the form is now displaying properly.

    Thread Starter dianabyron

    (@diannetrussell)

    I have a new question now – will post new topic about comment spam

    Thread Starter dianabyron

    (@diannetrussell)

    Thanks Esmi and everyone for your atttention and help. PS mkirkwag, I’m on an intel Mac and viruses are not a problem (yet)

    Hi diannetrussell, your problem is really the same problem with my problem, I’m also still confused how to solve it, I have reinstalled my wordpress, but when I put a favicon it all back in trouble, I’m still confused and still not get a solution, if I reinstall it again in the future I’m afraid if I want to add some more code would be in trouble again .. I’ve been looking here and there, but still can not, is there someone who can help?
    please….

    Thread Starter dianabyron

    (@diannetrussell)

    Sonyynos,
    I understand how you feel! Here’s what did not work for me: restoring website from an earlier backup; downloading new copy of WordPress and replacing all but wp-config.php file and the /wp-content/ directory.
    This is what DID work: I emailed my web host what had happened. They re-installed my theme folder (which got my website back up but with the wrong theme). I got the complete theme folder (F2) from my emergency copy of WordPress that I keep on my hard drive, and ftp’d it up to my cpanel into my public_html folder. Then my site was looking completely back to normal. Then I installed Contact-Form-7 from WordPress and activated it, and it plus everything is working properly. At first I put in all the code that was given with Contact-Form-7 but that was not right – I discovered that I only need to put in what looks like the title and the contact form works fine.

    Diannetrussell,

    my problem is resolved, that I do is I delete the wordpress from my server then I instal ( reinstal ) the wordpress and setup again, I use the other template. I can access both of wp-admin and my site well.

    For Contact us page I use Quick contact, to editing some code/script I don’t use wordpress theme editor, but I edit the script/code directly from my hosting server. Then I backup the database in my hosting server. so far so good, I hope it run well for next time.

    Thanks all

    diannetrussell – me, too…but don’t be *too* confident…I got one, and I’m careful! I’ve started running a virus checker.

Viewing 10 replies - 16 through 25 (of 25 total)
  • The topic ‘sudden fault in theme.php – site gone’ is closed to new replies.