Naren230587
Forum Replies Created
-
Hi Collegeman,
i have figured out the problem. Actually there were some comments on facebook which were creating problem.
In following line of your plugin.php file your code was breaking.
foreach($packet->comments->data as $comment) { try {—}}.
Reason was comments were not storing in db.
These are 3 comments which were creating problem.
https://graph.facebook.com/?ids=10151870479955121_34237878
https://graph.facebook.com/?ids=10150482597896159_24946364
https://graph.facebook.com/?ids=10150470149248889_23045143.So i bypassed these comment id’s by following code
if ($comments->id == “10151870479955121_34237878”){ continue;}
This is not a good solution, i know.
Now my question is can you figure out the reason of not storing these comments in db and how can we make such comments bypass automatically if these kinds of comments create problem in future.
Thanks in advancethanks . i will definitely know you the outcome.
thanks for your precious timealso i am not using sharepress, do i need to use it as i don’t want any other functionality. what if i use sharepress. as per my study your this function is causing problem
private function wp_new_comment( $commentdata ) {
$commentdata = apply_filters(‘preprocess_comment’, $commentdata);}may be apply_filters issue. what say
Hi Collegeman,
thanks for the reply. i have tried very hard , but not able to solve this issue. i just want my facebook comments to save in my wordpress database. my hosting is on wp engine. is that an issue. i have this blog on an test site also which is also live. and this plugin is working fine there.
http://atcsinc.net/2backpackers. Can you please look into this matter. here it is not working http://2backpackers.comThanks for your time.
Hi All,
I have installed fatpanda plugin in my site http://2backpackers.com/.
But comments are not stored in database. I want to know can it be cron problem or some short of permission problem to the plugin.
Thanks