I’m running into this error code when trying to save a post (seems to happen only after the first save). Makes editing a post impossible. I’m running on WP-Engine, latest WP version.
Any ideas? (other than linking to the requirements page). I see there are other wp-engine clients out here.
Thanks!
[Mon Jan 28 15:10:43.047759 2019] [php7:error] [pid 10115] [client 73.124.243.112:55170] PHP Fatal error: Uncaught Error: Call to undefined function media_sideload_image() in /nas/content/live/rctvradar/wp-content/themes/Newspaper/includes/wp_booster/td_video_support.php:196\nStack trace:\n#0 [internal function]: td_video_support::on_save_post_get_video_thumb(137)\n#1 /nas/content/live/rctvradar/wp-includes/class-wp-hook.php(288): call_user_func_array(Array, Array)\n#2 /nas/content/live/rctvradar/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)\n#3 /nas/content/live/rctvradar/wp-includes/plugin.php(453): WP_Hook->do_action(Array)\n#4 /nas/content/live/rctvradar/wp-includes/post.php(3747): do_action(‘save_post’, 137, Object(WP_Post), true)\n#5 /nas/content/live/rctvradar/wp-includes/post.php(3820): wp_insert_post(Array, true)\n#6 /nas/content/live/rctvradar/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(681): wp_update_post(Array, true)\n#7 [internal function]: WP_REST_Posts_Controller->update_item(Object(WP_REST_Request))\n#8 /nas/content/live/rctvradar/wp-includes/rest-api/class-w in /nas/content/live/rctvradar/wp-content/themes/Newspaper/includes/wp_booster/td_video_support.php on line 196, referer: https://[redacted]/wp-admin/post.php?post=137&action=edit
-
This topic was modified 7 years by
cgranier.
The WordPress Codex says that:
If you want to use this function outside of the context of /wp-admin/ (typically if you are writing a more advanced custom importer script) you need to include media.php and depending includes:
require_once(ABSPATH . 'wp-admin/includes/media.php');
require_once(ABSPATH . 'wp-admin/includes/file.php');
require_once(ABSPATH . 'wp-admin/includes/image.php');
Could that be the case here?
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.
Also it can be a plugin conflict, please deactivate all plugins, clear all cache and try again!
Hope this will help you!
Thanks.