• Resolved Nikhil Umaretiya

    (@nikhilpatel68)


    Hi, when I try to delete a category, I get a 500 error. The debug.log shows a fatal error in your plugin

    PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function ACTLOGPRO_Events::capture_deleting_term(), 2 passed in wp-includes/class-wp-hook.php on line 341 and exactly 5 expected in plugins/activity-log-pro/includes/class-alp-events.php:2234
    Stack trace:
    /wp-includes/class-wp-hook.php(341): ACTLOGPRO_Events->capture_deleting_term()
    /wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
    /wp-includes/plugin.php(522): WP_Hook->do_action()


    /plugins/activity-log-pro/includes/class-alp-events.php on line 2234
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author dmac

    (@darrenmcentee)

    Hi Nikhil,
    Thanks for reporting this. Could you please let me know the exact steps to reproduce the problem?

    Specifically:
    Is the category a standard WP category or a Woo product category?
    Where are you deleting it from (Posts > Categories, Products > Categories, or elsewhere)?
    Can you reproduce it, does it happen every time or only in certain cases?

    Any additional details would be great. Thanks for taking the time to report it to me.
    Darren.

    @nikhilpatel68

    Plugin Author dmac

    (@darrenmcentee)

    Hi Nikhil,
    To follow up… I was able to reproduce the issue.
    A fix is now in place and fully tested for the upcoming v1.0.4 release.
    The issue was related to how the plugin handles category and tag deletion events.

    The update should be available shortly, but if you would like the early release to fix this for you, email me at: hello@ my-domain-name.

    Thanks again for bringing this to my attention. If you have any other questions or run into any other issues, please don’t hesitate to reach out to me.
    Best,
    Darren.

    Thread Starter Nikhil Umaretiya

    (@nikhilpatel68)

    Hi Darren,

    Thanks a lot for the update and for identifying the issue so quickly.
    Really appreciate you looking into this and preparing a fix for v1.0.4.

    I’ll keep an eye out for the release and update once it’s available.

    Thanks again for the prompt support.

    Best regards,
    Nikhil

    Plugin Author dmac

    (@darrenmcentee)

    Thanks Nikhil. If you like the plugin a rating would be super.

    Plugin Author dmac

    (@darrenmcentee)

    Updated to 1.0.4. @nikhilpatel68
    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.