WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] 2.9.2 update issues (5 posts)

  1. sjbuckley
    Member
    Posted 4 years ago #

    Hello, i am trying to update my WordPress from version 2.8.5 to 2.9.2 and something keeps going wrong. I use an english version of WordPress which i have localized using an MO file and the settings in wp-config.php.

    I tried the fr_FR and en_US automatic updates from the wordpress dashboard and both present the same problem. Once the update is done, my dashboard gets all messed up and i get errors messages before the dashboard!? Here are the messages:

    Warning: file(/home6/sjbuckle/public_html/wp-content/home6/sjbuckle/public_html/wp-content/themes/metro_10/page_blog.php) [function.file]: failed to open stream: No such file or directory in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: implode() [function.implode]: Invalid arguments passed in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: file(/home6/sjbuckle/public_html/wp-content/home6/sjbuckle/public_html/wp-content/themes/metro_10/404.php) [function.file]: failed to open stream: No such file or directory in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: implode() [function.implode]: Invalid arguments passed in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: file(/home6/sjbuckle/public_html/wp-content/home6/sjbuckle/public_html/wp-content/themes/metro_10/tag.php) [function.file]: failed to open stream: No such file or directory in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: implode() [function.implode]: Invalid arguments passed in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: file(/home6/sjbuckle/public_html/wp-content/home6/sjbuckle/public_html/wp-content/themes/metro_10/sidebar_right.php) [function.file]: failed to open stream: No such file or directory in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: implode() [function.implode]: Invalid arguments passed in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: file(/home6/sjbuckle/public_html/wp-content/home6/sjbuckle/public_html/wp-content/themes/metro_10/legacy.comments.php) [function.file]: failed to open stream: No such file or directory in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: implode() [function.implode]: Invalid arguments passed in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: file(/home6/sjbuckle/public_html/wp-content/home6/sjbuckle/public_html/wp-content/themes/metro_10/header.php) [function.file]: failed to open stream: No such file or directory in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: implode() [function.implode]: Invalid arguments passed in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: file(/home6/sjbuckle/public_html/wp-content/home6/sjbuckle/public_html/wp-content/themes/metro_10/sidebar_right-3.php) [function.file]: failed to open stream: No such file or directory in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: implode() [function.implode]: Invalid arguments passed in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: file(/home6/sjbuckle/public_html/wp-content/home6/sjbuckle/public_html/wp-content/themes/metro_10/sidebar_right-2.php) [function.file]: failed to open stream: No such file or directory in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: implode() [function.implode]: Invalid arguments passed in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: file(/home6/sjbuckle/public_html/wp-content/home6/sjbuckle/public_html/wp-content/themes/metro_10/index-3_columns.php) [function.file]: failed to open stream: No such file or directory in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: implode() [function.implode]: Invalid arguments passed in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: file(/home6/sjbuckle/public_html/wp-content/home6/sjbuckle/public_html/wp-content/themes/metro_10/home.php) [function.file]: failed to open stream: No such file or directory in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: implode() [function.implode]: Invalid arguments passed in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: file(/home6/sjbuckle/public_html/wp-content/home6/sjbuckle/public_html/wp-content/themes/metro_10/comments.php) [function.file]: failed to open stream: No such file or directory in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: implode() [function.implode]: Invalid arguments passed in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: file(/home6/sjbuckle/public_html/wp-content/home6/sjbuckle/public_html/wp-content/themes/metro_10/page_full.php) [function.file]: failed to open stream: No such file or directory in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: implode() [function.implode]: Invalid arguments passed in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: file(/home6/sjbuckle/public_html/wp-content/home6/sjbuckle/public_html/wp-content/themes/metro_10/functions.php) [function.file]: failed to open stream: No such file or directory in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: implode() [function.implode]: Invalid arguments passed in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: file(/home6/sjbuckle/public_html/wp-content/home6/sjbuckle/public_html/wp-content/themes/metro_10/searchform.php) [function.file]: failed to open stream: No such file or directory in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: implode() [function.implode]: Invalid arguments passed in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: file(/home6/sjbuckle/public_html/wp-content/home6/sjbuckle/public_html/wp-content/themes/metro_10/sidebar_left.php) [function.file]: failed to open stream: No such file or directory in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: implode() [function.implode]: Invalid arguments passed in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: file(/home6/sjbuckle/public_html/wp-content/home6/sjbuckle/public_html/wp-content/themes/metro_10/footer.php) [function.file]: failed to open stream: No such file or directory in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: implode() [function.implode]: Invalid arguments passed in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: file(/home6/sjbuckle/public_html/wp-content/home6/sjbuckle/public_html/wp-content/themes/metro_10/search.php) [function.file]: failed to open stream: No such file or directory in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: implode() [function.implode]: Invalid arguments passed in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: file(/home6/sjbuckle/public_html/wp-content/home6/sjbuckle/public_html/wp-content/themes/metro_10/index.php) [function.file]: failed to open stream: No such file or directory in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: implode() [function.implode]: Invalid arguments passed in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: file(/home6/sjbuckle/public_html/wp-content/home6/sjbuckle/public_html/wp-content/themes/metro_10/archive.php) [function.file]: failed to open stream: No such file or directory in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: implode() [function.implode]: Invalid arguments passed in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: file(/home6/sjbuckle/public_html/wp-content/home6/sjbuckle/public_html/wp-content/themes/metro_10/page_archive.php) [function.file]: failed to open stream: No such file or directory in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: implode() [function.implode]: Invalid arguments passed in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: file(/home6/sjbuckle/public_html/wp-content/home6/sjbuckle/public_html/wp-content/themes/metro_10/page.php) [function.file]: failed to open stream: No such file or directory in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: implode() [function.implode]: Invalid arguments passed in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: file(/home6/sjbuckle/public_html/wp-content/home6/sjbuckle/public_html/wp-content/themes/metro_10/sidebar_left-2.php) [function.file]: failed to open stream: No such file or directory in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: implode() [function.implode]: Invalid arguments passed in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: file(/home6/sjbuckle/public_html/wp-content/home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php) [function.file]: failed to open stream: No such file or directory in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23
    
    Warning: implode() [function.implode]: Invalid arguments passed in /home6/sjbuckle/public_html/wp-content/themes/metro_10/tools/post_templates.php on line 23

    The errors literally appear before the dashboard. In other words, when the page loads, all i see are the errors and i have to scroll down to get to the (messed up) dashboard. I have screenshots but am not sure how to display them in this forum... The weird thing is that the actual blog works fine even after the update.

    Here is my site:
    planetemediatic.com

    Please help!

  2. MichaelH
    Member
    Posted 4 years ago #

    Assuming you've backed up your files (see WordPress Backups) I'd delete the wp-content/themes/metro_10 folder and see if that fixes your problem.

    Then put the theme back up to your host to see if the problem persists.

  3. sjbuckley
    Member
    Posted 4 years ago #

    I just found the fix in the StudioPress forum. The post_templates.php of my StudioPress theme simply needed to be updated first.

    Thank you!

  4. rscano
    Member
    Posted 4 years ago #

    You need to change the line:

    $template_data = implode( '', file( WP_CONTENT_DIR.$template ));

    with

    $template_data = implode( '', file( $template ));

  5. dailybragger
    Member
    Posted 3 years ago #

    rscano. Here is a BIG THANK YOU!!!!!
    Wow. I have been searching for this one for a while. Thanks again.

Topic Closed

This topic has been closed to new replies.

About this Topic