• Resolved mohitdobariya

    (@mohitdobariya)


    Hello there,

    Hope you are doing well in this situation.

    I am trying to active “Email Subscribers & Newsletters” plugin, but it’s return an following error. Please check and let me know what is the issue.

    Plugin could not be activated because it triggered a fatal error.

    Fatal error: Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resource, bool given in D:\Xampp\htdocs\nocturnalcocktailers\wp-content\plugins\email-subscribers\lite\includes\logs\log-handlers\class-ig-log-handler-file.php:125 Stack trace: #0 D:\Xampp\htdocs\nocturnalcocktailers\wp-content\plugins\email-subscribers\lite\includes\logs\log-handlers\class-ig-log-handler-file.php(125): fclose(false) #1 D:\Xampp\htdocs\nocturnalcocktailers\wp-content\plugins\email-subscribers\lite\includes\logs\log-handlers\class-ig-log-handler-file.php(188): IG_Log_Handler_File->open('ig_es_db_update...') #2 D:\Xampp\htdocs\nocturnalcocktailers\wp-content\plugins\email-subscribers\lite\includes\logs\log-handlers\class-ig-log-handler-file.php(76): IG_Log_Handler_File->add('2021-04-24T15:2...', 'ig_es_db_update...') #3 D:\Xampp\htdocs\nocturnalcocktailers\wp-content\plugins\email-subscribers\lite\includes\class-ig-logger.php(97): IG_Log_Handler_File->handle(1619277914, 'info', 'It seems new Em...', Array) #4 D:\Xampp\htdocs\nocturnalcocktailers\wp-content\plugins\email-subscribers\lite\includes\class-ig-logger.php(204): IG_Logger->log('info', 'It seems new Em...', Array) #5 D:\Xampp\htdocs\nocturnalcocktailers\wp-content\plugins\email-subscribers\lite\includes\class-es-install.php(355): IG_Logger->info('It seems new Em...', Array) #6 D:\Xampp\htdocs\nocturnalcocktailers\wp-content\plugins\email-subscribers\lite\includes\class-email-subscribers-activator.php(38): ES_Install::install() #7 D:\Xampp\htdocs\nocturnalcocktailers\wp-content\plugins\email-subscribers\email-subscribers.php(257): Email_Subscribers_Activator::activate() #8 D:\Xampp\htdocs\nocturnalcocktailers\wp-includes\class-wp-hook.php(292): activate_email_subscribers('') #9 D:\Xampp\htdocs\nocturnalcocktailers\wp-includes\class-wp-hook.php(316): WP_Hook->apply_filters('', Array) #10 D:\Xampp\htdocs\nocturnalcocktailers\wp-includes\plugin.php(484): WP_Hook->do_action(Array) #11 D:\Xampp\htdocs\nocturnalcocktailers\wp-admin\plugins.php(193): do_action('activate_email-...') #12 {main} thrown in D:\Xampp\htdocs\nocturnalcocktailers\wp-content\plugins\email-subscribers\lite\includes\logs\log-handlers\class-ig-log-handler-file.php on line 125

    Thank You.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor kishanranawat

    (@kishanranawat)

    Hi Mohit,

    I am really sorry for the delay in my response.

    From the error log info, it looks like the Email Subscribers plugin isn’t able to write its logging information due to missing write permissions to the uploads folders.

    Can you please confirm if the uploads folder inside the wp-content directory has correct read/write permissons? Also please make changes accordingly in the permissions if required.

    Hope this helps you. Let us know if you have any further queries.

    Plugin Contributor kishanranawat

    (@kishanranawat)

    Adding to my previous reply,

    You can also check if permissions are set correctly or not on the uploads folder by uploading a file from the Media menu in the admin dashboard.

    You can read more about required file permissions and how to change them in the overall WordPress enviroment from here.

    I hope this helps you. Let us know if you have any further queries.

    Plugin Contributor kishanranawat

    (@kishanranawat)

    Hi Mohit,

    We have further investigated the issue and found that in one edge case this issue was still occurring though the right permissions have been set up on the uploads folder.

    We have released this fix in the latest version 4.7.1.

    Please update to the latest version and let us know how it goes.

    I am marking this ticket as resolved. Feel free to reopen the ticket, if the issue is still not resolved. Let us know if you have any further queries.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin activation issue’ is closed to new replies.