Title: shell_exec disabled
Last modified: August 31, 2016

---

# shell_exec disabled

 *  Resolved [hiddenash](https://wordpress.org/support/users/hiddenash/)
 * (@hiddenash)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/problem-168/)
 * Hello,
 * I got this error: Warning: shell_exec() has been disabled for security reasons
   in /home/tmffandreifl09/public_html/wp-content/plugins/featured-image-from-url/
   admin/menu.php on line 29
 * Also, after putting a link on a page for example, it shows the image before posting
   as feature image, but when looking on the actual page I don’t see anything.
 * Cheers
 * [https://wordpress.org/plugins/featured-image-from-url/](https://wordpress.org/plugins/featured-image-from-url/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [fifu.app](https://wordpress.org/support/users/marceljm/)
 * (@marceljm)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/problem-168/#post-7338729)
 * Hi, hiddenash.
 * If you are trying to use the plugin with WooCommerce, you need to enable “WooCommerce
   Full Integration” toggle. Then a shell_exec will be called to replace some code
   lines of WooCommerce plugin.
 * Then you have two options:
    1) change the server options to enable shell_exec();
   2) change the WooCommerce code. I can do that for you, but there will be a cost.
   In this case, contact me by email.
 * Thanks!
 *  Thread Starter [hiddenash](https://wordpress.org/support/users/hiddenash/)
 * (@hiddenash)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/problem-168/#post-7338767)
 * Hello,
 * I am not using the plugin with WooCommerce, that’s the thing. Is this plugin 
   somehow tied to WooCommerce?
 *  Plugin Author [fifu.app](https://wordpress.org/support/users/marceljm/)
 * (@marceljm)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/problem-168/#post-7338778)
 * No, it’s not tied.
 * In this case, we just need to comment the lines where the command Shell Exec 
   is present.
 * I can send you the solution tonight or you can try to do it yourself. Let me 
   know if you need help.
 * Thanks.
 *  Plugin Author [fifu.app](https://wordpress.org/support/users/marceljm/)
 * (@marceljm)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/problem-168/#post-7338864)
 * hiddenash,
 * go to admin/menu.php:
 * Replace
    _ $output = shell\_exec(‘uname -s’);_ by _ $output = ”;_
 * and replace
    _ shell\_exec($command1); shell\_exec($command2); by  //shell\_exec(
   $command1); //shell\_exec($command2);
 * Let me know if it worked.
 *  [rizqyananta](https://wordpress.org/support/users/rizqyananta/)
 * (@rizqyananta)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/problem-168/#post-7339032)
 * I’m also got this error: Fatal error: Call to undefined function get_term_meta()
   in /home/u487079131/public_html/wp-content/plugins/featured-image-from-url/includes/
   thumbnail-category.php on line 29
 * your code is still can’t be solve. Please help 🙂
 * Cheers
 *  Plugin Author [fifu.app](https://wordpress.org/support/users/marceljm/)
 * (@marceljm)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/problem-168/#post-7339033)
 * Actually, hiddenash related a Warning message. Your issue, rizqyananta, is different,
   it’s a Fatal Error. Am I right?
 *  [rizqyananta](https://wordpress.org/support/users/rizqyananta/)
 * (@rizqyananta)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/problem-168/#post-7339034)
 * Yes you’re right. How can i solve this? I have try to disable the debug but this
   is don’t work also. What can i do next?
 *  Plugin Author [fifu.app](https://wordpress.org/support/users/marceljm/)
 * (@marceljm)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/problem-168/#post-7339035)
 * Which version are you using, please?

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘shell_exec disabled’ is closed to new replies.

 * ![](https://ps.w.org/featured-image-from-url/assets/icon-256x256.png?rev=2776609)
 * [Featured Image from URL (FIFU)](https://wordpress.org/plugins/featured-image-from-url/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/featured-image-from-url/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/featured-image-from-url/)
 * [Active Topics](https://wordpress.org/support/plugin/featured-image-from-url/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/featured-image-from-url/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/featured-image-from-url/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [fifu.app](https://wordpress.org/support/users/marceljm/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/problem-168/#post-7339035)
 * Status: resolved