WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Call to undefined function get_the_author_meta() (4 posts)

  1. bzarzosa
    Member
    Posted 2 years ago #

    Hello,
    I've done a clean install by ftp of WP version 3.3.1. I have no plugins activated other than Askimet. When I click the link for All Pages I should see a list of all the pages I've created (so far only 2) but I only see the Home page listed and under the Author column is this error message:

    Fatal error: Call to undefined function get_the_author_meta() in /homepages/44/d398494667/htdocs/wp-admin/includes/class-wp-posts-list-table.php on line 656

    I've tried both of the default themes and a custom theme and still get the same error message so this makes me think this is not theme related as I've seen in other support posts with similar error messages.

    I've re-downloaded both WP versions 3.3.1 and 3.3 and replaced that file (class-wp-posts-list-table.php) thinking that I might have a corrupted version of that file.

    Lines 648 to 659 of that file are:

    </td>
    			<?php
    			break;
    
    			case 'author':
    			?>
    			<td <?php echo $attributes ?>><?php
    				printf( '<a href="%s">%s</a>',
    					esc_url( add_query_arg( array( 'post_type' => $post->post_type, 'author' => get_the_author_meta( 'ID' ) ), 'edit.php' )),
    					get_the_author()
    				);
    			?></td>

    Oh yes, I should tell you that I have created only one other user and I'm working on the site as Admin. And I get the same error message when I go to All Posts.

    Not sure what else to tell you. Can someone kindly help a gal out?
    Thanks in advance.

  2. bzarzosa
    Member
    Posted 2 years ago #

    This is so weird. I have 3 pages on my site: Home, About and Services. When I try to view all pages, only the Home page is listed. When I click on the link to sort the pages by title I can only see the About page and when I click on the same link again, I can see the Services page listed.

    Does anyone know why I am unable to see the list of all the pages I have made?
    Please help. TY

  3. bzarzosa
    Member
    Posted 2 years ago #

    I'm pretty sure I fixed this.
    I downloaded the previous version of WP v 3.3 and overwrote all of the 3.3.1 files via ftp.
    Now everything is working as it should and I am able to see the list of pages I've created.
    Don't know why this happened from a clean, new install of the most current version of WP but at least I've got things functioning properly.

  4. magblogapi
    Member
    Posted 2 years ago #

    Thanks. I just noticed these posts, so I apologize for not responding earlier.

    This works in the environment in which I use it ( http://newyorkna.org ), which is at 3.3.1, but it may have issues in more heterogenous environments.

Topic Closed

This topic has been closed to new replies.

About this Topic