• Hello everytime now someone submits a comment, it still works but takes the user to this page with the message displaying:

    Warning: _() expects exactly 1 parameter, 2 given in /home/splat/public_html/wp-content/themes/bueno/404.php on line 12

    I think the damage was done changing some code, but as I am very new I dont no what to change to fix it would really appreciate your help on the matter, because I need to get it sorted asap, my blogs domain is http://www.studentspayless.com

    Thanks alot

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter splatcard

    (@splatcard)

    Can anybody help?

    Do you have access to the original theme (Bueno) before you made any changes?
    Re-upload the 404.php file in the theme with FTP.

    Thread Starter splatcard

    (@splatcard)

    Sorry I am extremely new to wordpress and dont really no how to do that, will it be a proble in the 404.php file then?

    This is the code in my file, do you notice anything wrong there? if not could you tell me how to upload the new 404.php as I dont have the orginal untouched file.

    Thanks alot

    <?php get_header(); ?>

    <div id=”content” class=”col-full”>
    <div id=”main” class=”col-left”>

    <?php if (have_posts()) : $count = 0; ?>
    <?php while (have_posts()) : the_post(); $count++; ?>

    <div class=”post”>

    <h2 class=”title”><?php _(‘Error 404 – Page not found!’, ‘woothemes’) ?></h2>
    <p><?php _(‘The page you trying to reach does not exist, or has been moved. Please use the menus or the search box to find what you are looking for.’, ‘woothemes’) ?></p>

    </div><!– /.post –>
    <?php wwsgd_the_message(); ?>

    <?php endwhile; else: ?>
    <div class=”post”>
    <p><?php _e(‘Sorry, no posts matched your criteria.’, ‘woothemes’) ?></p>
    </div><!– /.post –>
    <?php endif; ?>

    </div><!– /#main –>

    <?php get_sidebar(); ?>

    </div><!– /#content –>

    <?php get_footer(); ?>

    The theme creator left out the letter “e” on line 12:
    <p><?php _('The page you trying to reach does not exist, or has been moved. Please use the menus or the search box to find what you are looking for.', 'woothemes') ?></p>

    Should be:
    <p><?php _e('The page you trying to reach does not exist,...

    Just like the line below it:
    <p><?php _e('Sorry, no posts matched your criteria.', 'woothemes') ?></p>

    Be sure to go and tell them, so they can correct their error.

    Thread Starter splatcard

    (@splatcard)

    Thankyou for your help, I just made that change and now the proper error message is displayed but for some reason it doesnt display the proper about us page like it should once the comment is posted, any other ideas?

    Thanks for your help

    “Proper” About Us?
    What does that mean?
    It goes to About Us after posting a comment.

    Rather, it goes to the “About” page.

    Thread Starter splatcard

    (@splatcard)

    Sorry probably didnt explain that well enough. Basically making that change, made it an offical error message appear rather than the random code.

    But the about us page is still not appearing when the comment is posted?

    I went to the About page after I posted. Works fine.

    Thread Starter splatcard

    (@splatcard)

    How weird, what browser do you use? I am using Firefox. Seem to annoyingly have alot of problems with browswers,for instance u cant click on anything in IE 7

    IE 8 if NOT in compatibility mode works fine.
    IN compatibility mode, nothing is click-able.
    So, big problem for IE and under

    I suggest getting rid of that huge and ugly Bueno theme and get something simple and better written, more of a compact layout so readers don’t have to scroll forever to see your posts, and without that font changing javascript that loads in after you’ve already seen the original CSS font.

    Thread Starter splatcard

    (@splatcard)

    I would say thats good advice after having numerous problems with Bueno. Have you got any advice, on any good themes that will be well written? As dont want to have the same problems again.

    Thankyou for your time

    Anything with a high star rating in the free themes under the Extend tab on here should be fine.
    Plus there will be plenty of people using it, so the forums will have plenty of info.

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

The topic ‘Error page after comment submitted’ is closed to new replies.