there is either a javascript error on your page or a PHP server error.
Inspect the page and check for errors on your console.
Enable WP_DEBUG mode on your server to check for server errors.
Thread Starter
agxer
(@agxer)
i am not getting any errors via debug OR console!
what version of WP and PHP are you running?
Thread Starter
agxer
(@agxer)
latest version of WP and PHP 7.4
ok.
what type of post are you mapping to? Existing post type or custom?
Thread Starter
agxer
(@agxer)
i am trying to map to an existing post, the standard ‘post’ type. when i hit save or publish it gives the fore-mentioned error message briefly then when the page reloads it goes shows all the settings i made except under ‘Existing Post’ it shows the options for new post. And nothing is saved, in other words when i go back out it still says ‘Create New’ with no other option to edit etc.
when i hit save or publish
in both cases the error appears?
it goes shows all the settings i made except under ‘Existing Post’ it shows the options for new post. And nothing is saved, in other words when i go back out it still says ‘Create New
so it looks like you selection of post type is not being set properly on your page or sent properly to the server.
The settings requires javascript to work without errors (hence the suggestion that there is an error on the page).
THe send is using AJAX, and this could also be blocked by your server (htaccess file or apache server). You can inspect your page when you save/publish to see the POST request being sent, see if the following fields are being set:
– ‘mapped_post_type_source’
– ‘mapped_post_type’
I’m getting the same error. In debugging, it looks like the $_POST array does not have either “save_draft”, “update_post” or “save_post” set.
[18-May-2021 01:00:01 UTC] DEBUG_MSG:
+ unknown saving Array
(
[action] => save_post_mapping
[cf7_2_post_nonce] => 76f55ad6c4
[meta-box-order-nonce] => 62f05c50e3
[closedpostboxesnonce] => 9de5d54aa7
[cf7_2_post_map-title] => artwork_title
[cf7_2_post_map-slug] =>
[cf7_2_post_map-author] =>
[cf7_2_post_map-thumbnail] => image_file
[cf7_2_post_map-editor] =>
[cf7_2_post_map-excerpt] =>
[cf7_post_id] => 71
[mapped_post_type] => post
[mapped_post_type_source] => system
[system_post_type] => post
…
This is around line 454 of admin/class-cf7-2-post-admin.php
I’m looking into if further…
@spacetaxi please start your own thread. This is WP support forum policy.