WordPress.org

Ready to get started?Download WordPress

Forums

WP Open Graph Meta
[resolved] Broken to due Error 'Call to undefined function' (3 posts)

  1. MacMacken
    Member
    Posted 2 years ago #

    Fatal error: Call to undefined function has_post_thumbnail() in /home/…/wp-content/plugins/wp-open-graph-meta/wp-open-graph-meta.php on line 103

    http://wordpress.org/extend/plugins/wp-open-graph-meta/

  2. webgirl
    Member
    Posted 2 years ago #

    Are you using post thumbnail in your theme. If not you need to activate it by adding it in your functions.php

    add_theme_support( 'post-thumbnails' );

    http://codex.wordpress.org/Function_Reference/has_post_thumbnail

  3. MacMacken
    Member
    Posted 2 years ago #

    I don't use post thumbnails. Why should I enable I feature I don't use?

    I would expect that your plugin checks whether post thumbnails are in use or not. That shouldn't be that difficult. Anyway, I switched to a competitor's plugin that doesn't crash if post thumbnails are not used.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic