PHP-error when using mobile API
-
WordPress 4.9.7
AccessPress Facebook Auto Post 2.0.0
Nginx 1.15.2
PHP 7.2.8-1When trying to use mobile API since the old way stopped working i get this error:
2018/08/01 20:18:14 [error] 21812#21812: *2 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to a member function getBody() on boolean in /var/www/blog/wp-content/plugins/accesspress-facebook-auto-post/inc/cores/auto-post.php:314 Stack trace: #0 /var/www/blog/wp-content/plugins/accesspress-facebook-auto-post/accesspress-facebook-auto-post.php(503): include() #1 /var/www/blog/wp-includes/class-wp-hook.php(286): AFAP_Class->auto_post('publish', 'publish', Object(WP_Post)) #2 /var/www/blog/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #3 /var/www/blog/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 /var/www/blog/wp-includes/post.php(4095): do_action('transition_post...', 'publish', 'publish', Object(WP_Post)) #5 /var/www/blog/wp-includes/post.php(3555): wp_transition_post_status('publish', 'publish', Object(WP_Post)) #6 /var/www/blog/wp-includes/post.php(3713): wp_insert_post(Array, false) #7 /var/www/blog/wp-admin/includes/post.php(377): wp_update_post(Array) #8 /var/www/blog/wp-admin/post.php(194): edit_post()" while reading response header from upstream, client: 123.123.123.123, server: www.domain.com, request: "POST /wp-admin/post.php HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "www.domain.com"
Any ideas?
- The topic ‘PHP-error when using mobile API’ is closed to new replies.