• Resolved ddmmdit

    (@ddmmdit)


    error thrown when leaving review on the product page… here is the error

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function EWD_UWPM_New_Comment_On_Post(), 1 passed in /home1/xfile/public_html/wp-includes/class-wp-hook.php on line 288 and exactly 2 expected in /home1/xfile/public_html/wp-content/plugins/ultimate-wp-mail/Functions/EWD_UWPM_Send_On_Actions.php:122 Stack trace: #0 /home1/xfile/public_html/wp-includes/class-wp-hook.php(288): EWD_UWPM_New_Comment_On_Post(487) #1 /home1/xfile/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /home1/xfile/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #3 /home1/xfile/public_html/wp-includes/comment.php(2134): do_action(‘comment_post’, 487, 1, Array) #4 /home1/xfile/public_html/wp-includes/comment.php(3318): wp_new_comment(Array, true) #5 /home1/xfile/public_html/wp-comments-post.php(25): wp_handle_comment_submission(Array) #6 {main} thrown in /home1/xfile/public_html/wp-content/plugins/ultimate-wp-mail/Functions/EWD_UWPM_Send_On_Actions.php on line 122

    any solution… cos, when i disabled your plugin, the review works perfectly.
    thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    Hi @ddmmdit,

    What version of WordPress are you running?
    What version of the plugin are you running?
    What version of PHP are you running?

    Thread Starter ddmmdit

    (@ddmmdit)

    the latest version of wordpress
    Ultimate WP Mail Version 0.20
    php 7.3

    Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    What type of review is this, WooCommerce? Did this only start happening when you added a specific send event? The error would indicate an issue with trying to send a review reminder email. You mentioned in one of your many other threads that you’re trying to set up review reminders. If you remove those, does it work? If so, then try creating a new email and send event and seeing if it works then.

    Thread Starter ddmmdit

    (@ddmmdit)

    when i activate your plugin and a customer try to dropped a review on any product, that error showed up. but if i deactivate your plugin the buyers were able to dropped review on any product.
    hope this explain it
    thanks

    We are experiencing the same problem with the same WordPress configuration on both live and staging sites. We have a single send event configured for “Product Purchased”. However, this send event is not enabled as we are currently testing the plugin and yet “The site is experiencing technical difficulties” error is thrown when submitting a Woocommerce product review. With WP-DEBUG on we see the same fatal error as the original poster.

    We can reproduce the error with a default WordPress theme as well as turning off all other unrelated plugins. The problem occurs when we activate Ultimate WP Mail.

    If needs be, we can send you WordPress login credentials to help track down the problem.

    Cheers,

    Jason Jeffers

    Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    That still sounds like it isn’t set up correctly.

    Are you also on PHP >= 7? If so, try replacing the EWD_UWPM_Send_On_Actions.php file (found in the Functions folder of the plugin files) with the one here: https://www.etoilewebdesign.com/Screenshots/EWD_UWPM_Send_On_Actions.php

    Does that make a difference?

    Yes, we are running PHP 7.3.

    There has been no “set up” except for a single email which we have not sent. The only option we changed was not to send an unsubscribe link. On the dev site we have not even set up a “Send Event”. So there is not set up per se; a single option unchecked and a test email created.

    The link you sent is to a PHP file which of course returns an error. Can you send the file as a .zip or simply change the extension to .txt?

    Cheers,

    Jason

    Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    Just right click and choose Save Link As

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