• Resolved niveshk

    (@niveshk)


    After enabling this plugin my website becomes very slow and I find this in logs.

    NOTICE: PHP message: PHP Fatal error:  Uncaught InvalidArgumentException: Unidentified action 716245 in /var/www/html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:444
    Stack trace:
    #0 /var/www/html/wp-content/plugins/woocommerce/packages/action-scheduler/functions.php(120): ActionScheduler_DBStore->cancel_action(716245)
    #1 /var/www/html/wp-content/plugins/woocommerce-subscriptions/includes/admin/reports/class-wcs-report-cache-manager.php(169): as_unschedule_action('wcs_report_upda...', Array)
    #2 /var/www/html/wp-includes/class-wp-hook.php(303): WCS_Report_Cache_Manager->schedule_cache_updates('')
    #3 /var/www/html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #4 /var/www/html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #5 /var/www/html/wp-includes/load.php(1097): do_action('shutdown')
    #6 [internal function]: shutdown_action_hook()
    #7 {main}
      thrown in /var/www/html/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php on line 444
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author storepro

    (@storepro)

    Hi @niveshk

    I’m sorry to hear that you’re having slowness on the site.

    If possible, please run a conflict test by deactivating all plugins except for woocommerce , woocommerce subscriptions, and renewal reminder plugins. Consider switching the theme as well.

    Furthermore, make sure the plugins are in the latest version.

    Let us know ,if that helped

    Thanks
    Pranav

    Thread Starter niveshk

    (@niveshk)

    Hi Pranav,

    It is infact strange to me as you can see in the following image, the load on CPU substantially increased as soon as I enabled this plugin. You can also see that there are two peaks which occurred during plugin activation and deactivation respectively.

    CPU load

    Do you think there’s any CPU intensive task that is happening in this plugin?

    Regards,
    Nivesh

    Thread Starter niveshk

    (@niveshk)

    Maybe this line is causing the issue? As we are trying to run function everytime wp is loaded. Can you suggest a better approach here?

    add_action( 'wp_loaded', array($this, 'sprr_active_subscription_list') );

    I used this and it seems to be OK.

    add_action( 'renewal_reminders', array($this, 'sprr_active_subscription_list') );

    Plugin Author storepro

    (@storepro)

    Hi Nivesh,

    Thanks for sharing the details!

    We are looking into the issue and will keep you updated as soon as possible!

    Thanks

    Plugin Author storepro

    (@storepro)

    Hi @niveshk ,

    We have Optimized our plugin code on the latest version of plugin 1.0.4. Now the plugin will not use endless resources. If you are facing any issues please let us know.

    Thanks
    Sarun

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Website slowed down after enabling this plugin’ is closed to new replies.