WordPress.org

Ready to get started?Download WordPress

Forums

Gravity Forms Directory
Breaks Preview (1 post)

  1. Thought Police Interactive Studios
    Member
    Posted 3 years ago #

    <strong>Warning: Attempt to assign property of non-object in .../wp-content/plugins/gravity-forms-addons/directory.php</strong>

    The code generating the error is:
    global $post; $post->permalink = $permalink; $url = add_query_arg(array());

    It seems the problem is that it is trying to pull the permalink for a non-permalinked view. Is there a way to condition this with IF/ELSE, ignoring it if we're in preview mode?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by Thought Police Interactive Studios
  • This topic is not resolved
  • WordPress version: 3.1.2