WordPress.org

Ready to get started?Download WordPress

Forums

I'm getting a warning code above the comments box (3 posts)

  1. grannynanny
    Member
    Posted 3 years ago #

    I've asked this before but the solution offered - that is, to remove the plug-ins one by one, didn't work. This is what the code says above the comments box in my blog:

    Warning: _() expects exactly 1 parameter, 2 given in /home3/invitau4/public_html/wp-content/themes/headway-207/comments.php on line 26

    How can I remove this? And, what does it mean?
    Thanks.

  2. Curtiss Grymala
    Member
    Posted 3 years ago #

    It means that, on line 26 of the comments.php file in your theme, the theme author incorrectly used the _() function within WordPress. You can either ask the theme author to fix the problem or you can modify the theme yourself to modify the call to that function.

  3. forumcivico
    Member
    Posted 3 years ago #

    It is a very common problem (just google it). It is a bug in the Headway theme.

    Just delete the whole of line 26 and it will work fine.

Topic Closed

This topic has been closed to new replies.

About this Topic