• The plugin was working for some time and then now it is creating a fatal error and not activating. Running latest php

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

    (@wpenhanced)

    Sorry to hear this

    What is the fatal error message? Can you send it here and we can then work out what is causing this and fix it for you?

    Thanks

    Thread Starter xltrax

    (@xltrax)

    it says this on the plugin page when activating : Plugin could not be activated because it triggered a fatal error.

    somewhere I can get more details?

    • This reply was modified 10 months, 1 week ago by xltrax.
    Thread Starter xltrax

    (@xltrax)

    Just wondering if there is any idea here? thanks

    Plugin Author Wp Enhanced

    (@wpenhanced)

    You can find it in your error.log file on the server or ask your host for it.

    Let me know how you get on

    Thread Starter xltrax

    (@xltrax)

    Fatal error: Uncaught Error: Call to undefined function file_put_contents() in /home/djdropsa/public_html/wp-content/plugins/download-now-for-woocommerce/Includes/Legacy/somdn-file-functions.php:49 Stack trace: #0 /home/djdropsa/public_html/wp-content/plugins/download-now-for-woocommerce/Includes/Legacy/somdn-file-functions.php(61): somdn_create_empty_index_files() #1 /home/djdropsa/public_html/wp-includes/class-wp-hook.php(324): somdn_on_activate_file_cron(”) #2 /home/djdropsa/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #3 /home/djdropsa/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 /home/djdropsa/public_html/wp-content/plugins/download-now-for-woocommerce/Includes/Plugin.php(86): do_action(‘somdn_on_activa…’) #5 /home/djdropsa/public_html/wp-includes/class-wp-hook.php(324): SOM\FreeDownloads\Plugin->somdnActivated(false) #6 /home/djdropsa/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #7 /home/djdropsa/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #8 /home/djdropsa/public_html/wp-admin/includes/plugin.php(693): do_action(‘activate_downlo…’, false) #9 /home/djdropsa/public_html/wp-admin/plugins.php(58): activate_plugin(‘download-now-fo…’, ‘https://djdrops…’, false) #10 {main} thrown in?/home/djdropsa/public_html/wp-content/plugins/download-now-for-woocommerce/Includes/Legacy/somdn-file-functions.php?on line?49

    Plugin Author Wp Enhanced

    (@wpenhanced)

    What PHP version are you using on your server?

    It should be at least 7.4.0

    It could also be that file_put_contents() is restricted by your host, can happen when shared hosting. Contact your hosting provider for more information.

    Hope this helps

    Thread Starter xltrax

    (@xltrax)

    I am using 8.2 PHP. How is this done in cpanel root?

    Plugin Author Wp Enhanced

    (@wpenhanced)

    Contact your host and ask them if there are restrictions and then check any security plugins or anything that is related to this.

    Not sure about your set up

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fatal Error’ is closed to new replies.