If I create a new post in site :8080, no error but nothing changed ??
When I update “Hello world” post then check Network log, It is a 500 error from POST request to mydomain.com:8080/wp-admin/post.php?post=1&action=edit&meta-box-loader=1&meta-box-loader-nonce=82860aa7a4&_locale=user
{
"code": "internal_server_error",
"message": "<p>There has been a critical error on this website. Please check your site admin email inbox for instructions.</p><p><a href=\"https://www.ads-software.com/support/article/faq-troubleshooting/\">Learn more about troubleshooting WordPress.</a></p>",
"data": {
"status": 500
},
"additional_errors": []
}
This is PHP error log:
PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/html/wp-content/plugins/sync-post-with-other-site/includes/sps_sync.class.php:122\nStack trace:\n#0 /var/www/html/wp-includes/class-wp-hook.php(307): SPS_Sync->sps_save_post(1, Object(WP_Post), true)\n#1 /var/www/html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)\n#2 /var/www/html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)\n#3 /var/www/html/wp-includes/post.php(4687): do_action('save_post', 1, Object(WP_Post), true)\n#4 /var/www/html/wp-includes/post.php(4789): wp_insert_post(Array, false, true)\n#5 /var/www/html/wp-admin/includes/post.php(426): wp_update_post(Array)\n#6 /var/www/html/wp-admin/post.php(227): edit_post()\n#7 {main}\n thrown in /var/www/html/wp-content/plugins/sync-post-with-other-site/includes/sps_sync.class.php on line 122, referer: https://nha201.tplinkdns.com:8080/wp-admin/post.php?post=1&action=edit
And this is $respond object at /var/www/html/wp-content/plugins/sync-post-with-other-site/includes/sps_sync.class.php on line 122
object(WP_Error)#1067 (3) { ["errors"]=> array(1) { ["http_request_failed"]=> array(1) { [0]=> string(59) "cURL error 28: Connection timed out after 5002 milliseconds" } } ["error_data"]=> array(0) { } ["additional_data":protected]=> array(0) { } } {"code":"internal_server_error","message":"
There has been a critical error on this website. Please check your site admin email inbox for instructions.<\/p>
Learn more about troubleshooting WordPress.<\/a><\/p>","data":{"status":500},"additional_errors":[]}
-
This reply was modified 2 years, 10 months ago by
daubac402.
-
This reply was modified 2 years, 10 months ago by
daubac402.
-
This reply was modified 2 years, 10 months ago by
daubac402.
-
This reply was modified 2 years, 10 months ago by
daubac402.