Support » Plugin: Facebook Publish » Facebook publish conflicting with Instant Articles plugin

  • anazapta

    (@anazapta)


    When I activate both plugins, submitting a new post I receive an error message, Page not working. Error above:

    2017/10/11 10:23:15 [error] 32468#0: *14159489 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught TypeError: Argument 1 passed to Facebook\FacebookRequest::__construct() must be an instance of Facebook\FacebookApp, instance of Facebook\FacebookSession given, called in /home/ditanew/public_html/wp-content/plugins/facebook-publish/lib/new-post-update-status.php on line 280 and defined in /home/ditanew/public_html/wp-content/plugins/fb-instant-articles/vendor/facebook/graph-sdk/src/Facebook/FacebookRequest.php:97
    Stack trace:
    #0 /home/ditanew/public_html/wp-content/plugins/facebook-publish/lib/new-post-update-status.php(280): Facebook\FacebookRequest->__construct(Object(Facebook\FacebookSession), ‘POST’, ‘/30000738010547…’, Array)
    #1 /home/ditanew/public_html/wp-content/plugins/facebook-publish/lib/new-post-update-status.php(140): fp_post_to_fb_page(‘300007380105476’, Array)
    #2 /home/ditanew/public_html/wp-content/plugins/facebook-publish/lib/new-post-update-status.php(80): fp_post_to_fb(Array)
    #3 /home/ditanew/public_html/wp-content/plugins/facebook-publish/lib/” while reading response header from upstream, client: 162.158.92.49, server: gazetadita.al, request: “POST /wp-admin/post.php HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php-fpm/ditanew.sock:”, host: “www.gazetadita.al”, referrer: “http://www.gazetadita.al/wp-admin/post-new.php?wp-post-new-reload=true”

    The page I need help with: [log in to see the link]

  • You must be logged in to reply to this topic.