Undefined index: action error when creating new post

Posted in: Newspaper
Post count: 7

When I trying to create new post, I’m getting this error:

[17-Jan-2019 23:41:50 UTC] PHP Notice: Undefined index: action in /var/www/html/wp-fov/wp-content/plugins/td-composer/includes/tdc_ajax.php on line 67
[17-Jan-2019 23:41:50 UTC] PHP Stack trace:
[17-Jan-2019 23:41:50 UTC] PHP 1. {main}() /var/www/html/wp-fov/index.php:0
[17-Jan-2019 23:41:50 UTC] PHP 2. require() /var/www/html/wp-fov/index.php:17
[17-Jan-2019 23:41:50 UTC] PHP 3. wp() /var/www/html/wp-fov/wp-blog-header.php:16
[17-Jan-2019 23:41:50 UTC] PHP 4. WP->main() /var/www/html/wp-fov/wp-includes/functions.php:964
[17-Jan-2019 23:41:50 UTC] PHP 5. WP->parse_request() /var/www/html/wp-fov/wp-includes/class-wp.php:715
[17-Jan-2019 23:41:50 UTC] PHP 6. do_action_ref_array() /var/www/html/wp-fov/wp-includes/class-wp.php:375
[17-Jan-2019 23:41:50 UTC] PHP 7. WP_Hook->do_action() /var/www/html/wp-fov/wp-includes/plugin.php:515
[17-Jan-2019 23:41:50 UTC] PHP 8. WP_Hook->apply_filters() /var/www/html/wp-fov/wp-includes/class-wp-hook.php:310
[17-Jan-2019 23:41:50 UTC] PHP 9. call_user_func_array:{/var/www/html/wp-fov/wp-includes/class-wp-hook.php:286}() /var/www/html/wp-fov/wp-includes/class-wp-hook.php:286
[17-Jan-2019 23:41:50 UTC] PHP 10. rest_api_loaded() /var/www/html/wp-fov/wp-includes/class-wp-hook.php:286
[17-Jan-2019 23:41:50 UTC] PHP 11. WP_REST_Server->serve_request() /var/www/html/wp-fov/wp-includes/rest-api.php:295
[17-Jan-2019 23:41:50 UTC] PHP 12. WP_REST_Server->dispatch() /var/www/html/wp-fov/wp-includes/rest-api/class-wp-rest-server.php:321
[17-Jan-2019 23:41:50 UTC] PHP 13. call_user_func:{/var/www/html/wp-fov/wp-includes/rest-api/class-wp-rest-server.php:936}() /var/www/html/wp-fov/wp-includes/rest-api/class-wp-rest-server.php:936
[17-Jan-2019 23:41:50 UTC] PHP 14. WP_REST_Autosaves_Controller->create_item() /var/www/html/wp-fov/wp-includes/rest-api/class-wp-rest-server.php:936
[17-Jan-2019 23:41:50 UTC] PHP 15. WP_REST_Autosaves_Controller->create_post_autosave() /var/www/html/wp-fov/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php:218
[17-Jan-2019 23:41:50 UTC] PHP 16. _wp_put_post_revision() /var/www/html/wp-fov/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php:365
[17-Jan-2019 23:41:50 UTC] PHP 17. wp_insert_post() /var/www/html/wp-fov/wp-includes/revision.php:300
[17-Jan-2019 23:41:50 UTC] PHP 18. do_action() /var/www/html/wp-fov/wp-includes/post.php:3747
[17-Jan-2019 23:41:50 UTC] PHP 19. WP_Hook->do_action() /var/www/html/wp-fov/wp-includes/plugin.php:453
[17-Jan-2019 23:41:50 UTC] PHP 20. WP_Hook->apply_filters() /var/www/html/wp-fov/wp-includes/class-wp-hook.php:310
[17-Jan-2019 23:41:50 UTC] PHP 21. call_user_func_array:{/var/www/html/wp-fov/wp-includes/class-wp-hook.php:286}() /var/www/html/wp-fov/wp-includes/class-wp-hook.php:286
[17-Jan-2019 23:41:50 UTC] PHP 22. tdc_on_save_post() /var/www/html/wp-fov/wp-includes/class-wp-hook.php:286

The url’s are:
POST http://fov.local/wp-json/wp/v2/posts/271/autosaves?_locale=user(returns 500)
with payload:
content: “<!– wp:paragraph –>↵<p>test test</p>↵<!– /wp:paragraph –>”
excerpt: “”
id: 271
status: “draft”
title: “test test”

Same happens with publishing

Post count: 35449

Hi,

Please make sure that the theme system status is configured as mentioned in the requirements guide. Please follow the guide carefully
https://forum.tagdiv.com/requirements-for-newspaper/
and please increase all requirements that are lower, and follow all steps.

If there is still a problem, you can send us an email at contact@tagdiv.com and provide admin login, as well as cPanel or FTP if possible. We will take a look. Include a link to this topic in the email.

Thanks.

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.