WordPress.org

Ready to get started?Download WordPress

Forums

Wordbooker
[resolved] PHP Fatal error: Uncaught exception (8 posts)

  1. theresa95
    Member
    Posted 3 years ago #

    I started to receive the following error:

    PHP Fatal error: Uncaught exception 'FacebookRestClientException' with message 'Error finding the requested story' in ...wordbooker/facebook-platform/php/facebookapi_php5_restlib.php:3065, referer: http://.../index.php/2010/08/a-post-that-exists/

    any ideas?

    # Wordbooker: 1.8.11
    # Wordbooker Schema: 8
    # WordPress: 3.0.1
    # PHP: 5.3.2
    # JSON Encode: PHP
    # JSON Decode: PHP
    # JSON Version: 1.2.1
    # SimpleXML library: PHP
    # HTTP Output Character Encoding: pass
    # Internal PHP Character Encoding: UTF-8
    # MySQL: 5.0.91
    # Database character_set_client : utf8
    # Database character_set_connection : utf8
    # Database character_set_database : utf8
    # Database character_set_filesystem : binary
    # Database character_set_results : utf8
    # Database character_set_server : utf8
    # Database character_set_system : utf8
    # Database character_sets_dir : /usr/share/mysql/charsets/
    # Database collation_connection : utf8_general_ci
    # Database collation_database : utf8_unicode_ci
    # Database collation_server : utf8_unicode_ci
    # Server : GFE/1.3
    # Active Plugins :
    CGM Events Calendar ( 0.7.5 )
    Dashboard Post-it ( 1.1 )
    Flash Video Player ( 5.0.4 )
    Google XML Sitemaps ( 3.2.4 )
    HeadSpace2 ( 3.6.33 )
    WP-UserOnline ( 2.73 )

    Timestamp Post Diagnostic Message Diagnostic Data
    2010-08-03 12:52:14 Cache Refresh Commence ( 3 )
    2010-08-03 12:52:14 Cache Refresh for ( 1000003207xxxxx )
    2010-08-03 12:52:14 UID length : ( 15 )
    2010-08-03 12:52:14 Cache processing for user : ( 1000003207xxxxx )
    2010-08-03 12:52:14 Getting Permisions for : ( 1000003207xxxxx )
    2010-08-03 12:52:14 User has permssion : publish_stream ( )
    2010-08-03 12:52:14 User has permssion : status_update ( )
    2010-08-03 12:52:15 User has permssion : read_stream ( )
    2010-08-03 12:52:15 User has permssion : create_note ( )
    2010-08-03 12:52:17 Additional Permissions needed : ( 0 )
    2010-08-03 12:52:17 Getting Status for : ( 1000003207xxxxx )
    2010-08-03 12:52:18 Failed to get page information from FB ( )
    2010-08-03 12:52:18 Setting name as : ( <name> )
    2010-08-03 12:52:18 Setting status as : ( <snippet>
    2010-08-03 12:52:18 Setting URL as : ( http://www.facebook.com/profile.php?id=1000003207xxxxx )
    2010-08-03 12:52:18 Cache Refresh Complete for user ( 1000003207xxxxx )

  2. theresa95
    Member
    Posted 3 years ago #

    And below is the stack trace in case any help

    Stack trace:, referer: http://.../index.php/2010/08/exisiting-post/
    #0 /.../wp-content/plugins/wordbooker/facebook-platform/php/facebookapi_php5_restlib.php(957): FacebookRestClient->call_method('facebook.stream...', Array), referer: http://.../index.php/2010/08/exisiting-post/
    #1 /.../wp-content/plugins/wordbooker/wordbooker.php(2387): FacebookRestClient->stream_addComment('1000003207xxxxx...', '?Name : ....?Co...'), referer: http://.../index.php/2010/08/exisiting-post/
    #2 [internal function]: wordbooker_post_comment(127), referer: http://.../index.php/2010/08/exisiting-post/
    #3 /.../wp-includes/plugin.php(395): call_user_func_array('wordbooker_post...', Array), referer: http://.../index.php/2010/08/exisiting-post/
    #4 /.../wp-includes/comment.php(1276): do_action('comment_post', 127, 1), referer: http://.../index.php/2010/08/exisiting-post/
    #5 /.../wp-comments-post.php(90): wp_new_comment(Array), referer: http://.../index.php/2010/08/exisiting-post/
    #6 {main}, referer: http://.../index.php/2010/08/exisiting-post/
    thrown in /.../wp-content/plugins/wordbooker/facebook-platform/php/facebookapi_php5_restlib.php on line 3065, referer: http://.../index.php/2010/08/exisiting-post/

  3. Steve
    Member
    Plugin Author

    Posted 3 years ago #

    Yes, you're posting to a FB post that no-longer exists and because I didn't think people would delete FB wall posts that are linked to their blogs I didn't put an error trap in.

    Version 2 will, if it finds such an error, simply remove the record from its tables and not report any errors.

  4. theresa95
    Member
    Posted 3 years ago #

    Thanks for your reply but I am not sure what you mean. The post shows both on the blog and on the FB wall. There is no deletion at either end. Also clicking the link in FB snippet takes you to the blog post. "Fetch comments from Facebook for this post" is unchecked, "Push Comments up to Facebook" is checked, though comments left at blog does not appear at FB.

  5. Steve
    Member
    Plugin Author

    Posted 3 years ago #

    The problem is that the Facebook comment post is trying to post to a FB Post_ID that FB doesn't think exists - that is what the error means.

    Comment handling is being re-written for version 2

  6. theresa95
    Member
    Posted 3 years ago #

    OK, thanks I will wait for the update. Meanwhile what I should delete from the DB to stop this error logging in the logs? Thanks

  7. Steve
    Member
    Plugin Author

    Posted 3 years ago #

    What you need to do is find the row in the wordbook postcomments table which is associated with the Facebook post_id 1000003207xxxxx.. and delete it

  8. theresa95
    Member
    Posted 3 years ago #

    OK. Many thanks for your reply, and the excellent plugin. Your time and effort is very much appreciated.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags