• Resolved eieutil

    (@eieutil)


    I updated your plugin today, something went wrong and my site is showing me Fatal error: Call to undefined function is_plugin_active() in /home/u263666122/public_html/wp-content/plugins/featured-image-from-url/includes/thumbnail.php on line 14. I have made no changes to the code. When i update the WordPress your plugin ask for update and when i did my site stops working.

    I deactivated your plugin and its working fine.
    Can you help me.
    Thanks!

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

    (@marceljm)

    Hi, @eieutil.

    is_plugin_active() is a WordPress function.

    I’m using that in the plugin now because it’s inregrated to another one (Sirv).

    Please let me know whitch is your WordPress version.

    And, for now, you can use FIFU 1.3.9 instead of 1.4.3
    Version 1.3.9

    • This reply was modified 8 years, 5 months ago by Marcel.
    Plugin Author Marcel

    (@marceljm)

    I have checked now. This function is present since WordPress 2.5.

    And the minimum requirement is to have PHP 4.3 or greater.

    Then please inform your PHP version as well.

    Thread Starter eieutil

    (@eieutil)

    Deleted

    • This reply was modified 8 years, 5 months ago by eieutil.
    Thread Starter eieutil

    (@eieutil)

    My version is WordPress 4.6.1 and PHP 7.

    Other error messages that the plugin to activate.
    Warning: shell_exec() has been disabled for security reasons in /home/u263666122/public_html/wp-content/plugins/featured-image-from-url/admin/menu.php on line 30
    Fatal error: Uncaught Error: Call to undefined function is_plugin_active() in /home/u263666122/public_html/wp-content/plugins/featured-image-from-url/includes/thumbnail.php:14 Stack trace: #0 /home/u263666122/public_html/wp-includes/plugin.php(524): fifu_add_social_tags(”) #1 /home/u263666122/public_html/wp-includes/general-template.php(2555): do_action(‘wp_head’) #2 /home/u263666122/public_html/wp-content/themes/header.php(20): wp_head() #3 /home/u263666122/public_html/wp-includes/template.php(572): require_once(‘/home/u26366612…’) #4 /home/u263666122/public_html/wp-includes/template.php(531): load_template(‘/home/u26366612…’, true) #5 /home/u263666122/public_html/wp-includes/general-template.php(45): locate_template(Array, true) #6 /home/u263666122/public_html/wp-content/themes/index.php(1): get_header() #7 /home/u263666122/public_html/wp-includes/template-loader.php(75): include(‘/home/u26366612…’) #8 /home/u263666122/public_html/wp-blog-header.php(19): require_once(‘/home/u26366612…’) #9 /ho in /home/u263666122/public_html/wp-content/plugins/featured-image-from-url/includes/thumbnail.php on line 14

    Thread Starter eieutil

    (@eieutil)

    Version featured-image-from-url.1.3.9 OK!

    Plugin Author Marcel

    (@marceljm)

    Hi, @eieutil

    Could you install the last release 1.4.4? It should fix the “is_plugin_active()” error.

    About the another problem “Warning: shell_exec() has been disabled for security reasons”, it’s not an error. It’s a warning that means your server is configured to reject shell_exec calls for security reasons.

    As it’s described in the settings, the shell_exec is being called by FIFU because it needs to replace some lines of WooCommerce plugin to show the external images there. When you deactivates FIFU, WooCommerce plugin loses the changes.

    To get around the problem you should configure your server to enable shell_exec calls. But if, for some reason, it’s not possible, you can hire me to do a manual integration.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal error: Call to undefined function is_plugin_active()’ is closed to new replies.