Hi jerdiggity,

The property 'path' is only set in those sites where module Path is enabled.
So if you don't have a node with path.. it will show this error message:
Notice: Undefined property: stdClass::$uri in fblikebutton_node_view() (line 58 of
Instead of :
$likepath = drupal_get_path_alias($node->uri['path']);.
It's better to let Drupal decide the path like this:
$likepath = url("node/$node->nid", array('absolute' => TRUE)),.

Comments

corbacho’s picture

Project: Facebook social plugins integration » Facebook Like Button
Version: 7.x-2.x-dev » 7.x-1.x-dev

Ups. This was meant to be in the issue queue of Facebook Like button.
Moving.

jerdiggity’s picture

Assigned: Unassigned » jerdiggity
Status: Active » Fixed

Thanks!

Committed to latest stable release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.