I was getting this error on my node pages.

Comments

Craig Gardner’s picture

Status: Active » Needs review
StatusFileSize
new670 bytes

I've created a patch as well.

A pretty minor change, but the errors are no longer there.

tykern’s picture

please, what are you doing with the patch? how to use it? I have the same problem on the "tags" url and quite beginner...

tykern’s picture

this my error when I use the "tags"....

Maglor’s picture

Having the same issue. I'm also not so technical or developer minded, so how can I apply this patch? I got the error msg on my front page and even non-logged in users see it, so it's very annoying. Happened since the latest update of the module.

Starminder’s picture

Just a jolly +1 here, this is my reminder to try the patch.

jerdiggity’s picture

Status: Needs review » Fixed

Although I'm not (personally) able to duplicate this, I can see why it would happen...

@Craig Gardner: thank you very much for the patch -- looks good to me (and checks out after testing).

@Everyone else: thanks for confirming this issue -- makes life much easier.

Committed to 7.x-1.x-dev for now... Will also be committed to next stable release along with other changes.

kueblert’s picture

StatusFileSize
new31.45 KB

The Patch is a snipped of coding.
The Place where to put this code, you can see in the Screenshot (Attachment)
/sites/all/modules/fblikebutton

The is a file called "fblikebutton.module"
Make a Copy of that file before u do anything
This file u can open with an editor and now you must replace the Line

$likepath = drupal_get_path_alias($node->uri['path']);

whit this line

$likepath = drupal_get_path_alias(isset($node->uri) ? $node->uri['path'] : sprintf('node/%u', $node->nid));

In the Patch it is marked with an "-" and da "+" this is means that u must replace the lines.

hope i could help a little.
i try it now my self.
mfg tobi

Status: Fixed » Closed (fixed)

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