<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?