WordPress.org

Ready to get started?Download WordPress

Forums

StrapVert
[resolved] Theme Error (3 posts)

  1. joe_pl
    Member
    Posted 11 months ago #

    I get this error
    Warning: rsort() expects parameter 1 to be array, null given in /home/content/75/11534175/html/JL/wp-content/themes/strapvert/featured-content.php on line 1

    How do I fix it?

  2. Zulfikar Nore
    Member
    Theme Author

    Posted 11 months ago #

    Sorry about that, silly development mistake - experimental code left over.

    Issue fixed and revised version uploaded. You can grab the latest copy here: http://wordpress.org/themes/strapvert/developers/ (1.0.7 under current version)

    For a quick fix on the copy you have simply replace
    <?php $featured_posts = strapvert_get_featured_posts(); rsort( $sticky ); ?>
    with
    <?php $featured_posts = strapvert_get_featured_posts(); ?>

    Zulf

  3. Zulfikar Nore
    Member
    Theme Author

    Posted 11 months ago #

    Marking as resolved now as revised version is now live.

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.