So I noticed that a clients site won’t display proper post images when posting on Facebook. I checked my log and found this:
PHP Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/xxx/public_html/wp-content/plugins/wp-facebook-open-graph-protocol/wp-facebook-ogp.php on line 134
This is line 134:
echo "\t<meta property='og:image' content='".get_bloginfo('url')."".esc_attr($thumbnail_src)."' />\n";
Now, I’m thinking this is the reason why the images haven’t been working? I’m on version 1.5.2 and unfortunately I cannot upgrade since my predecessor did some changes to some of the plugins and yours might be one of them. Is there some easy fix?
Thanks alot for an amazing plugin!
- The topic ‘Error log filled with errors’ is closed to new replies.