• Resolved hiddenash

    (@hiddenash)


    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://www.ads-software.com/plugins/featured-image-from-url/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Marcel

    (@marceljm)

    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

    (@hiddenash)

    Hello,

    I am not using the plugin with WooCommerce, that’s the thing. Is this plugin somehow tied to WooCommerce?

    Plugin Author Marcel

    (@marceljm)

    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 Marcel

    (@marceljm)

    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.

    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 Marcel

    (@marceljm)

    Actually, hiddenash related a Warning message. Your issue, rizqyananta, is different, it’s a Fatal Error. Am I right?

    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 Marcel

    (@marceljm)

    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.