WordPress.org

Ready to get started?Download WordPress

Forums

Page-list
[resolved] Fatal error: Call to undefined function get_the_post_thumbnail() in (6 posts)

  1. jsmith72
    Member
    Posted 2 years ago #

    when using the [Pagelist_ext] get the following error message:

    Fatal error: Call to undefined function get_the_post_thumbnail() in ...wp-content/plugins/page-list/page-list.php on line 288.

    This can be worked around by adding in show_image="0" as in
    [pagelist_ext show_image="0"].

    The problem comes when a page does not have a featured or thumbnail imagine. Plugin should not crash if it is set to show picture and page has no picture.

    http://wordpress.org/extend/plugins/page-list/

  2. jsmith72
    Member
    Posted 2 years ago #

    Found new problem. When using [pagelist_ext] and specifying a number such as [pagelist_ext number="2"] it doesn't display anything. Additionally when using other function such as [pagelist_ext offset="1"] also results in nothing being displayed.

    This is the only code i have displayed on the page. Each subpage only have one sentence. So tehre should be no reason nothing is displayed. I have 4 sub pages. All display correctly when just using [pagelist_ext]

  3. webvitaly
    Member
    Plugin Author

    Posted 2 years ago #

    I fixed crash bug with post_thumbnail in version 2.0;
    [pagelist_ext number="2"] works very strange; (number="2")- works like (number="3") - I will check it out;
    [pagelist_ext offset="1"] - does not work at all, I will check this too.
    It could be WordPress bug, but I am not sure.

  4. webvitaly
    Member
    Plugin Author

    Posted 2 years ago #

    Fixed bug with "number" parameter in version 2.1;

  5. webvitaly
    Member
    Plugin Author

    Posted 2 years ago #

    Fixed bug with "offset" parameter in version 2.2;

  6. jsmith72
    Member
    Posted 2 years ago #

    Thanks all the issues have been fixed!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags