Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter etrnldarkness

    (@etrnldarkness)

    Hi Kat,

    Thank you for responding. The client just got back to me. 🙂

    Their PHP version is 5.2.17 so I guess we will have to have the host emailed and asked 🙂

    Thread Starter etrnldarkness

    (@etrnldarkness)

    Hi Kat,

    Thank you for the speedy response!

    When using the current theme, if I set WP_DEBUG to “true” I get the following error

    Deprecated: Assigning the return value of new by reference is deprecated in /home4/odin/public_html/skyviking.net/svwp/wp-content/themes/travel-blogger/lib/functions/layout.php on line 302

    I see that when in the dashboard while making the change.

    If I log out I see all this:

    Deprecated: Assigning the return value of new by reference is deprecated in /home4/odin/public_html/skyviking.net/svwp/wp-content/themes/travel-blogger/lib/functions/layout.php on line 302

    Warning: Cannot modify header information - headers already sent by (output started at /home4/odin/public_html/skyviking.net/svwp/wp-content/themes/travel-blogger/lib/functions/layout.php:302) in /home4/odin/public_html/skyviking.net/svwp/wp-login.php on line 415
    
    Warning: Cannot modify header information - headers already sent by (output started at /home4/odin/public_html/skyviking.net/svwp/wp-content/themes/travel-blogger/lib/functions/layout.php:302) in /home4/odin/public_html/skyviking.net/svwp/wp-login.php on line 427
    
    Warning: Cannot modify header information - headers already sent by (output started at /home4/odin/public_html/skyviking.net/svwp/wp-content/themes/travel-blogger/lib/functions/layout.php:302) in /home4/odin/public_html/skyviking.net/svwp/wp-includes/pluggable.php on line 695
    
    Warning: Cannot modify header information - headers already sent by (output started at /home4/odin/public_html/skyviking.net/svwp/wp-content/themes/travel-blogger/lib/functions/layout.php:302) in /home4/odin/public_html/skyviking.net/svwp/wp-includes/pluggable.php on line 696
    
    Warning: Cannot modify header information - headers already sent by (output started at /home4/odin/public_html/skyviking.net/svwp/wp-content/themes/travel-blogger/lib/functions/layout.php:302) in /home4/odin/public_html/skyviking.net/svwp/wp-includes/pluggable.php on line 697
    
    Warning: Cannot modify header information - headers already sent by (output started at /home4/odin/public_html/skyviking.net/svwp/wp-content/themes/travel-blogger/lib/functions/layout.php:302) in /home4/odin/public_html/skyviking.net/svwp/wp-includes/pluggable.php on line 698
    
    Warning: Cannot modify header information - headers already sent by (output started at /home4/odin/public_html/skyviking.net/svwp/wp-content/themes/travel-blogger/lib/functions/layout.php:302) in /home4/odin/public_html/skyviking.net/svwp/wp-includes/pluggable.php on line 699
    
    Warning: Cannot modify header information - headers already sent by (output started at /home4/odin/public_html/skyviking.net/svwp/wp-content/themes/travel-blogger/lib/functions/layout.php:302) in /home4/odin/public_html/skyviking.net/svwp/wp-includes/pluggable.php on line 700
    
    Warning: Cannot modify header information - headers already sent by (output started at /home4/odin/public_html/skyviking.net/svwp/wp-content/themes/travel-blogger/lib/functions/layout.php:302) in /home4/odin/public_html/skyviking.net/svwp/wp-includes/pluggable.php on line 703
    
    Warning: Cannot modify header information - headers already sent by (output started at /home4/odin/public_html/skyviking.net/svwp/wp-content/themes/travel-blogger/lib/functions/layout.php:302) in /home4/odin/public_html/skyviking.net/svwp/wp-includes/pluggable.php on line 704
    
    Warning: Cannot modify header information - headers already sent by (output started at /home4/odin/public_html/skyviking.net/svwp/wp-content/themes/travel-blogger/lib/functions/layout.php:302) in /home4/odin/public_html/skyviking.net/svwp/wp-includes/pluggable.php on line 705
    
    Warning: Cannot modify header information - headers already sent by (output started at /home4/odin/public_html/skyviking.net/svwp/wp-content/themes/travel-blogger/lib/functions/layout.php:302) in /home4/odin/public_html/skyviking.net/svwp/wp-includes/pluggable.php on line 706
    
    Warning: Cannot modify header information - headers already sent by (output started at /home4/odin/public_html/skyviking.net/svwp/wp-content/themes/travel-blogger/lib/functions/layout.php:302) in /home4/odin/public_html/skyviking.net/svwp/wp-includes/pluggable.php on line 709
    
    Warning: Cannot modify header information - headers already sent by (output started at /home4/odin/public_html/skyviking.net/svwp/wp-content/themes/travel-blogger/lib/functions/layout.php:302) in /home4/odin/public_html/skyviking.net/svwp/wp-includes/pluggable.php on line 710
    
    Warning: Cannot modify header information - headers already sent by (output started at /home4/odin/public_html/skyviking.net/svwp/wp-content/themes/travel-blogger/lib/functions/layout.php:302) in /home4/odin/public_html/skyviking.net/svwp/wp-includes/pluggable.php on line 711
    
    Warning: Cannot modify header information - headers already sent by (output started at /home4/odin/public_html/skyviking.net/svwp/wp-content/themes/travel-blogger/lib/functions/layout.php:302) in /home4/odin/public_html/skyviking.net/svwp/wp-includes/pluggable.php on line 712
    
    Warning: Cannot modify header information - headers already sent by (output started at /home4/odin/public_html/skyviking.net/svwp/wp-content/themes/travel-blogger/lib/functions/layout.php:302) in /home4/odin/public_html/skyviking.net/svwp/wp-includes/pluggable.php on line 896

    And cannot log in until I put it back to “false”

    I don’t think this theme I am using liked turning the debugging off 😀

    I did forget to mention – in our previous theme while I was having issues in the beginning I tried the debugging technique and I got no error with that theme, but the email still would not work.

    It’s so odd!

    Thread Starter etrnldarkness

    (@etrnldarkness)

    OK, I tried to give this a run myself but the template they currently are using – seems to go blank no matter what I do and I’ve never really had this much trouble coding on a site before.

    This is the original code for the template page.php

    <?php get_header(); ?>
    
    			<?php get_sidebar('top'); ?>
    
    			<?php
    
    			if (have_posts()) {
    
    				/* Start the Loop */
    
    				while (have_posts()) {
    
    					the_post();
    
    					get_template_part('content', 'page');
    
    				}
    
    			} else {
    
    				theme_404_content();
    
    			}
    
    			?>
    
    			<?php get_sidebar('bottom'); ?>
    
    <?php get_footer(); ?>

    I inserted the coding provided to me previously in this thread (and changed cat_ID to cat_7 since it is category 7. Did I do that correctly?

    Regardless it still made the page turn up blank when I chose this template.

    Is there anyway to simplify this for me? IE: Someone look at the coding I just provided, insert the coding I need and feed it back to me? This way if it still fails – I know it’s not just me going insane, haha.

    Another quick question:

    Since I want to have some text such as a short bio before the 5 excerpts would display, how would this work with the custom template? Wouldn’t the template be inserting these automatically onto the page?

    Sorry for such newbie questions wordpress and I are usually just on a post and enjoy sort of relationship.

    Thread Starter etrnldarkness

    (@etrnldarkness)

    Very close! I’ll give a couple clearer examples. Maybe this is not possible or maybe I need to try it another way.

    We have “Home” a page which is the static front page which says welcome yada yada.

    Then we have four more PAGES. Each page explains who a contributor is with a profile pic etc. Within each page we would like to (near the end) have like an excerpt of the most recent (5) posts published under this user’s category. So let’s say the Page is about Person X. A page cannot be added to a category (to my knowledge). So on that page we would need to link automatically to the 5 most recent posts placed in Category X

    Same with thing Person Y linking to Category Y on their page.

    Is this something we could possibly do in wordpress at the moment?

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